CN114816545A - Method, system, equipment and storage medium for filtering non-standard network card DUID - Google Patents

Method, system, equipment and storage medium for filtering non-standard network card DUID Download PDF

Info

Publication number
CN114816545A
CN114816545A CN202210440109.1A CN202210440109A CN114816545A CN 114816545 A CN114816545 A CN 114816545A CN 202210440109 A CN202210440109 A CN 202210440109A CN 114816545 A CN114816545 A CN 114816545A
Authority
CN
China
Prior art keywords
network card
duid
protocol
mac address
current
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
Application number
CN202210440109.1A
Other languages
Chinese (zh)
Other versions
CN114816545B (en
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 CN202210440109.1A priority Critical patent/CN114816545B/en
Publication of CN114816545A publication Critical patent/CN114816545A/en
Application granted granted Critical
Publication of CN114816545B publication Critical patent/CN114816545B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides a method, a system, equipment and a storage medium for filtering a non-standard network card DUID, wherein the method comprises the following steps: responding to the BIOS updating or the first startup after the BIOS burning is finished, reading the DUID information in the BIOS starting process and judging whether the current DUID information is empty or not; responding to the fact that the current DUID information is empty, and judging the type of the current network card according to the installation PCI protocol and the equipment type protocol; responding to the condition that the current network card is a standard PCI network card, transmitting the MAC address of the current network card to the DUID and writing the MAC address into an NVRAM area of the BIOS for permanent storage; and responding to the starting of the IPV6PXE environment, and determining whether to install the PXE environment of the IPV6 according to the MAC address of the current network card and the MAC address in the DUID. The invention carries out screening and filtering treatment on the MAC addresses of the physical USB network card used by the production line by using the USB network card and the Redfish protocol, and only transmits the DUID to the MAC address of the actual standard network card and writes the DUID into the NVRAM area of the BIOS.

Description

Method, system, equipment and storage medium for filtering non-standard network card DUID
Technical Field
The present invention relates to the field of data centers, and more particularly, to a method, system, device, and storage medium for filtering a non-standard network card DUID.
Background
Whether the data center or the server production plant is provided, a network Environment PXE (Preboot eXecution Environment) installation system is often an essential important index, whether a production server link or a data center operation and maintenance link occupies a position of great weight, the PXE Environment is further divided into two Protocol modes of IPV6(Internet Protocol Version 6, abbreviation of Internet Protocol Version 6) and IPV4(Internet Protocol Version 4, abbreviation of Internet Protocol Version 4), if the IPV4 network Environment of a USB (Universal Serial Bus) network card used by the server production plant is installed and the confirmation IPV6PXE Environment used by the data center of the client is installed, the IPV6 Environment of the client cannot install the mede system, because the MAC (MAC Address of the USB network card, namely ethernet Address or physical Address) is written into the unique PXE Address or physical Address of the unique cpid (dhv identifier) during the production of the server, and the other cpid is stored and replaced, namely, the unique cpid is saved and the dhv 6 is stored The problem occurs when the DUID is not matched with the MAC address of the current network card after the standard network card is used, but the PXE network environment of the IPV4 does not need matching verification of the DUID information and the MAC address of the current network card, the USB network card belongs to a non-standard network card, and meanwhile, the USB network card can be used only when a production line production server is used, so that the problem how to realize the DUID storage of the current network card and support the IPV6PXE environment of a client data center is great.
Disclosure of Invention
In view of this, an object of the embodiments of the present invention is to provide a method, a system, a computer device, and a computer readable storage medium for filtering a non-standard network card DUID, where MAC addresses of a physical USB network card used by a production line using a USB network card and a Redfish protocol are both filtered and discarded to be transferred to the DUID without storing an NVRAM area, and only the MAC address of the actual standard network card is transferred to the DUID and written into the NVRAM area of the BIOS, and the MAC address of the network card actually used by a client data center is permanently stored in the DUID without affecting IPV6PXE environment installation, and is not limited by a platform architecture, and can be applied to any architecture server product.
Based on the above purpose, an aspect of the embodiments of the present invention provides a method for filtering a non-standard network card DUID, including the following steps: responding to the BIOS updating or the first startup after the BIOS burning is finished, reading the DUID information in the BIOS starting process and judging whether the current DUID information is empty or not; responding to the fact that the current DUID information is empty, and judging the type of the current network card according to the installation PCI protocol and the equipment type protocol; responding to the condition that the current network card is a standard PCI network card, transmitting the MAC address of the current network card to the DUID and writing the MAC address into an NVRAM area of the BIOS for permanent storage; and responding to the starting of the IPV6PXE environment, and determining whether to install the PXE environment of the IPV6 according to the MAC address of the current network card and the MAC address in the DUID.
In some embodiments, the determining the type of the current network card according to the installed PCI protocol and the device type protocol includes: and responding to the error information fed back by the installation protocol, and confirming that the current network card is the standard network card.
In some embodiments, the determining the type of the current network card according to the installed PCI protocol and the device type protocol includes: responding to the installation protocol feedback and successfully installing, and continuing to install the equipment path protocol; responding to the error information fed back by the equipment path protocol, and determining that the equipment path protocol is the standard network card currently; and in response to the device path protocol feedback being correct device information, confirming that the current non-standard network card is.
In some embodiments, the determining whether to perform the PXE environment installation of the IPV6 according to the MAC address of the current network card and the MAC address in the DUID includes: and performing address matching verification on the MAC address of the current network card and the MAC address in the DUID, performing PXE environment installation of the IPV6 in response to the matching result being consistent, and abandoning the PXE environment installation of the IPV6 in response to the matching result being inconsistent.
In another aspect of the embodiments of the present invention, a system for filtering a non-standard network card DUID is provided, including: the reading module is configured to respond to the first startup after the BIOS is updated or the BIOS is burnt, read the DUID information in the BIOS starting process and judge whether the current DUID information is empty; the protocol module is configured to respond that the current DUID information is empty and judge the type of the current network card according to the installation PCI protocol and the equipment type protocol; the write-in module is configured to respond to the fact that the current network card is a standard PCI network card, transmit the MAC address of the current network card to the DUID and write the MAC address into an NVRAM area of the BIOS for permanent storage; and the installation module is configured to respond to the starting of the IPV6PXE environment and determine whether to install the PXE environment of the IPV6 according to the MAC address of the current network card and the MAC address in the DUID.
In some embodiments, the protocol module is configured to: and responding to error information fed back by the installation protocol, and confirming that the current network card is the standard network card.
In some embodiments, the protocol module is configured to: responding to the installation protocol feedback and successfully installing, and continuing to install the equipment path protocol; responding to the error information fed back by the equipment path protocol, and determining that the equipment path protocol is the standard network card currently; and in response to the device path protocol feedback being correct device information, confirming that the current non-standard network card is.
In some embodiments, the installation module is configured to: and performing address matching verification on the MAC address of the current network card and the MAC address in the DUID, performing PXE environment installation of the IPV6 in response to the matching result being consistent, and abandoning the PXE environment installation of the IPV6 in response to the matching result being inconsistent.
In another aspect of the embodiments of the present invention, there is also provided a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method as above.
In a further aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, in which a computer program for implementing the above method steps is stored when the computer program is executed by a processor.
The invention has the following beneficial technical effects: the MAC addresses of the physical USB network cards used by the production line by using the USB network card and the Redfish protocol are screened and filtered, the MAC addresses are abandoned and transmitted to the DUID and are not stored in an NVRAM area, only the MAC addresses of the actual standard network cards are transmitted to the DUID and are written into the NVRAM area of the BIOS, the MAC addresses of the network cards actually used by the client data center are permanently stored in the DUID, the IPV6PXE environment installation is not influenced, and the method is not limited by a platform architecture and can be applied to any architecture server products.
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, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
FIG. 1 is a schematic diagram of an embodiment of a method for filtering a non-standard network card DUID according to the present invention;
FIG. 2 is a diagram illustrating an embodiment of a system for filtering a DUID of a non-standard network card according to the present invention;
FIG. 3 is a schematic diagram of a hardware structure of an embodiment of a computer device for filtering a DUID of a non-standard network card provided in the present invention;
FIG. 4 is a diagram of an embodiment of a computer storage medium for filtering non-standard network card DUIDs provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
In a first aspect of the embodiments of the present invention, an embodiment of a method for filtering a non-standard network card DUID is provided. Fig. 1 is a schematic diagram illustrating an embodiment of a method for filtering a non-standard network card DUID provided by the present invention. As shown in fig. 1, the embodiment of the present invention includes the following steps:
s1, responding to the first startup after BIOS updating or BIOS burning, reading DUID information in the BIOS starting process and judging whether the current DUID information is empty;
s2, responding to the fact that the current DUID information is empty, and judging the type of the current network card according to the installation PCI protocol and the equipment type protocol;
s3, responding to the fact that the current network card is a standard PCI network card, transmitting the MAC address of the current network card to the DUID and writing the MAC address into the NVRAM area of the BIOS for permanent storage; and
s4, responding to the starting of the IPV6PXE environment, and determining whether to install the PXE environment of the IPV6 or not according to the MAC address of the current network card and the MAC address in the DUID.
Because the BIOS (Basic Input Output System) and the BMC use the Redfish protocol to perform data interaction and communication and actually use the physical USB Network card, the MAC address of the USB card is stored in the dud and permanently stored in the NVRAM (Non-Volatile Random Access Memory) area, so that the System cannot be installed in the IPV6PXE environment of the client data center, the OCP (Open computer Project Network) and PCI (Peripheral Component Interconnect) Network cards are counted as standard Network cards for the classification of the Network cards, the Network cards of other USB interface types are all Non-standard, the MAC addresses of the Non-standard Network cards are filtered and not permanently stored in the area, only the standard Network cards are stored in the area when the DUID is produced, and meanwhile, considering that the NVRAM server using the pxv 4 does not need to check the MAC address of the NVRAM Network card and the MAC address of the production line, therefore, the actual IPV6PXE installation problem of the client data center can be solved by transmitting the actual standard network card MAC address to the DUID and performing NVRAM area permanent storage.
And responding to the BIOS updating or the first startup after the BIOS burning is finished, reading the DUID information in the BIOS starting process and judging whether the current DUID information is empty or not. The BIOS is started for the first time after updating or burning of the BIOS is finished, the information of the DUID is read firstly in the BIOS starting process, whether the current DUID information is empty or not is judged, the current DUID information is empty under the default condition, and the DUID exists if the current DUID information is restarted.
And responding to the fact that the current DUID information is empty, and judging the type of the current network card according to the installation PCI protocol and the equipment type protocol.
In some embodiments, the determining the type of the current network card according to the installed PCI protocol and the device type protocol includes: and responding to the error information fed back by the installation protocol, and confirming that the current network card is the standard network card. And when the DUID information is empty, the PCI protocol is installed and judged according to the feedback state value of the installation protocol, and when the error information is fed back, the current standard network card is confirmed.
In some embodiments, the determining the type of the current network card according to the installed PCI protocol and the device type protocol includes: responding to the installation protocol feedback and successfully installing, and continuing to install the equipment path protocol; responding to the error information fed back by the equipment path protocol, and determining that the equipment path protocol is the standard network card currently; and in response to the device path protocol feedback being correct device information, confirming that the current non-standard network card is. When the feedback protocol is successfully installed, continuously installing the equipment path protocol, and if the equipment path protocol feeds back error information, determining that the equipment path protocol is the standard network card equipment currently; and when the feedback is correct equipment information, determining that the current network card is a non-standard network card, and not writing the MAC address of the current network card equipment into an NVRAM area.
And responding to the condition that the current network card is a standard PCI network card, transmitting the MAC address of the current network card to the DUID and writing the MAC address into an NVRAM area of the BIOS for permanent storage. And after confirming that the information of the network card is marked according to the feedback result, writing the MAC address of the current network card into the DUID and storing the MAC address in an NVRAM area of the BIOS. When the existence of the DUID is confirmed, the DUID is written into the NVRAM area of the BIOS and permanently saved.
And responding to the starting of the IPV6PXE environment, and determining whether to install the PXE environment of the IPV6 according to the MAC address of the current network card and the MAC address in the DUID.
In some embodiments, the determining whether to perform the PXE environment installation of the IPV6 according to the MAC address of the current network card and the MAC address in the DUID includes: and performing address matching verification on the MAC address of the current network card and the MAC address in the DUID, performing PXE environment installation of the IPV6 in response to the matching result being consistent, and abandoning the PXE environment installation of the IPV6 in response to the matching result being inconsistent. When a PXE starting installation system is carried out, if the MAC address of the current network card is consistent with the MAC address in the DUID information, the PXE environment is started to be installed; if not, the installation of the PXE environment cannot be started.
In the embodiment of the invention, whether BIOS is updated for the first time or burnt for the first time, the type of the current acquired network card can be judged according to the installation PCI protocol and the equipment type protocol as long as the DUID is checked to be empty when the BIOS is started, if the network card is a standard PCI network card, the MAC address of the network card is transmitted to the DUID and written into an NVRAM area of the BIOS for permanent storage, and if the network card is a non-standard network card, the MAC address of the current network card is abandoned and is not transmitted to the DUID; when the IPV6PXE environment is started, address matching verification is carried out according to the MAC address of the current network card and the MAC address in the DUID, if the matching result is consistent, PXE environment installation of the IPV6 is carried out, if the matching result is inconsistent, PXE environment installation of the IPV6 is abandoned, and the MAC address of the USB network card can be screened and filtered through the method, so that the safety reliability of the IPV6PXE environment of a client data center is guaranteed.
It should be particularly noted that, the steps in the embodiments of the method for filtering the non-standard network card DUID described above may be mutually intersected, replaced, added, or deleted, and therefore, these methods for filtering the non-standard network card DUID that are reasonably changed by permutation and combination also belong to the scope of the present invention, and the scope of the present invention should not be limited to the embodiments.
In view of the above, a second aspect of the embodiments of the present invention provides a system for filtering a non-standard network card DUID. As shown in fig. 2, the system 200 includes the following modules: the reading module is configured to respond to the first startup after the BIOS is updated or the BIOS is burnt, read the DUID information in the BIOS starting process and judge whether the current DUID information is empty; the protocol module is configured to respond that the current DUID information is empty and judge the type of the current network card according to the installation PCI protocol and the equipment type protocol; the write-in module is configured to respond to the fact that the current network card is a standard PCI network card, transmit the MAC address of the current network card to the DUID and write the MAC address into an NVRAM area of the BIOS for permanent storage; and the installation module is configured to respond to the starting of the IPV6PXE environment and determine whether to install the PXE environment of the IPV6 according to the MAC address of the current network card and the MAC address in the DUID.
In some embodiments, the protocol module is configured to: and responding to the error information fed back by the installation protocol, and confirming that the current network card is the standard network card.
In some embodiments, the protocol module is configured to: responding to the installation protocol feedback and successfully installing, and continuing to install the equipment path protocol; responding to the error information fed back by the equipment path protocol, and determining that the equipment path protocol is the standard network card currently; and in response to the device path protocol feedback being correct device information, confirming that the current non-standard network card is.
In some embodiments, the installation module is configured to: and performing address matching verification on the MAC address of the current network card and the MAC address in the DUID, performing PXE environment installation of the IPV6 in response to the matching result being consistent, and abandoning the PXE environment installation of the IPV6 in response to the matching result being inconsistent.
In view of the above object, a third aspect of the embodiments of the present invention provides a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions being executable by the processor to perform the steps of: s1, responding to the first startup after BIOS updating or BIOS burning, reading DUID information in the BIOS starting process and judging whether the current DUID information is empty; s2, responding to the fact that the current DUID information is empty, and judging the type of the current network card according to the installation PCI protocol and the equipment type protocol; s3, responding to the fact that the current network card is a standard PCI network card, transmitting the MAC address of the current network card to the DUID and writing the MAC address into an NVRAM area of the BIOS for permanent storage; and S4, responding to the starting of the IPV6PXE environment, and determining whether to install the PXE environment of the IPV6 or not according to the MAC address of the current network card and the MAC address in the DUID.
In some embodiments, the determining the type of the current network card according to the installed PCI protocol and the device type protocol includes: and responding to the error information fed back by the installation protocol, and confirming that the current network card is the standard network card.
In some embodiments, the determining the type of the current network card according to the installed PCI protocol and the device type protocol includes: responding to the installation protocol feedback and successfully installing, and continuously installing the equipment path protocol; responding to the error information fed back by the equipment path protocol, and determining that the equipment path protocol is the standard network card currently; and in response to the device path protocol feedback being correct device information, confirming that the current non-standard network card is.
In some embodiments, the determining whether to perform the PXE environment installation of the IPV6 according to the MAC address of the current network card and the MAC address in the DUID includes: and performing address matching verification on the MAC address of the current network card and the MAC address in the DUID, performing PXE environment installation of the IPV6 in response to the matching result being consistent, and abandoning the PXE environment installation of the IPV6 in response to the matching result being inconsistent.
Fig. 3 is a schematic diagram of a hardware structure of an embodiment of the computer device for filtering the non-standard network card DUID provided in the present invention.
Taking the device shown in fig. 3 as an example, the device includes a processor 301 and a memory 302.
The processor 301 and the memory 302 may be connected by a bus or other means, such as the bus connection in fig. 3.
The memory 302 is a non-volatile computer-readable storage medium, and can be used for storing non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the method for filtering the non-standard network card DUID in the embodiment of the present application. The processor 301 executes various functional applications of the server and data processing, i.e., implements a method of filtering the non-standard network card DUID, by running the non-volatile software programs, instructions, and modules stored in the memory 302.
The memory 302 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the method of filtering the non-standard network card DUID, or the like. Further, the memory 302 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 302 optionally includes memory located remotely from processor 301, which may be connected to a local module via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Computer instructions 303 corresponding to one or more methods of filtering non-standard network card DUIDs are stored in memory 302 and, when executed by processor 301, perform the method of filtering non-standard network card DUIDs in any of the above-described method embodiments.
Any embodiment of a computer device implementing the method for filtering non-standard network card DUIDs described above may achieve the same or similar effects as any of the preceding method embodiments corresponding thereto.
The present invention also provides a computer readable storage medium storing a computer program which, when executed by a processor, performs a method of filtering a non-standard network card DUID.
Fig. 4 is a schematic diagram of an embodiment of the computer storage medium for filtering the non-standard network card DUID provided by the present invention. Taking the computer storage medium as shown in fig. 4 as an example, the computer readable storage medium 401 stores a computer program 402 which, when executed by a processor, performs the method as described above.
Finally, it should be noted that, as one of ordinary skill in the art can appreciate that all or part of the processes of the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the program of the method for filtering the non-standard network card DUID can be stored in a computer readable storage medium, and when executed, the program can include the processes of the embodiments of the methods described above. The storage medium of the program may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
The foregoing are exemplary embodiments of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (10)

1. A method for filtering non-standard network card DUIDs is characterized by comprising the following steps:
responding to the BIOS updating or the first startup after the BIOS burning is finished, reading the DUID information in the BIOS starting process and judging whether the current DUID information is empty or not;
responding to the fact that the current DUID information is empty, and judging the type of the current network card according to the installation PCI protocol and the equipment type protocol;
responding to the condition that the current network card is a standard PCI network card, transmitting the MAC address of the current network card to the DUID and writing the MAC address into an NVRAM area of the BIOS for permanent storage;
and responding to the starting of the IPV6PXE environment, and determining whether to install the PXE environment of the IPV6 according to the MAC address of the current network card and the MAC address in the DUID.
2. The method of claim 1, wherein the determining the type of the current network card according to the installed PCI protocol and the device type protocol comprises:
and responding to the error information fed back by the installation protocol, and confirming that the current network card is the standard network card.
3. The method of claim 2, wherein the determining the type of the current network card according to the installed PCI protocol and the device type protocol comprises:
responding to the installation protocol feedback and successfully installing, and continuing to install the equipment path protocol;
responding to the error information fed back by the equipment path protocol, and determining that the equipment path protocol is the standard network card currently;
and in response to the device path protocol feedback being correct device information, confirming that the current non-standard network card is.
4. The method of claim 1, wherein determining whether to perform a PXE environment installation of IPV6 according to the MAC address of the current network card and the MAC address in the DUID comprises:
and performing address matching verification on the MAC address of the current network card and the MAC address in the DUID, performing PXE environment installation of the IPV6 in response to the matching result being consistent, and abandoning the PXE environment installation of the IPV6 in response to the matching result being inconsistent.
5. A system for filtering non-standard network card DUIDs, comprising:
the reading module is configured to respond to the first startup after the BIOS is updated or the BIOS is burnt, read the DUID information in the BIOS starting process and judge whether the current DUID information is empty;
the protocol module is configured to respond that the current DUID information is empty and judge the type of the current network card according to the installation PCI protocol and the equipment type protocol;
the write-in module is configured to respond to the fact that the current network card is a standard PCI network card, transmit the MAC address of the current network card to the DUID and write the MAC address into an NVRAM area of the BIOS for permanent storage;
and the installation module is configured to respond to the starting of the IPV6PXE environment and determine whether to install the PXE environment of the IPV6 according to the MAC address of the current network card and the MAC address in the DUID.
6. The system of claim 5, wherein the protocol module is configured to:
and responding to the error information fed back by the installation protocol, and confirming that the current network card is the standard network card.
7. The system of claim 6, wherein the protocol module is configured to:
responding to the installation protocol feedback and successfully installing, and continuing to install the equipment path protocol;
responding to the error information fed back by the equipment path protocol, and determining that the equipment path protocol is the standard network card currently;
and in response to the device path protocol feedback being correct device information, confirming that the current non-standard network card is.
8. The system of claim 5, wherein the installation module is configured to:
and performing address matching verification on the MAC address of the current network card and the MAC address in the DUID, performing PXE environment installation of the IPV6 in response to the matching result being consistent, and abandoning the PXE environment installation of the IPV6 in response to the matching result being inconsistent.
9. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method of any one of claims 1 to 4.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN202210440109.1A 2022-04-25 2022-04-25 Method, system, equipment and storage medium for filtering non-standard network card DUID Active CN114816545B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210440109.1A CN114816545B (en) 2022-04-25 2022-04-25 Method, system, equipment and storage medium for filtering non-standard network card DUID

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210440109.1A CN114816545B (en) 2022-04-25 2022-04-25 Method, system, equipment and storage medium for filtering non-standard network card DUID

Publications (2)

Publication Number Publication Date
CN114816545A true CN114816545A (en) 2022-07-29
CN114816545B CN114816545B (en) 2023-07-14

Family

ID=82507146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210440109.1A Active CN114816545B (en) 2022-04-25 2022-04-25 Method, system, equipment and storage medium for filtering non-standard network card DUID

Country Status (1)

Country Link
CN (1) CN114816545B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533096A (en) * 2013-10-09 2014-01-22 杭州华三通信技术有限公司 Binding method and device of network card interface
CN105812190A (en) * 2016-04-29 2016-07-27 中国人民解放军国防科学技术大学 Network address management method of Feiteng server blade system
CN106850875A (en) * 2017-02-15 2017-06-13 湖南长城银河科技有限公司 A kind of MAC Address of Network Card method for burn-recording and device based on platform of soaring
CN107770299A (en) * 2017-10-24 2018-03-06 郑州云海信息技术有限公司 A kind of MAC Address writes with a brush dipped in Chinese ink method, system, device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533096A (en) * 2013-10-09 2014-01-22 杭州华三通信技术有限公司 Binding method and device of network card interface
CN105812190A (en) * 2016-04-29 2016-07-27 中国人民解放军国防科学技术大学 Network address management method of Feiteng server blade system
CN106850875A (en) * 2017-02-15 2017-06-13 湖南长城银河科技有限公司 A kind of MAC Address of Network Card method for burn-recording and device based on platform of soaring
CN107770299A (en) * 2017-10-24 2018-03-06 郑州云海信息技术有限公司 A kind of MAC Address writes with a brush dipped in Chinese ink method, system, device and storage medium

Also Published As

Publication number Publication date
CN114816545B (en) 2023-07-14

Similar Documents

Publication Publication Date Title
US10735260B2 (en) Gateway device, firmware update method, and recording medium
US10002526B1 (en) Internet-of-things systems and methods
CN109683997B (en) Method for accessing application program interface through sandbox, sandbox and sandbox equipment
CN110719199A (en) Network automatic test and fault positioning method and device
CN116204438A (en) Test case generation method, automatic test method and related device
CN113626276B (en) Method, system, terminal and storage medium for identifying type of server HBA card
CN109150587B (en) Maintenance method and device
CN110764799A (en) Method, equipment and medium for optimizing and remotely updating FPGA (field programmable Gate array) accelerator card
EP3805960A1 (en) Methods and systems for identifying software product installation instances
CN114816545A (en) Method, system, equipment and storage medium for filtering non-standard network card DUID
CN107908418B (en) Method for upgrading logic program of fiber channel node card and fiber channel bus equipment
CN115357513B (en) Program ambiguity test method, device, equipment and storage medium
CN112688823B (en) Blind-plugging network port binding adaptation method and device based on multiple network ports of wireless network equipment
CN105159810A (en) Method and device for testing BIOS of computer system
CN114285668A (en) Network gate testing method and device, storage medium and electronic equipment
CN113448836A (en) Software interface testing method and device, electronic equipment and storage medium
CN116028141B (en) Tag data processing method and system and electronic equipment
US11593482B2 (en) Systems and methods for automating detection and mitigation of an operating system rootkit
CN114490217B (en) Fault testing method, device and equipment for ME and BIOS interaction and readable medium
CN113076273B (en) Component access method, device, electronic equipment, storage medium and program product
CN113595794B (en) Network equipment alarm information optimization method, device, equipment and storage medium
CN113900934B (en) Multi-mirror hybrid refresh test method, system, terminal and storage medium
CN113868128B (en) Method and device for testing PXE (PCI express) guide function and storage medium
CN108923955B (en) Interface configuration method and service card
CN116932055A (en) Configuration information acquisition method, device, equipment and vehicle

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