CN111399942A - Network card configuration method, network card configuration device, network card configuration equipment and storage medium - Google Patents

Network card configuration method, network card configuration device, network card configuration equipment and storage medium Download PDF

Info

Publication number
CN111399942A
CN111399942A CN202010172447.2A CN202010172447A CN111399942A CN 111399942 A CN111399942 A CN 111399942A CN 202010172447 A CN202010172447 A CN 202010172447A CN 111399942 A CN111399942 A CN 111399942A
Authority
CN
China
Prior art keywords
network card
software
configuration
bios
application scene
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
CN202010172447.2A
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 CN202010172447.2A priority Critical patent/CN111399942A/en
Publication of CN111399942A publication Critical patent/CN111399942A/en
Withdrawn legal-status Critical Current

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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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/4416Network booting; Remote initial program loading [RIPL]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a network card configuration method, which is characterized in that a plurality of network card software with different configurations are solidified in a BIOS file in advance, so that network card application scene setting is received, corresponding network card software is loaded according to the network card application scene setting, the compatibility of various network card application scenes through one version of the BIOS file is realized, the perfect matching with different application scenes is facilitated, the maintainability of a data center machine room server version is improved, the diversity of the network card application scenes is optimized, the maintainability of a server can be effectively improved, and the user satisfaction and the product competitiveness can be improved. The invention also discloses a network card configuration device, network card configuration equipment and a storage medium, which have the beneficial effects.

Description

