CN112732506A - Server cabinet network card testing method, system, terminal and storage medium - Google Patents

Server cabinet network card testing method, system, terminal and storage medium Download PDF

Info

Publication number
CN112732506A
CN112732506A CN202110055291.4A CN202110055291A CN112732506A CN 112732506 A CN112732506 A CN 112732506A CN 202110055291 A CN202110055291 A CN 202110055291A CN 112732506 A CN112732506 A CN 112732506A
Authority
CN
China
Prior art keywords
network card
information
card information
chassis
material information
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.)
Withdrawn
Application number
CN202110055291.4A
Other languages
Chinese (zh)
Inventor
黄勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202110055291.4A priority Critical patent/CN112732506A/en
Publication of CN112732506A publication Critical patent/CN112732506A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2289Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by configuration test

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a method, a system, a terminal and a storage medium for testing a network card of a server case, comprising the following steps: capturing actual network card information identified by the nodes; matching the actual network card information with the node material information: if the actual network card information is matched with the node material information, continuing to perform assembly debugging; if the number of the network cards in the actual network card information is smaller than that in the node material information, outputting an error prompt; and if the number of the network cards in the actual network card information is larger than that in the node material information, acquiring the chassis material information to match the actual network card information. According to the invention, the network card actually identified by the nodes is subjected to matching test by utilizing the node material information and the chassis material information, so that manual judgment, debugging and testing are avoided, the automatic testing efficiency is improved, the damage to devices in the process of tool assembly and disassembly is avoided, and the product quality is improved.

Description

