Method for updating UEFI wireless network card drive, chip, device, computer, medium and product
By using the BIOS upgrade package to upgrade the BIOS ROM chip after replacing the wireless network card, and swiping the target wireless network card driver file to the preset storage area, the problem of difficulty in integrating UEFI wireless network card drivers in multiple manufacturers in the existing technology is solved, and the effect of reducing hardware costs is achieved.
Patent Information
- Application Number
- CN202411917218.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-04-29
AI Technical Summary
The existing technology is difficult to integrate UEFI wireless network card drivers from multiple manufacturers without changing the capacity of BIOS ROM, resulting in high computer hardware costs.
After replacing the target wireless network card, use the BIOS upgrade package to perform the BIOS ROM chip upgrade, read the stored wireless network card manufacturer information in the BIOS variable of the BIOS ROM chip, and swipe the target wireless network card driver file to the preset storage area of the BIOS ROM chip.
It supports wireless network cards from multiple manufacturers to update UEFI wireless network card driver files without increasing the capacity of BIOS ROM chip, reducing the cost of computer hardware.
Smart Images

Figure CN119902783A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method for updating a UEFI wireless network card driver, a BIOS ROM chip, a device for updating a UEFI wireless network card driver, a computer, a storage medium, and a computer program product. Background Art
[0002] The computer's PXE (Preboot eXecution Environment) is used for network booting. For example, an operating system can be installed from the network through PXE.
[0003] Currently, most computers only support the PXE boot function of wired network cards, and only a few computers support the PXE boot function of wireless network cards. Even computers that support PXE boot of wireless network cards usually only support the wireless network cards that come with the motherboard. A large part of the reason is that the PXE boot function of the wireless network card needs to be supported by the BIOS (Basic Input / Output System, Basic Input / Output System), and the corresponding manufacturer's UEFI (Unified Extensible Firmware Interface, Unified Extensible Firmware Interface) wireless network card driver file needs to be integrated in the BIOS ROM (Basic Input / Output System Read-Only Memory, Basic Input / Output System Read-Only Memory) chip.
[0004] Since the capacity of UEFI wireless network card driver files is larger than that of BIOS ROM, if UEFI wireless network card drivers from multiple manufacturers are integrated into the BIOS ROM, a larger capacity BIOS ROM chip is required, which will increase the cost of computer hardware. Summary of the invention
[0005] The main purpose of this application is to provide a method for updating UEFI wireless network card driver, BIOS ROM chip, device for updating UEFI wireless network card driver, computer, storage medium and computer program product, aiming to solve the technical problem that it is difficult to integrate UEFI wireless network card drivers from multiple manufacturers without changing the BIOS ROM capacity, and then when integrating wireless network card driver files from multiple manufacturers, it leads to high computer hardware costs.
[0006] To achieve the above-mentioned purpose, the present application proposes a method for updating a UEFI wireless network card driver, the method comprising: after replacing a target wireless network card, performing a BIOS ROM chip upgrade through a BIOS upgrade package, and reading the manufacturer information of the wireless network card stored in a BIOS variable of the BIOS ROM chip;
[0007] If the manufacturer information of the target wireless network card exists in the stored manufacturer information of the wireless network card, determining whether the target wireless network card driver file of the target wireless network card has been stored in the BIOS upgrade package;
[0008] If the target wireless network card driver file of the target wireless network card has been stored in the BIOS upgrade package, the target wireless network card driver file is flashed to the preset storage area of the BIOS ROM chip to complete the update of the UEFI wireless network card driver, wherein the preset storage area is divided from the second area of the BIOS ROM chip, and the preset storage area is used to store a single wireless network card driver file of the wireless network card driver manufacturer.
[0009] In one embodiment, after replacing the target wireless network card, before the step of performing a BIOS ROM chip upgrade through a BIOS upgrade package and reading the manufacturer information of the wireless network card stored in the BIOS variables of the BIOS ROM chip, the method further comprises:
[0010] Check whether the wireless network card is installed on the motherboard;
[0011] If a wireless network card has been installed on the mainboard, the manufacturer information of the wireless network card is obtained, and the manufacturer information is stored in a BIOS variable in the BIOS ROM chip.
[0012] In one embodiment, the step of obtaining the manufacturer information of the wireless network card includes:
[0013] Scanning electronic devices connected to the mainboard to obtain manufacturer information and device type information of the electronic devices;
[0014] When it is determined according to the device type information that the electronic device is a wireless network card, the manufacturer information of the electronic device is determined to be the manufacturer information of the wireless network card.
[0015] In one embodiment, after the step of performing a BIOS ROM chip upgrade through a BIOS upgrade package after replacing the target wireless network card, and reading the manufacturer information of the wireless network card stored in the BIOS variable of the BIOS ROM chip, the method further includes:
[0016] If the manufacturer information of the target wireless network card does not exist in the stored manufacturer information of the wireless network card, the upgrade flag of the preset storage area of the BIOS upgrade package is set to not upgrade.
[0017] In one embodiment, if the manufacturer information of the target wireless network card exists in the stored manufacturer information of the wireless network card, the step of determining whether the target wireless network card driver file of the target wireless network card is stored in the BIOS upgrade package includes:
[0018] If the target wireless network card driver file of the target wireless network card is not stored in the BIOS upgrade package, setting the upgrade flag of the preset storage area of the BIOS upgrade package to not upgrade;
[0019] If the target wireless network card driver file of the target wireless network card is already stored in the BIOS upgrade package, setting the upgrade flag of the preset storage area of the BIOS upgrade package to upgrade;
[0020] According to the upgrade identifier, it is determined whether to flash the target wireless network card driver file to a preset storage area of the BIOS ROM chip.
[0021] In addition, to achieve the above-mentioned purpose, the present application also proposes a BIOS ROM chip, which includes: a first area and a second area, and the second area is divided into a regular storage area and a preset storage area, wherein the first area is used to store key codes for booting the computer, the regular storage area is used to store BIOS data and UEFI wireless network card driver, and the preset storage area is used to store a single wireless network card driver file of the wireless network card driver manufacturer.
[0022] In addition, to achieve the above-mentioned purpose, the present application also proposes a device for updating a UEFI wireless network card driver, the device for updating a UEFI wireless network card driver comprising: an upgrade module, for performing a BIOS ROM chip upgrade through a BIOS upgrade package after replacing a target wireless network card, and reading the manufacturer information of the wireless network card stored in a BIOS variable of the BIOS ROM chip;
[0023] A determination module, configured to determine whether a target wireless network card driver file of the target wireless network card is stored in the BIOS upgrade package if the manufacturer information of the target wireless network card exists in the stored manufacturer information of the wireless network card;
[0024] An update module is used to flash the target wireless network card driver file to a preset storage area of a BIOS ROM chip if the target wireless network card driver file has been stored in a BIOS upgrade package, so as to complete the update of the UEFI wireless network card driver, wherein the preset storage area is divided from the second area of the BIOS ROM chip, and the preset storage area is used to store a single wireless network card driver file of a wireless network card driver manufacturer.
[0025] In addition, to achieve the above-mentioned purpose, the present application also proposes a computer, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the method for updating the UEFI wireless network card driver as described above.
[0026] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the method for updating the UEFI wireless network card driver as described above are implemented.
[0027] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the method for updating the UEFI wireless network card driver as described above are implemented.
[0028] Compared with the prior art, it is necessary to integrate UEFI wireless network card driver files of multiple manufacturers in the BIOS ROM chip to support wireless network cards of multiple manufacturers, resulting in an increase in computer hardware costs. After replacing the target wireless network card, the present application first performs a BIOS ROM chip upgrade operation through a BIOS upgrade package. When upgrading, the stored wireless network card driver file is searched in the BIOS upgrade package. When the target wireless network card driver file is found, the target wireless network card driver file is written to the preset storage area of the BIOS ROM chip to complete the update of the UEFI wireless network card driver, wherein the preset storage area is divided from the second area of the BIOS ROM chip and is used to store a single wireless network card driver file; because the preset storage area is divided from the second area of the BIOS ROM chip, that is, the existing area, and the capacity of the BIOS ROM chip is not increased, there is no need to upgrade the capacity of the BIOS ROM chip in order to store more driver files, thereby avoiding the increase in hardware costs caused by the increase in the capacity of the BIOS ROM chip, and can also support wireless network cards of multiple manufacturers to update UEFI wireless network card driver files. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0030] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0031] Figure 1 This is a schematic diagram of an existing BIOS ROM chip;
[0032] Figure 2 This is a schematic diagram of the BIOS ROM chip that integrates wireless network card drivers from multiple manufacturers.
[0033] Figure 3 BIOS ROM chip schematic diagram of the method for updating the UEFI wireless network card driver for this application;
[0034] Figure 4 Schematic diagram of the BIOS upgrade package for the method of updating the UEFI wireless network card driver for this application;
[0035] Figure 5 A flowchart of a first embodiment of a method for updating a UEFI wireless network card driver according to the present application;
[0036] Figure 6 A schematic diagram of a process for detecting a wireless network card in the first embodiment of a method for updating a UEFI wireless network card driver in this application;
[0037] Figure 7 A flowchart of a method for updating a UEFI wireless network card driver for this application;
[0038] Figure 8 A schematic diagram of the module structure of a device for updating the UEFI wireless network card driver for this application;
[0039] Fig. 9 This is a schematic diagram of the device structure of the hardware operating environment involved in the method for updating the UEFI wireless network card driver in this application.
[0040] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0041] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0042] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0043] like Figure 1 As shown, Figure 1 A schematic diagram of the layout of a BIOS ROM chip: The BIOS ROM chip includes an FV_BB area and an FV_MAIN area.
[0044] like Figure 2 As shown, Figure 2The schematic diagram of the BIOS ROM chip that currently supports wireless network cards from multiple manufacturers and integrates wireless network card driver files from multiple manufacturers is shown. Wireless network card driver files from multiple manufacturers are stored in the FV_MAIN area of the BIOS ROM, such as wireless network card driver a1 from manufacturer A, wireless network card driver b from manufacturer B, and wireless network card driver c from manufacturer C. Under this design, the more wireless network card manufacturers supported, the larger the space occupied by the FV_MAIN area of the BIOS ROM, and the larger the BIOS ROM chip capacity required, which will lead to an increase in hardware costs, for example: increasing the BIOS ROM chip capacity from 16MB to 32MB.
[0045] The main solution of the embodiment of the present application is: after replacing the wireless network card installed on the server, perform an upgrade operation, and then the target wireless network card driver corresponding to the new wireless network card can be flashed to the FV_Wireless area of the BIOS ROM. After the upgrade is completed, the PXE boot function of the target wireless network card can be used normally.
[0046] like Figure 3 As shown, Figure 3 A schematic diagram of the layout of a BIOS ROM chip proposed in this application: an area is divided from the FV_MAIN area of the BIOS ROM, named FV_Wireless, which is used to store the target wireless network card driver of a single wireless network card manufacturer.
[0047] In this application, by reducing the storage space of the FV_MAIN area of the BIOS ROM, a new FV_Wireless area is added. The FV_Wireless area is obtained from the existing FV_MAIN area, and the total capacity of the BIOS ROM does not change, so there is no need to increase the capacity of the BIOS ROM chip.
[0048] When you replace a new network card and perform an upgrade, you need to use the BIOS upgrade package to upgrade, such as Figure 4 As shown, Figure 4 A schematic diagram of the layout of a BIOS upgrade package proposed for this application: a BIOS upgrade package that integrates multiple wireless network card drivers in the BIOS upgrade package. The upgrade package integrates wireless network card drivers FV_Wireless from multiple manufacturers and can continue to be added. Because the addition of wireless network card drivers from multiple manufacturers is in the BIOS upgrade package, it is not limited by the BIOS ROM capacity.
[0049] It should be noted that the execution subject of this embodiment may be a computer, or a computing service device with data processing, network communication and program running functions, such as a server, etc. The following takes a computer as an example to illustrate this embodiment and the following embodiments.
[0050] Based on this, the embodiment of the present application provides a method for updating the UEFI wireless network card driver, referring to Figure 5 , Figure 5 This is a flowchart of the first embodiment of the method for updating the UEFI wireless network card driver of this application.
[0051] In one embodiment, the wireless network card driver files provided in this application are all UEFI wireless network card driver files.
[0052] In this embodiment, the method for updating the UEFI wireless network card driver includes steps S10 to S30:
[0053] Step S10, after replacing the target wireless network card, performing a BIOS ROM chip upgrade through a BIOS upgrade package, and reading the manufacturer information of the wireless network card stored in the BIOS variables of the BIOS ROM chip;
[0054] It should be noted that after the user replaces the original wireless network card on the motherboard with the target wireless network card, the computer is restarted, for example, the original Intel wireless network card is replaced with an ASUS wireless network card; first, the BIOSROM chip is upgraded through the BIOS upgrade package so that the computer supports the target wireless network card. When upgrading, the BIOS ROM chip will first read the manufacturer information of multiple wireless network cards stored in the BIOS variables. The BIOS upgrade package is a software package used to update the computer's basic input and output system (BIOS). It contains a series of files that are used to update various functional modules and drivers in the BIOS, and to correct known BIOS vulnerabilities. BIOS plays a vital role in the computer startup process. It is responsible for initializing hardware devices, loading the operating system boot program, etc. The schematic diagram of the BIOS upgrade package is shown below. Figure 4 shown.
[0055] Step S20, if the manufacturer information of the target wireless network card exists in the stored manufacturer information of the wireless network card, determining whether the target wireless network card driver file of the target wireless network card is stored in the BIOS upgrade package;
[0056] It should be noted that if the BIOS ROM chip finds the manufacturer information of the replaced wireless network card in the BIOS variables, it determines whether the area storing the wireless network card driver file in the BIOS upgrade package stores the target wireless network card driver file.
[0057] The BIOS upgrade package can pre-store wireless network card driver files from multiple manufacturers, where the wireless network card driver files from multiple manufacturers are stored in the wireless network card support list of the BIOS upgrade package. After replacing the target wireless network card, it is necessary to determine whether the target wireless network card driver file corresponding to the target wireless network card is stored in the wireless network card support list in the BIOS upgrade package, which determines whether to flash the preset storage area of the BIOS ROM chip later.
[0058] In one embodiment, the BIOS upgrade package may include the target wireless network card driver, in which case the target wireless network card driver file is flashed to a preset storage area of the BIOS ROM chip; or the target wireless network card driver may not be included, in which case the upgrade flag of the preset storage area of the BIOS upgrade package is set to not upgrade.
[0059] Step S30, if the target wireless network card driver file of the target wireless network card has been stored in the BIOS upgrade package, the target wireless network card driver file is flashed to the preset storage area of the BIOS ROM chip to complete the update of the UEFI wireless network card driver, wherein the preset storage area is divided from the second area of the BIOS ROM chip, and the preset storage area is used to store a single wireless network card driver file of the wireless network card driver manufacturer.
[0060] It should be noted that if the target wireless network card driver file corresponding to the target wireless network card is stored in the wireless network card support list of the BIOS upgrade package, it means that the BIOS upgrade package supports the target wireless network card to implement the PXE boot function; the target wireless network card driver file stored in the BIOS upgrade package is flashed to the preset storage area of the BIOS ROM chip, wherein the preset storage area is divided from the second area of the BIOS ROM chip.
[0061] Exemplarily, the preset storage area is: FV_Wireless area, which is divided from the second area of the BIOS ROM chip, namely, FV_MAIN area, and the FV_Wireless area can only store a single wireless network card driver file.
[0062] Flashing the target wireless network card driver file to the preset storage area of the BIOS ROM indicates that the BIOS upgrade package has completed the upgrade of the computer wireless network card, and the computer's UEFI wireless network card driver update is complete.
[0063] Existing wireless network card drivers are usually under Windwos or Linux operating systems. The method for updating the UEFI wireless network card driver proposed in this application is in the UEFI BIOS environment, which is different from the existing usage scenario of updating the wireless network card driver. Updating the UEFI wireless network card driver in the UEFI BIOS environment can identify and initialize the wireless network card in the early stage of computer startup, establish a network connection earlier, and reduce the reliance on operations such as reinitialization of the wireless network card during the startup of the operating system. Updating the UEFI wireless network card driver in the UEFI BIOS environment can effectively utilize hardware resources and reduce resource allocation conflicts at the operating system layer.
[0064] In this embodiment, by searching for the stored wireless network card driver file in the BIOS upgrade package, when the target wireless network card driver file is found, the target wireless network card driver file is written to the preset storage area of the BIOS ROM chip to complete the update of the UEFI wireless network card driver, wherein the preset storage area is divided from the second area of the BIOS ROM chip, that is, the existing area, and is used to store a single wireless network card driver file; because the preset storage area is divided from the existing area of the BIOS ROM chip, the capacity of the BIOS ROM chip is not increased, so there is no need to upgrade the capacity of the BIOS ROM chip to store more driver files, thereby avoiding the increase in hardware costs caused by the increase in the capacity of the BIOS ROM chip, and can also support the wireless network cards of multiple manufacturers to update the UEFI wireless network card driver files. In addition, since the method of storing the wireless network card driver file in the BIOS upgrade package is adopted, only the wireless network card driver file in the BIOS upgrade package needs to be managed. When there is a new wireless network card driver file, you only need to add it to the wireless network card support list of the BIOS upgrade package. If there is a target wireless network card driver file, it will be flashed to the preset storage area of the BIOS ROM to complete the UEFI wireless network card driver update. This simplifies the software maintenance process and reduces software maintenance costs.
[0065] In a feasible implementation manner, before step S10, steps A10 to A20 are included:
[0066] Step A10, detecting whether a wireless network card has been installed on the mainboard;
[0067] It should be noted that during the POST (Power On Self Test) process, the BIOS will detect whether a wireless network card is installed in the wireless network card slot on the computer motherboard.
[0068] In one embodiment, detecting whether a wireless network card is installed on the mainboard includes at least two reasons: reason one: a wireless network card is not installed on the original mainboard and a wireless network card needs to be installed; reason two: a wireless network card is installed on the original mainboard and a wireless network card needs to be replaced.
[0069] For example, the wireless network card does not support hot plugging. When the user replaces the wireless network card with a new one, the power needs to be turned off and the computer needs to be restarted. The first time the computer is powered on after replacing the wireless network card, the identification process of detecting whether a wireless network card is installed in the wireless network card slot will be re-executed.
[0070] In a feasible implementation manner, it is detected whether the wireless network card has been installed on the mainboard by detecting the level of the pin of the wireless network card slot; if the level changes, it indicates that the wireless network card has been installed on the mainboard.
[0071] It should be noted that when a wireless network card is installed in the wireless network card slot, the corresponding pins on the wireless network card will contact the pins of the slot, causing the GPIO (General Purpose Input / Output) state of the wireless network card slot to change, specifically: the pin level becomes high or low.
[0072] Step A20: If a wireless network card has been installed on the mainboard, the manufacturer information of the wireless network card is obtained, and the manufacturer information is stored in a BIOS variable in the BIOS ROM chip.
[0073] It should be noted that if a wireless network card has been installed on the motherboard, the manufacturer information of the wireless network card is obtained; the manufacturer information includes the manufacturer name such as Intel, Broadcom, TP-Link, ASUS, Netgear, etc., the type of wireless network card, the interface form, the supported frequency band, the transmission rate, etc. Determine the target wireless network card driver file based on the manufacturer information. BIOS variables are stored in the BIOS ROM chip and are used to store information related to system configuration and operation.
[0074] In this embodiment, the manufacturer information of the wireless network card is obtained and saved in the BIOS variable, which helps to better identify the wireless network card during startup or operation. By storing the manufacturer information in the BIOS variable, the appropriate driver can be automatically loaded according to the manufacturer information without manual intervention by the user. This improves the ease of updating the wireless network card when replacing the wireless network card or switching between different hardware configurations.
[0075] In another feasible implementation, step A20 includes: scanning electronic devices connected to the mainboard to obtain manufacturer information and device type information of the electronic devices;
[0076] When it is determined according to the device type information that the electronic device is a wireless network card, the manufacturer information of the electronic device is determined to be the manufacturer information of the wireless network card.
[0077] It should be noted that all PCIe devices connected through the PCIe bus are scanned through BIOS, and the BUS / DEVICE information of all PCIe devices is accessed one by one to obtain the manufacturer information of the PCIe device, where BUS (bus) represents the number of the PCIe bus, for example, there can be a maximum of 256 buses; DEVICE (device) represents the device number on the bus, for example, there can be a maximum of 32 devices on each bus; then, based on the obtained device type, it is determined whether the electronic device is a wireless network card device. If it is a wireless network card device, the manufacturer information of the wireless network card device is obtained.
[0078] In one embodiment, BIOS detects whether a wireless network card is installed in the wireless network card slot of the computer motherboard during the POST (Power On Self Test); if it is detected that a wireless network card is installed in the wireless network card slot, BIOS reads the manufacturer information of the wireless network card through the PCIe (Peripheral Component Interconnect Express) bus; BIOS writes the detected manufacturer information of the wireless network card into the BIOS Variable of the BIOS ROM for storage.
[0079] like Figure 6 As shown, Figure 6 Schematic diagram of the process of BIOS identifying a wireless network card: During the boot process, the BIOS detects whether a wireless network card is installed on the computer motherboard during the power-on self-test phase; if installed, the BIOS reads the manufacturer information of the wireless network card and saves it to the BIOS Variable of the BIOS ROM; if not installed, the detection ends.
[0080] In another feasible implementation, after step S10, the method further includes: if the manufacturer information of the target wireless network card does not exist in the stored manufacturer information of the wireless network card, setting the upgrade flag of the preset storage area of the BIOS upgrade package to not upgrade.
[0081] It should be noted that the manufacturer information of the target wireless network card does not exist in the stored manufacturer information of the wireless network card, indicating that the wireless network card driver of the computer cannot be updated. When the BIOS is upgraded subsequently, it is not necessary to flash the wireless network card driver file to the preset storage area of the BIOS ROM chip. Therefore, the upgrade flag of the preset storage area of the BIOS upgrade package is set to not upgrade.
[0082] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the first embodiment can be referred to the above description, and will not be described in detail later. Step S30, the method for updating the UEFI wireless network card driver also includes steps D10 to D30:
[0083] Step D10, if the target wireless network card driver file of the target wireless network card is not stored in the BIOS upgrade package, setting the upgrade flag of the preset storage area of the BIOS upgrade package to not upgrade;
[0084] It should be noted that the BIOS upgrade package will include driver files for the wireless network card. The BIOS needs to identify the wireless network card installed on the motherboard when the computer starts. Wireless network cards from different manufacturers may require different driver files to achieve correct operation.
[0085] Each wireless network card manufacturer develops specific drivers for its products, which contain codes for communicating with the manufacturer's wireless network card, controlling its working mode (such as transmission power, frequency band selection, etc.), and implementing special functions (such as Wi-Fi 6 features). For example, the wireless network cards from two different manufacturers, Intel and Broadcom, have different drivers in terms of underlying communication protocol implementation, hardware resource management, etc.
[0086] If there is a target wireless network card driver file corresponding to a wireless network card manufacturer's information in the BIOS upgrade package, it means that the BIOS can support the manufacturer's wireless network card after the upgrade. It can ensure that when the computer starts, the BIOS can correctly identify and initialize the wireless network card, providing a basis for the subsequent implementation of the PXE boot function.
[0087] The preset storage area (FV_Wireless area) is part of the BIOS upgrade package, which is specifically used to store the driver files of the wireless network card, related configuration information, etc. The upgrade flag is used to indicate whether to perform an upgrade operation on the preset storage area. When the target wireless network card driver file corresponding to the manufacturer information is not stored in the BIOS upgrade package, the upgrade flag of the preset storage area is set to not upgrade. This is to avoid upgrading the wireless network card without a suitable driver file, because such an upgrade may cause the wireless network card to not work properly.
[0088] For example, the BIOS upgrade package does not include the driver file of a manufacturer's latest model of wireless network card, but still upgrades the preset storage area, which may overwrite the original wireless network card support-related settings or files, resulting in the computer being unable to recognize the wireless network card after startup.
[0089] Step D20, if the target wireless network card driver file of the target wireless network card is already stored in the BIOS upgrade package, then the upgrade flag of the preset storage area of the BIOS upgrade package is set to upgrade;
[0090] It should be noted that when the target wireless network card driver file is stored in the BIOS upgrade package, the upgrade flag of the preset storage area is set to upgrade. This is because the BIOS upgrade package at this time has the ability to update and support the wireless network card of the manufacturer.
[0091] Step D30: Determine whether to flash the target wireless network card driver file to a preset storage area of the BIOS ROM chip according to the upgrade identifier.
[0092] It should be noted that when the upgrade flag is set to upgrade, the target wireless network card driver file is flashed to the preset storage area of the BIOSROM chip in order to update the BIOS's support for the wireless network card. If the upgrade flag is upgraded, the flash operation will replace the old wireless network card driver file with the new one or supplement the missing wireless network card driver file; if the upgrade flag is not upgraded, the flash operation will not be performed to avoid introducing incompatible or erroneous wireless network card driver files into the preset storage area of the BIOS ROM chip, thereby protecting the current normal working state of the wireless network card.
[0093] In one embodiment, before step D30, steps E10 to E20 are included:
[0094] Step E10, flashing the key code for booting the computer stored in the first area of the BIOS upgrade package to the first area of the BIOS ROM chip;
[0095] It should be noted that the areas in the BIOS upgrade package and the areas in the BIOS ROM chip may or may not correspond to each other; when performing a BIOS upgrade, the key code for booting the computer in the BIOS upgrade package needs to be written into the BIOS ROM chip, wherein the first area may be the FV_BB area; the key code for booting the computer enables the computer to interact with the boot server, thereby starting the computer. These codes include instructions related to functions such as network communication protocol settings and server connection requests.
[0096] When the computer is turned on, it will first read the BIOS program in the BIOS ROM chip to perform hardware initialization, self-test and other operations. This is the process of writing data into the BIOS ROM chip. Here, it is required to write the key code for booting the computer stored in the first area of the BIOS upgrade package into the first area of the BIOS ROM chip.
[0097] Step E20, flashing the BIOS data and the UEFI wireless network card driver stored in the second area of the BIOS upgrade package to the second area of the BIOS ROM chip.
[0098] It should be noted that the second area can be the FV_MAIN area; the BIOS data contains the initialization program and setting information of the basic computer hardware. It is responsible for detecting and configuring the hardware when the computer starts up to ensure that the computer hardware can work properly and is ready for the startup of the operating system. UEFI (Unified Extensible Firmware Interface) is a firmware interface standard that replaces the traditional BIOS. The wireless network card driver is a program that enables the computer to recognize and use the wireless network card. The wireless network card driver in the UEFI environment is designed to recognize and initialize the wireless network card in the early stage of computer startup (before the operating system is loaded) for network connection, such as booting from the network.
[0099] In this embodiment, writing the data of the BIOS upgrade package to a designated area of the BIOS ROM chip helps long-term maintenance and upgrading of the computer.
[0100] In this embodiment, the upgrade flag of the preset storage area is set to not upgrade, which can avoid system instability caused by incorrectly flashing irrelevant or incompatible driver files. When the upgrade flag of the preset storage area is set to upgrade, the target wireless network card driver file is flashed to the preset storage area of the BIOS ROM chip, which can ensure that the BIOS can better adapt to and support the wireless network card of the manufacturer, thereby improving the performance and stability of the entire computer system in terms of wireless networks.
[0101] The present application provides a BIOS ROM chip, which includes: a first area and a second area, and the second area is divided into a regular storage area and a preset storage area, wherein the first area is used to store key codes for booting a computer, the regular storage area is used to store BIOS data and UEFI wireless network card drivers, and the preset storage area is used to store a single wireless network card driver file of a wireless network card driver manufacturer.
[0102] It should be noted that if Figure 3 As shown, the first area is the FV_BB area, which is used to store the key code for booting the computer. The second area is the FV_MAIN area, which stores BIOS data and UEFI wireless network card drivers. The preset storage area (FV_Wireless area) is a part of the FV_MAIN area, which is divided from the FV_MAIN area and stores a single wireless network card driver file.
[0103] Compared with the prior art, in order to support wireless network card drivers from multiple manufacturers, wireless network card driver files from multiple manufacturers are directly integrated in the FV_MAIN area of the BIOS ROM chip, resulting in an increase in hardware costs; in this embodiment, the FV_Wireless area is obtained by dividing the FV_MAIN area to store a single wireless network card driver file, wherein the single wireless network card driver file is flashed from the wireless network card driver files of multiple manufacturers pre-stored in the BIOS upgrade package. Therefore, by adjusting the space of the BIOS ROM chip, the UEFI wireless network card drivers of multiple network card manufacturers can be integrated into the BIOS upgrade package without increasing the capacity of the BIOS ROM chip. When the wireless network card on the computer motherboard is replaced, the UEFI wireless network card driver corresponding to the wireless network card can be automatically updated by executing the BIOS upgrade package once, thereby realizing a complete wireless network card PXE boot function.
[0104] For example, in order to help understand the implementation process of the method for updating the UEFI wireless network card driver obtained by combining this embodiment with the above-mentioned first embodiment, please refer to Figure 7 , Figure 7 A brief flowchart of a method for updating a UEFI wireless network card driver is provided, specifically:
[0105] When the user performs a BIOS upgrade operation by integrating a BIOS upgrade package of multiple wireless network card drivers, the computer automatically restarts; the BIOS ROM chip is upgraded by the BIOS upgrade package, and the BIOS reads the stored wireless network card manufacturer information from the BIOS Variable before executing the BIOS ROM chip flashing action; it is detected whether the BIOS Variable actually stores the manufacturer information of the wireless network card, if the manufacturer information of the wireless network card is not stored in the BIOS Variable, the preset storage area upgrade flag is set to not upgrade; if the manufacturer information of the wireless network card is stored in the BIOS Variable, the target wireless network card driver is searched in the network card driver support list of the BIOS upgrade package; if the target wireless network card driver does not exist in the network card support list of the BIOS upgrade package, the preset storage area upgrade flag is set to not upgrade; if the target wireless network card driver exists in the network card support list of the BIOS upgrade package, the preset storage area upgrade flag is set to upgrade.
[0106] Execute the BIOS ROM chip flashing process, write the first area and second area files in the BIOS upgrade package into the first area and second area corresponding to the BIOS ROM chip; after the flashing of the first area and the second area is completed, read the preset storage area upgrade mark; if the preset storage area upgrade mark is upgrade, flash the target wireless network card driver file in the BIOS upgrade package to the preset storage area of the BIOS ROM chip; the upgrade is completed, and the update of the wireless network card driver is completed.
[0107] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the method of updating the UEFI wireless network card driver of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0108] This application also provides a device for updating the UEFI wireless network card driver, please refer to Figure 8 , the device for updating the UEFI wireless network card driver includes:
[0109] The upgrade module 10 is used to perform a BIOS ROM chip upgrade through a BIOS upgrade package after replacing the target wireless network card, and read the manufacturer information of the wireless network card stored in the BIOS variables of the BIOS ROM chip;
[0110] The determination module 20 is used to determine whether the target wireless network card driver file is stored in the BIOS upgrade package if the manufacturer information of the target wireless network card exists in the stored manufacturer information of the wireless network card;
[0111] The update module 30 is used to flash the target wireless network card driver file to the preset storage area of the BIOS ROM chip if the target wireless network card driver file has been stored in the BIOS upgrade package, so as to complete the update of the UEFI wireless network card driver, wherein the preset storage area is divided from the second area of the BIOS ROM chip, and the preset storage area is used to store a single wireless network card driver file of the wireless network card driver manufacturer.
[0112] Optionally, the upgrade module 10 is also used to detect whether a wireless network card has been installed on the mainboard;
[0113] If a wireless network card has been installed on the mainboard, the manufacturer information of the wireless network card is obtained, and the manufacturer information is stored in a BIOS variable in the BIOS ROM chip.
[0114] Optionally, the upgrade module 10 is further used to scan electronic devices connected to the mainboard to obtain manufacturer information and device type information of the electronic devices;
[0115] When it is determined according to the device type information that the electronic device is a wireless network card, the manufacturer information of the electronic device is determined to be the manufacturer information of the wireless network card.
[0116] Optionally, the upgrade module 10 is further configured to set the upgrade flag of the preset storage area of the BIOS upgrade package to not upgrade if the manufacturer information of the target wireless network card does not exist in the stored manufacturer information of the wireless network card.
[0117] Optionally, the determination module 20 is further configured to set an upgrade flag of a preset storage area of the BIOS upgrade package to not upgrade if the target wireless network card driver file of the installed wireless network card is not stored in the BIOS upgrade package;
[0118] If the target wireless network card driver file of the installed wireless network card is already stored in the BIOS upgrade package, setting the upgrade flag of the preset storage area of the BIOS upgrade package to upgrade;
[0119] According to the upgrade identifier, it is determined whether to flash the target wireless network card driver file to a preset storage area of the BIOS ROM chip.
[0120] The device for updating the UEFI wireless network card driver provided by the present application adopts the method for updating the UEFI wireless network card driver in the above embodiment, which can solve the technical problem that it is difficult to integrate UEFI wireless network card drivers from multiple manufacturers without changing the BIOS ROM capacity, and then when integrating wireless network card driver files from multiple manufacturers, the cost of computer hardware is high. Compared with the prior art, the beneficial effects of the device for updating the UEFI wireless network card driver provided by the present application are the same as the beneficial effects of the method for updating the UEFI wireless network card driver provided by the above embodiment, and other technical features in the device for updating the UEFI wireless network card driver are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0121] The present application provides a computer, which includes: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method for updating the UEFI wireless network card driver in the first embodiment mentioned above.
[0122] Reference below Fig. 9, which shows a schematic diagram of the structure of a computer suitable for implementing the embodiments of the present application. The computer in the embodiments of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig. 9 The computer shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0123] like Fig. 9 As shown, the computer may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for computer operation are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the computer to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a computer with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0124] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0125] The computer provided by the present application adopts the method for updating the UEFI wireless network card driver in the above embodiment, which can solve the technical problem that it is difficult to integrate UEFI wireless network card drivers from multiple manufacturers without changing the BIOS ROM capacity, and then when integrating wireless network card driver files from multiple manufacturers, the computer hardware cost is high. Compared with the prior art, the beneficial effects of the computer provided by the present application are the same as the beneficial effects of the method for updating the UEFI wireless network card driver provided in the above embodiment, and the other technical features in the computer are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0126] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0127] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0128] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the method for updating the UEFI wireless network card driver in the above-mentioned embodiment.
[0129] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.
[0130] The computer-readable storage medium may be included in the computer, or may exist independently without being installed in the computer.
[0131] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by a computer, the computer: detects whether a wireless network card has been installed on the mainboard; if a wireless network card has been installed on the mainboard, determines whether a target wireless network card driver file of the installed wireless network card has been stored in a BIOS upgrade package; if the target wireless network card driver file has been stored in the BIOS upgrade package, writes the target wireless network card driver file to a preset storage area of a BIOSROM chip to complete the update of a UEFI wireless network card driver, wherein the preset storage area is divided from an existing area of the BIOSROM chip.
[0132] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0133] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0134] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0135] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned method for updating the UEFI wireless network card driver, and can solve the technical problem that it is difficult to integrate UEFI wireless network card drivers from multiple manufacturers without changing the BIOS ROM capacity, and then when integrating wireless network card driver files from multiple manufacturers, the cost of computer hardware is high. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the method for updating the UEFI wireless network card driver provided by the above-mentioned embodiment, and will not be repeated here.
[0136] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the method for updating the UEFI wireless network card driver as described above.
[0137] The computer program product provided by the present application can solve the technical problem that it is difficult to integrate UEFI wireless network card drivers from multiple manufacturers without changing the BIOS ROM capacity, and then the computer hardware cost is high when integrating wireless network card driver files from multiple manufacturers. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the method for updating the UEFI wireless network card driver provided by the above embodiment, and will not be repeated here.
[0138] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A method for updating a UEFI wireless network card driver, characterized in that: The method for updating the UEFI wireless network card driver includes: After replacing the target wireless network card, perform a BIOS ROM chip upgrade through a BIOS upgrade package, and read the manufacturer information of the wireless network card stored in the BIOS variable of the BIOS ROM chip; If the manufacturer information of the target wireless network card exists in the stored manufacturer information of the wireless network card, determining whether the target wireless network card driver file of the target wireless network card has been stored in the BIOS upgrade package; If the target wireless network card driver file of the target wireless network card has been stored in the BIOS upgrade package, the target wireless network card driver file is flashed to the preset storage area of the BIOS ROM chip to complete the update of the UEFI wireless network card driver, wherein the preset storage area is divided from the second area of the BIOS ROM chip, and the preset storage area is used to store a single wireless network card driver file of the wireless network card driver manufacturer.
2. The method for updating the UEFI wireless network card driver as claimed in claim 1, characterized in that: Before the step of performing a BIOS ROM chip upgrade through a BIOS upgrade package after replacing the target wireless network card and reading the manufacturer information of the wireless network card stored in the BIOS variable of the BIOS ROM chip, the method includes: Check whether the wireless network card is installed on the motherboard; If a wireless network card has been installed on the mainboard, the manufacturer information of the wireless network card is obtained, and the manufacturer information is stored in a BIOS variable in the BIOS ROM chip.
3. The method for updating the UEFI wireless network card driver as claimed in claim 2, characterized in that: The step of obtaining the manufacturer information of the wireless network card includes: Scanning electronic devices connected to the mainboard to obtain manufacturer information and device type information of the electronic devices; When it is determined according to the device type information that the electronic device is a wireless network card, the manufacturer information of the electronic device is determined to be the manufacturer information of the wireless network card.
4. The method for updating the UEFI wireless network card driver as claimed in claim 1, characterized in that: After the step of performing a BIOS ROM chip upgrade through a BIOS upgrade package after replacing the target wireless network card, and reading the manufacturer information of the wireless network card stored in the BIOS variable of the BIOS ROM chip, the method further includes: If the manufacturer information of the target wireless network card does not exist in the stored manufacturer information of the wireless network card, the upgrade flag of the preset storage area of the BIOS upgrade package is set to not upgrade.
5. The method for updating the UEFI wireless network card driver as claimed in claim 1, characterized in that: The step of determining whether the target wireless network card driver file is stored in the BIOS upgrade package if the manufacturer information of the target wireless network card exists in the stored manufacturer information of the wireless network card includes: If the target wireless network card driver file of the target wireless network card is not stored in the BIOS upgrade package, setting the upgrade flag of the preset storage area of the BIOS upgrade package to not upgrade; If the target wireless network card driver file of the target wireless network card is already stored in the BIOS upgrade package, setting the upgrade flag of the preset storage area of the BIOS upgrade package to upgrade; According to the upgrade identifier, it is determined whether to flash the target wireless network card driver file to a preset storage area of the BIOS ROM chip.
6. A BIOS ROM chip, characterized in that: The BIOS ROM chip includes: a first area and a second area, and the second area is divided into a regular storage area and a preset storage area, wherein the first area is used to store key codes for booting a computer, the regular storage area is used to store BIOS data and UEFI wireless network card drivers, and the preset storage area is used to store a single wireless network card driver file of a wireless network card driver manufacturer.
7. A device for updating a UEFI wireless network card driver, characterized in that: The device comprises: An upgrade module, used to perform a BIOS ROM chip upgrade through a BIOS upgrade package after replacing the target wireless network card, and read the manufacturer information of the wireless network card stored in the BIOS variables of the BIOS ROM chip; A determination module, configured to determine whether a target wireless network card driver file of the target wireless network card is stored in the BIOS upgrade package if the manufacturer information of the target wireless network card exists in the stored manufacturer information of the wireless network card; An update module is used to flash the target wireless network card driver file to a preset storage area of a BIOS ROM chip if the target wireless network card driver file has been stored in a BIOS upgrade package, so as to complete the update of the UEFI wireless network card driver, wherein the preset storage area is divided from the second area of the BIOS ROM chip, and the preset storage area is used to store a single wireless network card driver file of a wireless network card driver manufacturer.
8. A computer, characterized in that: The computer includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the method for updating the UEFI wireless network card driver according to any one of claims 1 to 5.
9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the method for updating the UEFI wireless network card driver according to any one of claims 1 to 5 are implemented.
10. A computer program product, characterized in that The computer program product includes a computer program, and when the computer program is executed by a processor, the steps of the method for updating a UEFI wireless network card driver according to any one of claims 1 to 5 are implemented.
Citation Information
Cited By
Board card upgrading management method and device
CN120104169A
UEFI (Unified Extensible Firmware Interface) firmware updating method and device, equipment and storage medium
CN120950107A