Network card configuration method, network card configuration device, network card configuration equipment and storage medium
Technical Field
The present invention relates to the technical field of servers, and in particular, to a network card configuration method, a network card configuration device, and a storage medium.
Background
With the advent of big data, cloud computing and artificial intelligence era, the internet business volume is drastically increased, and the computing volume and the computing frequency are increased; with the increase of the traffic, in the server system, the data transmission and the server management are very important, and the network card is one of the key links of the data transmission and the server management, and plays a critical role. In a large-scale data center machine room, the centralized and unified filling of the system is also realized through a network card.
In a server system developed and designed based on an X86 architecture of an Intel platform, a network controller is integrated into a chipset to support the transmission of network data. The network card itself includes two layers in the ethernet model, a physical layer and a data link layer, a chip of the physical layer is called a PHY chip, and a chip of the data link layer is called a MAC controller. For the new Intel platform, the MAC controller is integrated in the chip set, so that the network card can be formed by only matching one PHY chip, and the network card is called as a PHY card for bearing the PHY chip. The operation of the network card needs the support of software, and the MAC controller loads the software to process data during the operation process, so that the software of the PHY card is integrated with the MAC controller, that is, in the chipset, and for the server, the software is packaged in the firmware BIOS.
Based on the structure, different application scenes have different requirements on the software configuration of the network card, for example, different users have different requirements on the switching of the NCSI function in different scenes, and correspondingly, the different applications correspond to different software and further correspond to different firmware BIOS. In order to facilitate maintenance work of the whole data center, only one version of BIOS is often selected, and updating of the BIOS has a great influence on business of a client, but the problem cannot be solved through the one version of BIOS in the different application scenarios.
Disclosure of Invention
The invention aims to provide a network card configuration method, a network card configuration device, network card configuration equipment and a storage medium, which realize perfect matching with different application scenes by optimizing network card compatible configuration and simultaneously improve the maintainability of server versions of a data center machine room.
To solve the above technical problem, the present invention provides a network card configuration method, including:
a plurality of network card software with different configurations are solidified in a BIOS file in advance;
receiving network card application scene setting;
and loading corresponding network card software according to the network card application scene.
Optionally, the network card software specifically includes a first network card software and a second network card software;
the first network card software is network card software with an NCSI function being started, and the second network card software is network card software with the NCSI function being closed.
Optionally, the receiving of the network card application scene setting specifically includes:
and receiving the network card application scene setting selected by the user on the BIOS configuration interface.
Optionally, the loading of the corresponding network card software according to the network card application scenario is specifically:
and calling a preset software configuration script, and loading corresponding network card software according to the network card application scene setting.
Optionally, the step of obtaining a preset software configuration script and loading corresponding network card software according to the network card application scenario includes:
exporting a BIOS configuration file;
setting corresponding network card software in the BIOS configuration file according to the network card application scene setting to obtain a modified BIOS configuration file;
and importing the modified BIOS configuration file.
Optionally, the method further includes:
and outputting a software loading result.
In order to solve the above technical problem, the present invention further provides a network card configuration device, including:
the configuration unit is used for solidifying a plurality of network card software with different configurations in the BIOS file in advance;
the receiving unit is used for receiving the setting of the network card application scene;
and the loading unit is used for loading corresponding network card software according to the network card application scene setting.
In order to solve the above technical problem, the present invention further provides a network card configuration device, including:
a memory for storing instructions, wherein the instructions include any one of the steps of the network card configuration method;
a processor to execute the instructions.
In order to solve the above technical problem, the present invention further provides a storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of any one of the network card configuration methods described above.
According to the network card configuration method provided by the invention, the network card application scene setting is received by solidifying a plurality of network card software with different configurations in the BIOS file in advance, and the corresponding network card software is loaded according to the network card application scene setting, so that the compatibility of various network card application scenes through one version of the BIOS file is realized, the perfect matching with different application scenes is facilitated, the maintainability of the version of a data center machine room server is improved, the diversity of the network card application scenes is optimized, the maintainability of the server can be effectively improved, and the user satisfaction and the product competitiveness can be improved. The invention also provides a network card configuration device, network card configuration equipment and a storage medium, which have the beneficial effects and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments or technical solutions of the present invention, 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 drawings can be obtained based on these drawings without creative efforts.
Fig. 1 is a flowchart of a network card configuration method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a network card configuration device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a network card configuration device according to an embodiment of the present invention.
Detailed Description
The core of the invention is to provide a network card configuration method, a network card configuration device, network card configuration equipment and a storage medium, perfect matching with different application scenes is realized by optimizing compatible configuration of the network card, and maintainability of server versions of a data center machine room server is improved.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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 flowchart of a network card configuration method according to an embodiment of the present invention.
As shown in fig. 1, a network card configuration method provided by the embodiment of the present invention includes:
s101: and pre-solidifying a plurality of pieces of network card software with different configurations in a BIOS file.
Some configuration items of the existing network card software are fixed, and the types of the network card software with different configurations are different. And a plurality of network card software with different configurations are solidified in the BIOS file in advance, so that different network card software can be called conveniently in the follow-up process according to the requirements of the network card application scene.
In a specific implementation, when a plurality of network card software with different configurations are solidified in a BIOS file, the same code portions of the network card software may be multiplexed, a configuration item code is determined according to selection of a configuration item, and the configuration item code and the code of the multiplexed portion are synthesized into the configured network card software. Meanwhile, setting a configuration item judgment logic in the BIOS file so as to configure the network card software according to the selection of the input configuration item, and loading the network card software and other codes in the BIOS file.
In practical application, because network cables are often used as little as possible in a data center machine room, network cards usually have the NCSI function and can be used for sharing a management network, some users need to use the function, and some users do not need the function; the network card can also be used as a medium to cooperate with a switch to carry out the centralized filling of the system, some switches can fill the system only by closing the NCSI function, and some switches do not need the NCSI function; the setting of the NCSI function in the existing network card software is fixed.
Therefore, the network card software may specifically include a first network card software and a second network card software;
the first network card software is network card software with an NCSI function opened, and the second network card software is network card software with an NCSI function closed.
S102: and receiving the network card application scene setting.
In specific implementation, the setting of the network card application scenario may specifically be the selection of the network card application scenario, and may also be the specific setting of the configuration item. If the network card application scene is selected, the specific setting of the configuration item can be determined according to the corresponding relation between the preset network card application scene and the configuration item setting.
Receiving the network card application scene setting, which may specifically be:
and receiving the network card application scene setting selected by the user on the BIOS configuration interface.
In practical application, options related to the configuration item judgment logic are set on the BIOS configuration interface in advance. When the server is started, a user selects to enter the BIOS configuration interface, and can manually select options, namely network card application scene setting corresponding to the options is selected, so that the configuration process of corresponding configuration items can be triggered through the configuration item judgment logic.
S103: and loading corresponding network card software according to the network card application scene.
And after the network card application scene setting is obtained, judging the logic according to the configuration items to trigger the configuration process of the corresponding configuration items, namely loading network card software corresponding to the network card application scene setting.
In specific implementation, the loading of the corresponding network card software is set according to a network card application scenario, which may specifically be:
and calling a preset software configuration script, and loading corresponding network card software according to the network card application scene setting.
The configuration is completed through the preset software configuration script, a user does not need to restart the computer to enter a BIOS configuration interface to manually select options, and the method is suitable for realizing batch configuration.
In addition, to further improve user experience, after step S103, the network card configuration method provided in the embodiment of the present invention may further include:
and outputting a software loading result.
After loading corresponding network card software according to the network card application scene setting, checking the configuration result of the relevant configuration items according to the network card application scene configuration acquired in the step S102, and outputting the result of successful or failed software loading. This step may be performed after waiting for a preset time period after step S103.
According to the network card configuration method provided by the embodiment of the invention, the network card application scene setting is received by solidifying a plurality of network card software with different configurations in the BIOS file in advance, and the corresponding network card software is loaded according to the network card application scene setting, so that the compatibility of various network card application scenes through one version of the BIOS file is realized, the perfect matching with different application scenes is facilitated, the maintainability of the version of a data center machine room server is improved, the diversity of the network card application scenes is optimized, the maintainability of the server can be effectively improved, and the user satisfaction and the product competitiveness can be improved.
On the basis of the foregoing embodiment, in the network card configuration method provided in the embodiment of the present invention, a preset software configuration script is called, and corresponding network card software is loaded according to a network card application scenario, which may specifically include:
exporting a BIOS configuration file;
setting corresponding network card software in the BIOS configuration file according to the network card application scene setting to obtain a modified BIOS configuration file;
and importing the modified BIOS configuration file.
The specific implementation script can be as follows:
Figure BDA0002409661720000051
Figure BDA0002409661720000061
on the basis of the above detailed description of each embodiment corresponding to the network card configuration method, the present invention also discloses a network card configuration device, a network card configuration device and a storage medium corresponding to the above method.
Fig. 2 is a schematic structural diagram of a network card configuration device according to an embodiment of the present invention.
As shown in fig. 2, the network card configuration device provided in the embodiment of the present invention includes:
a configuration unit 201, configured to pre-solidify a plurality of network card software with different configurations in a BIOS file;
a receiving unit 202, configured to receive a network card application scene setting;
and the loading unit 203 is configured to load corresponding network card software according to the network card application scenario.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
Fig. 3 is a schematic structural diagram of a network card configuration device according to an embodiment of the present invention.
As shown in fig. 3, the network card configuration device provided in the embodiment of the present invention includes:
a memory 310, configured to store instructions, where the instructions include the steps of the network card configuration method according to any one of the above embodiments;
a processor 320 for executing the instructions.
The processor 320 may also include a main processor, which is a processor for Processing data in a wake-up state, also called a CPU (Central Processing Unit), and a coprocessor, which is a low power consumption processor for Processing data in a standby state, the processor 320 may be integrated with a GPU (Graphics Processing Unit) for rendering and rendering content to be displayed on a display screen, in some embodiments, the processor 320 may also include an AI (intelligent processor, AI) for learning operations related to Artificial Intelligence (AI) Processing.
Memory 310 may include one or more storage media, which may be non-transitory. Memory 310 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 310 is at least used for storing a computer program 311, wherein after the computer program 311 is loaded and executed by the processor 320, the relevant steps in the network card configuration method disclosed in any of the foregoing embodiments can be implemented. In addition, the resources stored by the memory 310 may also include an operating system 312, data 313, and the like, and the storage may be transient storage or persistent storage. The operating system 312 may be Windows, among others. Data 313 may include, but is not limited to, data involved in the above-described methods.
In some embodiments, the network card configuration device may further include a display 330, a power source 340, a communication interface 350, an input-output interface 360, a sensor 370, and a communication bus 380.
Those skilled in the art will appreciate that the architecture shown in fig. 3 is not limiting to network card configuration devices and may include more or fewer components than those shown.
The network card configuration device provided by the embodiment of the application comprises a memory and a processor, and when the processor executes a program stored in the memory, the network card configuration method can be realized, and the effect is the same as that of the network card configuration method.
It should be noted that the above-described embodiments of the apparatus and device are merely illustrative, for example, the division of modules is only one division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of modules 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, devices or modules, and may be in an electrical, mechanical or other form. Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and performs all or part of the steps of the methods according to the embodiments of the present invention, or all or part of the technical solution.
To this end, an embodiment of the present invention further provides a storage medium, where a computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the network card configuration method are implemented.
The storage medium may include: various media capable of storing program codes, 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.
The computer program contained in the storage medium provided in this embodiment can implement the steps of the network card configuration method described above when being executed by the processor, and the effect is the same as above.
The above detailed description describes a network card configuration method, a network card configuration device, and a storage medium provided by the present invention. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device, the equipment and the storage medium disclosed by the embodiment correspond to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (9)