Server cabinet network card testing method, system, terminal and storage medium
Technical Field
The invention relates to the technical field of servers, in particular to a method, a system, a terminal and a storage medium for testing a network card of a server case.
Background
In the assembly production process of node servers such as I48, I9000 and the like, each node is equivalent to an independent server, a plurality of nodes are simultaneously installed on a chassis, and the nodes and the chassis respectively have respective BOM material information so as to facilitate the assembly operation of a production line. And after assembly, testing each node in the diagnostic test process, wherein the standard of configuration inspection test is subject to the BOM material information of the node. However, some customized configurations exist, the chassis and the nodes are both configured with components capable of acquiring information under the node system, for example, the chassis is configured with 1 Intel 82599 network card, the nodes are also configured with 1 82599 network card, the information of the 2 network cards can be captured under the node system through an eeupdate command, the configuration inspection test standard is node BOM information (1 network card), the problem of abnormal error reporting caused by mismatching of actual configuration and standard can occur during testing, at present, the testing is continued after manual checking and confirmation is required for the error reporting problem, and the implementation of a full-automatic process of production line diagnostic testing is not facilitated.
Disclosure of Invention
In view of the above-mentioned deficiencies of the prior art, the present invention provides a method, a system, a terminal and a storage medium for testing a network card of a server chassis, so as to solve the above-mentioned technical problems.
In a first aspect, the present invention provides a method for testing a network card of a server chassis, including:
capturing actual network card information identified by the nodes;
matching the actual network card information with the node material information:
if the actual network card information is matched with the node material information, continuing to perform assembly debugging;
if the number of the network cards in the actual network card information is smaller than that in the node material information, outputting an error prompt;
and if the number of the network cards in the actual network card information is larger than that in the node material information, acquiring the chassis material information to match the actual network card information.
Further, the information of the actual network card identified by the capture node includes:
capturing all network card information identified by the nodes by using a network card management tool;
and screening the network card names from all the network card information by utilizing a keyword search technology and generating the number of the actual network cards.
Further, gather quick-witted case material information and match actual network card information, include:
capturing chassis material information associated with the nodes from a database, and screening chassis network card information from the chassis material information;
judging whether the network card information which is more than the node material information in the actual network card information is matched with the chassis network card information:
if yes, judging that the network card test is passed;
if not, outputting an error prompt.
In a second aspect, the present invention provides a server chassis network card testing system, including:
the information capturing unit is used for capturing the actual network card information identified by the nodes;
the first-stage matching unit is configured to match the actual network card information with node material information;
the debugging continuing unit is configured to continue to execute assembly debugging if the actual network card information is matched with the node material information;
the error judgment unit is configured to output an error prompt if the number of the network cards in the actual network card information is less than that in the node material information;
and the second-stage matching unit is configured to acquire the chassis material information to match the actual network card information if the number of the network cards in the actual network card information is greater than that in the node material information.
Further, the information grasping unit includes:
the information capturing module is configured to capture all network card information identified by the nodes by using a network card management tool;
and the information processing module is configured for screening the network card names from all the network card information by utilizing a keyword search technology and generating the number of the actual network cards.
Further, the secondary matching unit includes:
the information screening module is configured to capture chassis material information associated with the nodes from a database and screen chassis network card information from the chassis material information;
the second-stage matching module is configured to judge whether network card information which is more than the node material information in the actual network card information is matched with the chassis network card information;
the pass-judging module is configured to judge that the network card test passes if the network card information which is more than the node material information in the actual network card information is matched with the chassis network card information;
and the prompt output module is configured to output an error prompt if the network card information which is more than the node material information in the actual network card information is not matched with the chassis network card information.
In a third aspect, a terminal is provided, including:
a processor, a memory, wherein,
the memory is used for storing a computer program which,
the processor is used for calling and running the computer program from the memory so as to make the terminal execute the method of the terminal.
In a fourth aspect, a computer storage medium is provided having stored therein instructions that, when executed on a computer, cause the computer to perform the method of the above aspects.
The beneficial effect of the invention is that,
according to the server case network card testing method, the server case network card testing system, the terminal and the storage medium, the network card actually identified by the nodes is subjected to matching test by utilizing the node material information and the case material information, so that manual judgment, debugging and testing are avoided, the automatic testing efficiency is improved, damage to devices in the process of tool assembly and disassembly is avoided, and the product quality is improved.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention.
FIG. 2 is another schematic flow diagram of a method of one embodiment of the invention.
FIG. 3 is a schematic block diagram of a system of one embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. 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.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention. The execution main body in fig. 1 may be a server chassis network card test system.
As shown in fig. 1, the method includes:
step 110, capturing actual network card information identified by the nodes;
step 120, matching the actual network card information with the node material information:
step 130, if the actual network card information is matched with the node material information, continuing to perform assembly debugging;
step 140, outputting an error prompt if the number of the network cards in the actual network card information is less than that in the node material information;
and 150, if the number of the network cards in the actual network card information is greater than that in the node material information, acquiring the chassis material information to match the actual network card information.
Specifically, as shown in fig. 2, the method for testing the network card of the server chassis includes:
and S1, the configuration checking start test program captures all network card information of the machine through an eeupdate command.
S2, comparing the captured network card information with the network card configuration information in the node BOM information, and judging whether the network card configuration information is consistent with the network card configuration information in the node BOM information:
(1) if the data are consistent, continuing debugging;
(2) if the standard is less than the standard, an error is reported;
(3) and if the current node is larger than the standard, further processing is carried out, the BOM information of the chassis order related to the current node is captured through a database command, then the part and quantity information with the key word as the NIC is selected, the information is added into the BOM information of the node through insert, and after the addition is finished, a diagnostic test is carried out from the beginning stage of configuration inspection.
As shown in fig. 3, the system 300 includes:
an information capture unit 310 configured to capture actual network card information identified by the node;
the first-stage matching unit 320 is configured to match the actual network card information with node material information;
a debugging continuing unit 330 configured to continue to perform assembly and debugging if the actual network card information is matched with the node material information;
an error determination unit 340 configured to output an error prompt if the number of network cards in the actual network card information is smaller than the number of network cards in the node material information;
and the second-stage matching unit 350 is configured to acquire the chassis material information to match the actual network card information if the number of the network cards in the actual network card information is greater than the number of the network cards in the node material information.
Optionally, as an embodiment of the present invention, the information capturing unit includes:
the information capturing module is configured to capture all network card information identified by the nodes by using a network card management tool;
and the information processing module is configured for screening the network card names from all the network card information by utilizing a keyword search technology and generating the number of the actual network cards.
Optionally, as an embodiment of the present invention, the secondary matching unit includes:
the information screening module is configured to capture chassis material information associated with the nodes from a database and screen chassis network card information from the chassis material information;
the second-stage matching module is configured to judge whether network card information which is more than the node material information in the actual network card information is matched with the chassis network card information;
the pass-judging module is configured to judge that the network card test passes if the network card information which is more than the node material information in the actual network card information is matched with the chassis network card information;
and the prompt output module is configured to output an error prompt if the network card information which is more than the node material information in the actual network card information is not matched with the chassis network card information.
Fig. 4 is a schematic structural diagram of a terminal 400 according to an embodiment of the present invention, where the terminal 400 may be used to execute the method for testing the network card of the server chassis according to the embodiment of the present invention.
Among them, the terminal 400 may include: a processor 410, a memory 420, and a communication unit 430. The components communicate via one or more buses, and those skilled in the art will appreciate that the architecture of the servers shown in the figures is not intended to be limiting, and may be a bus architecture, a star architecture, a combination of more or less components than those shown, or a different arrangement of components.
The memory 420 may be used for storing instructions executed by the processor 410, and the memory 420 may be implemented by any type of volatile or non-volatile storage terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The executable instructions in memory 420, when executed by processor 410, enable terminal 400 to perform some or all of the steps in the method embodiments described below.
The processor 410 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by operating or executing software programs and/or modules stored in the memory 420 and calling data stored in the memory. The processor may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, the processor 410 may include only a Central Processing Unit (CPU). In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
A communication unit 430, configured to establish a communication channel so that the storage terminal can communicate with other terminals. And receiving user data sent by other terminals or sending the user data to other terminals.
The present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and the program may include some or all of the steps in the embodiments provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Therefore, the network card actually identified by the nodes is subjected to matching test by using the node material information and the chassis material information, so that manual judgment, debugging and testing are avoided, the automatic testing efficiency is improved, damage to devices in the process of tool assembly and disassembly is avoided, and the product quality is improved.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of a software product, where the computer software product is stored in a storage medium, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like, and the storage medium can store program codes, and includes instructions for enabling a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, and the like) to perform all or part of the steps of the method in the embodiments of the present invention.
The same and similar parts in the various embodiments in this specification may be referred to each other. Especially, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the description in the method embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed 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 units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
Although the present invention has been described in detail by referring to the drawings in connection with the preferred embodiments, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions are within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A method for testing a network card of a server case is characterized by comprising the following steps:
capturing actual network card information identified by the nodes;
matching the actual network card information with the node material information:
if the actual network card information is matched with the node material information, continuing to perform assembly debugging;
if the number of the network cards in the actual network card information is smaller than that in the node material information, outputting an error prompt;
and if the number of the network cards in the actual network card information is larger than that in the node material information, acquiring the chassis material information to match the actual network card information.
2. The method of claim 1, wherein the capturing of the actual network card information identified by the node comprises:
capturing all network card information identified by the nodes by using a network card management tool;
and screening the network card names from all the network card information by utilizing a keyword search technology and generating the number of the actual network cards.
3. The method of claim 1, wherein the collecting chassis material information matches actual network card information, comprising:
capturing chassis material information associated with the nodes from a database, and screening chassis network card information from the chassis material information;
judging whether the network card information which is more than the node material information in the actual network card information is matched with the chassis network card information:
if yes, judging that the network card test is passed;
if not, outputting an error prompt.
4. A server case network card test system is characterized by comprising:
the information capturing unit is used for capturing the actual network card information identified by the nodes;
the first-stage matching unit is configured to match the actual network card information with node material information;
the debugging continuing unit is configured to continue to execute assembly debugging if the actual network card information is matched with the node material information;
the error judgment unit is configured to output an error prompt if the number of the network cards in the actual network card information is less than that in the node material information;
and the second-stage matching unit is configured to acquire the chassis material information to match the actual network card information if the number of the network cards in the actual network card information is greater than that in the node material information.
5. The system of claim 4, wherein the information crawling unit comprises:
the information capturing module is configured to capture all network card information identified by the nodes by using a network card management tool;
and the information processing module is configured for screening the network card names from all the network card information by utilizing a keyword search technology and generating the number of the actual network cards.
6. The system of claim 4, wherein the secondary matching unit comprises:
the information screening module is configured to capture chassis material information associated with the nodes from a database and screen chassis network card information from the chassis material information;
the second-stage matching module is configured to judge whether network card information which is more than the node material information in the actual network card information is matched with the chassis network card information;
the pass-judging module is configured to judge that the network card test passes if the network card information which is more than the node material information in the actual network card information is matched with the chassis network card information;
and the prompt output module is configured to output an error prompt if the network card information which is more than the node material information in the actual network card information is not matched with the chassis network card information.
7. A terminal, comprising:
a processor;
a memory for storing instructions for execution by the processor;
wherein the processor is configured to perform the method of any one of claims 1-3.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-3.
CN202110055291.4A 2021-01-15 2021-01-15 Server cabinet network card testing method, system, terminal and storage medium Withdrawn CN112732506A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110055291.4A CN112732506A (en) 2021-01-15 2021-01-15 Server cabinet network card testing method, system, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110055291.4A CN112732506A (en) 2021-01-15 2021-01-15 Server cabinet network card testing method, system, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN112732506A true CN112732506A (en) 2021-04-30

