CN114816545B - 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 PDFInfo
- Publication number
- CN114816545B CN114816545B CN202210440109.1A CN202210440109A CN114816545B CN 114816545 B CN114816545 B CN 114816545B CN 202210440109 A CN202210440109 A CN 202210440109A CN 114816545 B CN114816545 B CN 114816545B
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000001914 filtration Methods 0.000 title claims abstract description 32
- 238000009434 installation Methods 0.000 claims abstract description 54
- 230000008569 process Effects 0.000 claims abstract description 10
- 230000004044 response Effects 0.000 claims abstract description 8
- 238000012795 verification Methods 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 7
- 238000004519 manufacturing process Methods 0.000 abstract description 7
- 241001290266 Sciaenops ocellatus Species 0.000 abstract description 4
- 238000012216 screening Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 3
- 230000014509 gene expression Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
Images
Classifications
-
- 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/4401—Bootstrapping
- G06F9/4411—Configuring for operating with peripheral devices; Loading of device drivers
-
- 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)
- 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: in response to BIOS updating or the first start-up after the BIOS burning, reading the DUID information in the BIOS starting process and judging whether the current DUID information is empty or not; judging the type of the current network card according to the PCI installation protocol and the equipment type protocol in response to the fact that the current DUID information is empty; responding to the current network card being 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 start of the IPV6PXE environment, and determining whether to install the IPV6PXE environment according to the MAC address of the current network card and the MAC address in the DUID. The invention uses the MAC addresses of the physical USB network card used by the production line by using the USB network card and the Redfish protocol as screening and filtering treatment, and only transmits the MAC address of the actual standard network card to the DUID and writes the DUID into the NVRAM area of the BIOS.
Description
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 it is a data center or a server manufacturing shop, the network environment PXE (Preboot eXecution Environment, pre-boot execution environment) installation system is often an essential important index, whether it is a manufacturing server link or a data center operation and maintenance link that takes a significant position, the PXE environment is further divided into two protocol modes, IPV6 (Internet Protocol Version, acronym for internet protocol 6) and IPV4 (Internet Protocol version, acronym for internet protocol 4), and if the IPV4 network environment of a USB (Universal Serial Bus ) network card used by a server manufacturing factory is installed and the data center of a client uses a confirmation IPV6PXE environment, it is caused that the client's IPV6 environment cannot install the PXE system, because when the server is manufactured, the MAC (Media Access Control Address, i.e. ethernet address or physical address) address of the USB network card is written into the DUID (i.e. DHCPv6 device unique identifier) and is permanently stored, resulting in that the DUID and the current MAC address do not match, and when the due network id of the other standard is not matched with the current MAC address of the network card, the network card is not required to be stored by the client when the network card is a network card 6, and only the network card is required to be stored by the current network card and the network card has a great service standard when the network card is required to be stored by the client.
Disclosure of Invention
Therefore, an objective 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, wherein the method, the system, the computer device and the computer readable storage medium are capable of filtering and discarding the MAC addresses of the physical USB network card used by the production line using the USB network card and the Redfish protocol, and transmitting the MAC addresses to the DUID without saving the NVRAM area, and only transmitting the MAC addresses of the actual standard network card to the DUID and writing the MAC addresses into the NVRAM area of the BIOS, so that the MAC addresses of the network card actually used by the client data center are permanently saved in the DUID without affecting the IPV6PXE environment installation, and are not limited by the platform architecture and applicable to any architecture server product.
Based on the above objects, an aspect of the embodiments of the present invention provides a method for filtering a non-standard network card DUID, including the following steps: in response to BIOS updating or the first start-up after the BIOS burning, reading the DUID information in the BIOS starting process and judging whether the current DUID information is empty or not; judging the type of the current network card according to the PCI installation protocol and the equipment type protocol in response to the fact that the current DUID information is empty; responding to the current network card being 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 start of the IPV6PXE environment, and determining whether to install the IPV6PXE environment 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 network card is a standard network card currently.
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 to successfully install, and continuing to install the equipment path protocol; responding to error information fed back by the equipment path protocol, and confirming that the network card is a standard network card at present; and responding to the feedback of the device path protocol to the correct device information, and confirming the current nonstandard network card.
In some embodiments, the determining whether to perform the PXE environment installation of 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 if the matching result is consistent, and discarding the PXE environment installation of the IPV6 if the matching result is inconsistent.
In another aspect of the embodiment 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 information of the DUID in the BIOS startup process and judge whether the current DUID information is empty or not; the protocol module is configured to respond to the fact that the current DUID information is empty, and judge the type of the current network card according to the PCI installation protocol and the equipment type protocol; the writing 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 start of the IPV6PXE environment and determine whether to install the IPV6PXE environment 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 network card is a standard network card currently.
In some embodiments, the protocol module is configured to: responding to the installation protocol feedback to successfully install, and continuing to install the equipment path protocol; responding to error information fed back by the equipment path protocol, and confirming that the network card is a standard network card at present; and responding to the feedback of the device path protocol to the correct device information, and confirming the current nonstandard network card.
In some embodiments, the mounting 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 if the matching result is consistent, and discarding the PXE environment installation of the IPV6 if the matching result is inconsistent.
In yet another aspect of the embodiment of the present invention, there is also provided a computer apparatus, including: at least one processor; and a memory storing computer instructions executable on the processor, which when executed by the processor, perform the steps of the method as above.
In yet another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium storing a computer program which, when executed by a processor, implements the method steps as described above.
The invention has the following beneficial technical effects: the MAC addresses of the physical USB network cards used by the production line through the USB network card and the Redfish protocol are subjected to screening and filtering processing and are abandoned to be transmitted to the DUID and are not saved in the NVRAM area, the MAC addresses of the actual standard network cards are only transmitted to the DUID and are written in the NVRAM area of the BIOS, the MAC addresses of the network cards actually used by the client data center are permanently saved in the DUID, the IPV6PXE environment installation is not affected, and the method is not limited by a platform architecture and can be applied to any architecture server product.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are necessary for the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention and that other embodiments may be obtained according to these drawings without inventive effort for a person skilled in the art.
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 schematic diagram of an embodiment of a system for filtering a non-standard network card DUID provided by the present invention;
fig. 3 is a schematic hardware structure diagram of an embodiment of a computer device for filtering a non-standard network card DUID according to the present invention;
fig. 4 is a schematic diagram of an embodiment of a computer storage medium for filtering a non-standard network card DUID according to 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 will be described in further detail with reference to the accompanying drawings.
It should be noted that, in the embodiments of the present invention, all the expressions "first" and "second" are used to distinguish two entities with the same name but different entities or different parameters, and it is noted that the "first" and "second" are only used for convenience of expression, and should not be construed as limiting the embodiments of the present invention, and the following embodiments are not described one by one.
In a first aspect of the embodiment 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 of an embodiment of a method for filtering a non-standard network card DUID according to the present invention. As shown in fig. 1, the embodiment of the present invention includes the following steps:
s1, responding to BIOS updating or first starting after the BIOS burning, reading the DUID information in the BIOS starting process and judging whether the current DUID information is empty or not;
s2, responding to the fact that the current DUID information is empty, and judging the type of the current network card according to the PCI installation protocol and the equipment type protocol;
s3, responding to the current network card as 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
and S4, responding to the start of the IPV6PXE environment, and determining whether to install the IPV6PXE environment according to the MAC address of the current network card and the MAC address in the DUID.
Because the BIOS (Basic Input Output System, basic input/output system) and BMC use the Redfish protocol to perform data interaction and communication, and the BMC is actually the physical USB network card used, this results in that the MAC address of the USB card is stored in the DUID and permanently stored in the NVRAM (Non-Volatile Random Access Memory, nonvolatile random access memory) area, so that the IPV6PXE environment of the client data center cannot install the system, the OCP (Open Compute Project Network, open computing item network) and PCI (Peripheral Component Interconnect, peripheral component interconnect standard) network cards are counted as standard network cards according to the classification of the network cards, the network cards of other USB interface types are all Non-standard network cards, the MAC addresses of the Non-standard network cards are filtered and are not permanently stored in the NVRAM area, only the standard network cards are stored in the NVRAM area when the DUID is produced, and meanwhile, the problem that the matching of the DUID and the MAC address is not required to be checked by the server production line using the IPV4 is solved by transmitting the actual standard MAC address to the DUID and permanently storing the NVRAM area.
And in response to the BIOS update or the first start-up after the BIOS is burnt, reading the DUID information in the BIOS starting process and judging whether the current DUID information is empty or not. The BIOS is updated or the BIOS is started for the first time after being burnt, the information of the DUID is read first in the BIOS starting process, whether the current DUID information is empty or not is judged, the current DUID information is empty in default, and the DUID exists if the current DUID information is restarted.
And judging the type of the current network card according to the PCI installation protocol and the equipment type protocol in response to the fact that the current DUID information is empty.
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 network card is a standard network card currently. And when the DUID information is empty, PCI protocol installation is carried out, judgment is carried out according to the feedback state value of the installation protocol, and when 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 to successfully install, and continuing to install the equipment path protocol; responding to error information fed back by the equipment path protocol, and confirming that the network card is a standard network card at present; and responding to the feedback of the device path protocol to the correct device information, and confirming the current nonstandard network card. If the feedback protocol is successfully installed, continuing to install the equipment path protocol, and if the equipment path protocol feeds back error information, confirming that the equipment is currently standard network card equipment; and when the feedback is correct equipment information, confirming that the network card is not the standard network card currently, and not writing the MAC address of the current network card equipment into the NVRAM area.
And responding to the current network card being 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 network card information 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 start of the IPV6PXE environment, and determining whether to install the IPV6PXE environment 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 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 if the matching result is consistent, and discarding the PXE environment installation of the IPV6 if the matching result is inconsistent. When the PXE is started and installed, if the MAC address of the current network card is consistent with the MAC address in the DUID information, the PXE environment installation is started; if the PXE environment installation is inconsistent, the PXE environment installation cannot be started.
In the embodiment of the invention, whether BIOS is updated for the first time or burned for the first time, if only the DUID is checked to be empty when the BIOS is started, the type of the currently acquired network card is judged according to the installation PCI protocol and the equipment type protocol, if the network card is a standard PCI network card, the MAC address of the network card is transferred 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 not transferred 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, the PXE environment of the IPV6 is installed, if the matching result is inconsistent, the PXE environment 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 and the reliability of the IPV6PXE environment of the client data center are ensured.
It should be noted that, in the embodiments of the method for filtering a non-standard network card DUID, the steps may be intersected, replaced, added and deleted, so that the method for filtering a non-standard network card DUID by using these reasonable permutation and combination changes should also belong to the protection scope of the present invention, and should not limit the protection scope of the present invention to the embodiments.
Based on the above object, a second aspect of the embodiment of the present invention proposes 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 information of the DUID in the BIOS startup process and judge whether the current DUID information is empty or not; the protocol module is configured to respond to the fact that the current DUID information is empty, and judge the type of the current network card according to the PCI installation protocol and the equipment type protocol; the writing 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 start of the IPV6PXE environment and determine whether to install the IPV6PXE environment 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 network card is a standard network card currently.
In some embodiments, the protocol module is configured to: responding to the installation protocol feedback to successfully install, and continuing to install the equipment path protocol; responding to error information fed back by the equipment path protocol, and confirming that the network card is a standard network card at present; and responding to the feedback of the device path protocol to the correct device information, and confirming the current nonstandard network card.
In some embodiments, the mounting 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 if the matching result is consistent, and discarding the PXE environment installation of the IPV6 if the matching result is 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 BIOS updating or first starting after the BIOS burning, reading the DUID information in the BIOS starting process and judging whether the current DUID information is empty or not; s2, responding to the fact that the current DUID information is empty, and judging the type of the current network card according to the PCI installation protocol and the equipment type protocol; s3, responding to the current network card as 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 start of the IPV6PXE environment, and determining whether to install the IPV6PXE environment 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 network card is a standard network card currently.
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 to successfully install, and continuing to install the equipment path protocol; responding to error information fed back by the equipment path protocol, and confirming that the network card is a standard network card at present; and responding to the feedback of the device path protocol to the correct device information, and confirming the current nonstandard network card.
In some embodiments, the determining whether to perform the PXE environment installation of 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 if the matching result is consistent, and discarding the PXE environment installation of the IPV6 if the matching result is inconsistent.
As shown in fig. 3, a schematic hardware structure of an embodiment of the computer device for filtering a non-standard network card DUID according to the present invention is shown.
Taking the example of the device shown in fig. 3, a processor 301 and a memory 302 are included in the device.
The processor 301 and the memory 302 may be connected by a bus or otherwise, for example in fig. 3.
The memory 302 is used as a non-volatile computer readable storage medium, and may be used to store a non-volatile software program, a non-volatile computer executable program, and a module, such as program instructions/modules corresponding to the method for filtering a non-standard network card DUID in the embodiments 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 non-volatile software programs, instructions and modules stored in the memory 302.
One or more computer instructions 303 corresponding to the method of filtering a non-standard network card DUID are stored in the memory 302, which when executed by the processor 301, perform the method of filtering a non-standard network card DUID in any of the method embodiments described above.
Any one embodiment of the computer device executing the method for filtering the non-standard network card DUID can achieve the same or similar effect as any one embodiment of the method corresponding to the embodiment.
The 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 according to the present invention. Taking a computer storage medium as shown in fig. 4 as an example, the computer readable storage medium 401 stores a computer program 402 that when executed by a processor performs the above method.
Finally, it should be noted that, as will be understood by those skilled in the art, implementing all or part of the above-mentioned embodiments of the method, the related hardware may be instructed by a computer program to implement the method for filtering the non-standard network card DUID, and the program of the method for filtering the non-standard network card DUID may be stored in a computer readable storage medium, where the program may include the steps of the embodiments of the methods described above when executed. 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 computer program embodiments described above may achieve the same or similar effects as any of the method embodiments described above.
The foregoing is an exemplary embodiment 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 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 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 foregoing embodiment of the present invention has been disclosed with reference to the number of embodiments for the purpose of description only, and does not represent the advantages or disadvantages 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 for instructing relevant hardware, and the program may be stored in a computer readable storage medium, where the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will appreciate that: the above discussion of any embodiment is merely exemplary and is not intended to imply that the scope of the disclosure of embodiments of the invention, including the claims, is limited to such examples; combinations of features of the above embodiments or in different embodiments are also possible within the idea of an embodiment of the invention, and many other variations of the different aspects of the embodiments of the invention as described above exist, which are not provided in detail for the sake of brevity. Therefore, any omission, modification, equivalent replacement, improvement, etc. of the embodiments should be included in the protection scope of the embodiments of the present invention.
Claims (6)
1. A method of filtering a non-standard network card DUID comprising the steps of:
in response to BIOS updating or the first start-up after the BIOS burning, reading the DUID information in the BIOS starting process and judging whether the current DUID information is empty or not;
judging the type of the current network card according to the PCI installation protocol and the equipment type protocol in response to the fact that the current DUID information is empty;
responding to the current network card being 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;
responding to the start of the IPV6PXE environment, and determining whether to install the IPV6PXE environment according to the MAC address of the current network card and the MAC address in the DUID;
the judging the type of the current network card according to the PCI installation protocol and the equipment type protocol comprises the following steps:
responding to the error information fed back by the installation protocol, and confirming that the current standard network card is the standard network card;
responding to the installation protocol feedback to successfully install, and continuing to install the equipment path protocol;
responding to error information fed back by the equipment path protocol, and confirming that the network card is a standard network card at present;
and responding to the feedback of the device path protocol to the correct device information, and confirming the current nonstandard network card.
2. The method of claim 1, wherein determining whether to perform the PXE environment installation of IPV6 based on 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 if the matching result is consistent, and discarding the PXE environment installation of the IPV6 if the matching result is inconsistent.
3. A system for filtering a non-standard network card DUID, comprising:
the reading module is configured to respond to the first startup after the BIOS is updated or the BIOS is burnt, read the information of the DUID in the BIOS startup process and judge whether the current DUID information is empty or not;
the protocol module is configured to respond to the fact that the current DUID information is empty, and judge the type of the current network card according to the PCI installation protocol and the equipment type protocol;
the writing 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;
the installation module is configured to respond to the start of the IPV6PXE environment and determine whether to install the IPV6PXE environment according to the MAC address of the current network card and the MAC address in the DUID;
the protocol module is configured to:
responding to the error information fed back by the installation protocol, and confirming that the current standard network card is the standard network card;
responding to the installation protocol feedback to successfully install, and continuing to install the equipment path protocol;
responding to error information fed back by the equipment path protocol, and confirming that the network card is a standard network card at present;
and responding to the feedback of the device path protocol to the correct device information, and confirming the current nonstandard network card.
4. A system according to claim 3, wherein the mounting 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 if the matching result is consistent, and discarding the PXE environment installation of the IPV6 if the matching result is inconsistent.
5. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, which when executed by the processor, perform the steps of the method of any one of claims 1-2.
6. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method of any one of claims 1-2.
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 CN114816545A (en) | 2022-07-29 |
CN114816545B true 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)
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 |
-
2022
- 2022-04-25 CN CN202210440109.1A patent/CN114816545B/en active Active
Patent Citations (4)
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 |
---|---|
CN114816545A (en) | 2022-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10002526B1 (en) | Internet-of-things systems and methods | |
US20180152341A1 (en) | Gateway device, firmware update method, and recording medium | |
CN103412812B (en) | Browser execution state monitoring method and device | |
CN111835571A (en) | Intelligent network card initialization method and device, computer equipment and storage medium | |
CN112818307B (en) | User operation processing method, system, equipment and computer readable storage medium | |
CN114003445B (en) | BMC I2C monitoring function test method, system, terminal and storage medium | |
CN116932010B (en) | System firmware upgrading method, device and server | |
US11431802B2 (en) | Method for data processing, system and computer readable storage medium | |
CN110764799A (en) | Method, equipment and medium for optimizing and remotely updating FPGA (field programmable Gate array) accelerator card | |
CN118051277A (en) | Method and device for starting server, storage medium and electronic equipment | |
CN114816545B (en) | Method, system, equipment and storage medium for filtering non-standard network card DUID | |
US20200342109A1 (en) | Baseboard management controller to convey data | |
CN109150587B (en) | Maintenance method and device | |
EP3805960A1 (en) | Methods and systems for identifying software product installation instances | |
CN106909382B (en) | Method and device for outputting different types of system starting information | |
CN110278123B (en) | Checking method, checking device, electronic equipment and readable storage medium | |
CN113900934B (en) | Multi-mirror hybrid refresh test method, system, terminal and storage medium | |
CN114115955B (en) | Method, system, terminal and storage medium for upgrading FPGA firmware of server resource box | |
CN105159810A (en) | Method and device for testing BIOS of computer system | |
CN113626792B (en) | PCIe Switch firmware secure execution method, device, terminal and storage medium | |
CN112688823B (en) | Blind-plugging network port binding adaptation method and device based on multiple network ports of wireless network equipment | |
CN110808972B (en) | Data stream identification method and device | |
CN114816857B (en) | Method, system, terminal and storage medium for forcing BIOS to recover out-of-field parameters | |
CN116028141B (en) | Tag data processing method and system and electronic equipment | |
CN113868128B (en) | Method and device for testing PXE (PCI express) guide function 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 |