1. A network card configuration method is characterized by comprising the following steps:
a plurality of network card software with different configurations are solidified in a BIOS file in advance;
receiving network card application scene setting;
and loading corresponding network card software according to the network card application scene.
2. The network card configuration method according to claim 1, wherein the network card software specifically includes a first network card software and a second network card software;
the first network card software is network card software with an NCSI function being started, and the second network card software is network card software with the NCSI function being closed.
3. The network card configuration method according to claim 1, wherein the receiving of the network card application scenario setting specifically comprises:
and receiving the network card application scene setting selected by the user on the BIOS configuration interface.
4. The network card configuration method according to claim 1, wherein the loading of the corresponding network card software according to the network card application scenario setting specifically includes:
and calling a preset software configuration script, and loading corresponding network card software according to the network card application scene setting.
5. The network card configuration method according to claim 4, wherein obtaining a preset software configuration script, and loading corresponding network card software according to the network card application scenario setting specifically includes:
exporting a BIOS configuration file;
setting corresponding network card software in the BIOS configuration file according to the network card application scene setting to obtain a modified BIOS configuration file;
and importing the modified BIOS configuration file.
6. The network card configuration method of claim 1, further comprising:
and outputting a software loading result.
7. A network card configuration device, comprising:
the configuration unit is used for solidifying a plurality of network card software with different configurations in the BIOS file in advance;
the receiving unit is used for receiving the setting of the network card application scene;
and the loading unit is used for loading corresponding network card software according to the network card application scene setting.
8. A network card configuration device, comprising:
a memory for storing instructions, the instructions comprising the steps of the network card configuration method of any one of claims 1 to 6;
a processor to execute the instructions.
9. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the network card configuration method of any one of claims 1 to 6.
CN202010172447.2A 2020-03-12 2020-03-12 Network card configuration method, network card configuration device, network card configuration equipment and storage medium Withdrawn CN111399942A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010172447.2A CN111399942A (en) 2020-03-12 2020-03-12 Network card configuration method, network card configuration device, network card configuration equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010172447.2A CN111399942A (en) 2020-03-12 2020-03-12 Network card configuration method, network card configuration device, network card configuration equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111399942A true CN111399942A (en) 2020-07-10