Family

ID=75591667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110055291.4A Withdrawn CN112732506A (en) 2021-01-15 2021-01-15 Server cabinet network card testing method, system, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112732506A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102087657A (en) * 2010-09-14 2011-06-08 中广核(北京)仿真技术有限公司 IO (Input/output) to point method and IO (Input/output) to point for nuclear power plant simulation platform
CN104268699A (en) * 2014-09-28 2015-01-07 浪潮(北京)电子信息产业有限公司 Method for automatic inspection of bill of material (BOM)
CN111371610A (en) * 2020-02-29 2020-07-03 苏州浪潮智能科技有限公司 Network card firmware batch refreshing method, system, terminal and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102087657A (en) * 2010-09-14 2011-06-08 中广核(北京)仿真技术有限公司 IO (Input/output) to point method and IO (Input/output) to point for nuclear power plant simulation platform
CN104268699A (en) * 2014-09-28 2015-01-07 浪潮(北京)电子信息产业有限公司 Method for automatic inspection of bill of material (BOM)
CN111371610A (en) * 2020-02-29 2020-07-03 苏州浪潮智能科技有限公司 Network card firmware batch refreshing method, system, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN110554938B (en) BIOS (basic input output System) testing method, system, terminal and storage medium based on script set
CN110557299A (en) network transmission function batch test method, system, terminal and storage medium
CN112433944A (en) Service testing method, device, computer equipment and storage medium
CN108376110A (en) A kind of automatic testing method, system and terminal device
CN109788052B (en) Server configuration remote query method, device, terminal and storage medium
CN111475106A (en) RAID customization creating method, system, terminal and storage medium
CN111176924B (en) GPU card dropping simulation method, system, terminal and storage medium
CN110543394A (en) server sensor information consistency testing method, system, terminal and storage medium
CN112003730A (en) Method, system, terminal and storage medium for rapid cluster deployment
CN112463469A (en) Server fault diagnosis method, system, terminal and storage medium
CN112115060A (en) Audio test method and system based on terminal
CN112214384A (en) Hard disk serial number management method, system, terminal and storage medium
CN109558300B (en) Whole cabinet alarm processing method and device, terminal and storage medium
CN111176878A (en) Server BBU (building base band Unit) standby power diagnosis method, system, terminal and storage medium
CN112732506A (en) Server cabinet network card testing method, system, terminal and storage medium
CN112231159B (en) Memory installation position testing method, system, terminal and storage medium
CN109920466B (en) Hard disk test data analysis method, device, terminal and storage medium
CN105740114B (en) Fault tolerance test method and device for mobile terminal
CN112463504B (en) Double-control storage product testing method, system, terminal and storage medium
CN114239296A (en) Data processing method and device and electronic equipment
CN114490238A (en) Method, system, terminal and storage medium for monitoring whole server diagnosis process
CN111752677B (en) Cloud resource configuration method, system, terminal and storage medium
CN113254332A (en) Multi-scenario testing method, system, terminal and storage medium for storage system
CN113448786A (en) PCIe equipment testing method, device, equipment and readable storage medium
CN111143138A (en) PCIe Bus fault positioning 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
WW01 Invention patent application withdrawn after publication

Application publication date: 20210430

WW01 Invention patent application withdrawn after publication