Family

ID=71430720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010172447.2A Withdrawn CN111399942A (en) 2020-03-12 2020-03-12 Network card configuration method, network card configuration device, network card configuration equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111399942A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117194108A (en) * 2023-09-14 2023-12-08 上海合芯数字科技有限公司 BIOS recovery function adding method applied to intelligent network card, server and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117194108A (en) * 2023-09-14 2023-12-08 上海合芯数字科技有限公司 BIOS recovery function adding method applied to intelligent network card, server and storage medium

Similar Documents

Publication Publication Date Title
CN111064626B (en) Configuration updating method, device, server and readable storage medium
CN112506584B (en) Resource file loading method, device, equipment, storage medium and product
CN115373861B (en) GPU resource scheduling method and device, electronic equipment and storage medium
CN102043645A (en) Plug-in loading method and device
CN116302708A (en) Data backup method, device, equipment and storage medium based on load balancing
CN111274044A (en) GPU (graphics processing unit) virtualized resource limit processing method and device
CN112214250A (en) Application program assembly loading method and device
CN111399942A (en) Network card configuration method, network card configuration device, network card configuration equipment and storage medium
CN112044061B (en) Game picture processing method and device, electronic equipment and storage medium
CN112243033A (en) Method, device and equipment for acquiring memory information and computer readable storage medium
CN117234582A (en) Project code processing method and device, electronic equipment and storage medium
CN111124536A (en) Data isolation-based dual-system data sharing method and device and terminal equipment
CN115543543A (en) Application service processing method, device, equipment and medium
CN112181403B (en) Development operation and maintenance integrated implementation method, device, equipment and readable storage medium
CN115794132A (en) Operating system deployment method, device, equipment and storage medium
CN113377295A (en) Data storage and reading method, device and equipment for multi-producer single-consumer
CN114675872A (en) Data processing method, device and equipment for application program and storage medium
CN112084099A (en) Method, device and equipment for obtaining alarm state value based on host and storage medium
CN112035133A (en) Homepage upgrading method and terminal
CN111488189B (en) Window display method, device, equipment and computer readable storage medium
CN108235757A (en) A kind of method, apparatus and electronic equipment of operating system screen locking
CN113996066A (en) Game application updating method and device, storage medium and computer equipment
CN117421001A (en) Page loading method and device based on componentization development, electronic equipment and medium
CN116795492A (en) Resource scheduling method, device and equipment of cloud platform and readable storage medium
CN117724803A (en) Cloud service deployment method, device and platform

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: 20200710

WW01 Invention patent application withdrawn after publication