A method for refreshing BIOS of a dedicated server and related apparatus

By booting the filling system on a dedicated server and using DHCP, TFTP, and NFS services for automated BIOS flashing, the efficiency and security issues of batch flashing on dedicated servers are resolved, achieving efficient and secure BIOS updates.

CN115098135BActive Publication Date: 2025-11-11INSPUR (SHANDONG) COMPUTER TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210760943.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-30
Publication Date
2025-11-11
Estimated Expiration
2042-06-30

AI Technical Summary

Technical Problem

When there are a large number of dedicated servers, existing technologies cannot achieve batch BIOS updates, resulting in complex production processes, high labor costs, and an increased chance of errors. Furthermore, access records are left behind, which fails to meet confidentiality requirements.

Method used

The system boots and installs the BIOS using a development version on a dedicated server. It loads the BIOS file on the server using DHCP, TFTP, and NFS services, and performs automated batch flashing via PXE boot, avoiding manual intervention and the use of external media.

Benefits of technology

It enables batch flashing of dedicated server BIOS, improving work efficiency, saving costs, ensuring security, and avoiding leaving access records in the system or BIOS logs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115098135B_ABST
    Figure CN115098135B_ABST
Patent Text Reader

Abstract

This application discloses a method for flashing the BIOS of a dedicated server, comprising: booting a dedicated server flashing system using a development version of the BIOS on the dedicated server; determining whether the dedicated server flashing system is successful; if the dedicated server flashing system is successful, loading a BIOS flashing program and a BIOS file; and executing the BIOS flashing program to flash the BIOS file to the dedicated server. This method enables batch flashing of dedicated server BIOS without the need for media such as optical discs, without manual intervention, and leaves no access records or other information in the system or BIOS logs, thus avoiding the creation of access information in user application scenarios. This application also discloses an apparatus, device, and computer-readable storage medium for flashing the BIOS of a dedicated server, all of which have the above-mentioned technical effects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of server technology, and in particular to a method for flashing the BIOS (Basic Input Output System) of a dedicated server; it also relates to an apparatus, device, and computer-readable storage medium for flashing the BIOS of a dedicated server. Background Technology

[0002] Batch BIOS flashing is an indispensable operation in server production and testing. When the number of servers is small, online flashing can be used. However, when the number of servers is large, such as dozens or hundreds, it not only requires a large amount of consumables but also complicates the production process, turning what was originally a technical task into repetitive manual labor. Furthermore, flashing BIOS on a large number of servers requires personnel to operate and monitor each one individually, significantly increasing the error rate and labor costs. This is especially true for dedicated servers (which have their own dedicated systems, hard drives, BIOS, and unique components—security cards. Due to security requirements, many functions common in computers and servers cannot be performed on dedicated servers, such as internet connection, remote BMC web access, and direct PXE (Preboot Execution Environment) functionality). Currently, BIOS flashing on dedicated servers mainly involves burning the BIOS using a programmer or performing a single-machine BIOS flash via USB flash drive or optical disc; there is no technology for batch online BIOS flashing on dedicated servers. Additionally, due to the specific security requirements of dedicated servers, external PCs will leave access logs. If customers discover operational information left over from production or field delivery, it will inevitably cause more trouble. Therefore, how to flash the BIOS of a dedicated server has become a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention

[0003] The purpose of this application is to provide a method for flashing the BIOS of a dedicated server, enabling batch flashing of the BIOS of dedicated servers without the need for media such as optical discs, without manual intervention, and without leaving any access records or information in the system or BIOS logs, thus avoiding the leaving of access information in user application scenarios. Another purpose of this application is to provide an apparatus, device, and computer-readable storage medium for flashing the BIOS of a dedicated server, all of which have the above-mentioned technical effects.

[0004] To address the aforementioned technical problems, this application provides a method for flashing the BIOS of a dedicated server, comprising:

[0005] The dedicated server filling system is booted using a development version of the BIOS on a dedicated server;

[0006] Determine whether the dedicated server filling system is successful;

[0007] If the dedicated server flashing system is successful, the BIOS flashing program and BIOS file will be loaded.

[0008] The BIOS burning program is executed to burn the BIOS file to the dedicated server.

[0009] Optionally, booting the dedicated server potting system via a development version of the BIOS on the dedicated server includes:

[0010] Request an IP address from the server;

[0011] A network connection is established with the server based on the obtained IP address;

[0012] Read the boot menu from the server;

[0013] Determine whether to enter the guide menu;

[0014] If the boot menu is accessed, the system kernel file will be loaded to perform system installation.

[0015] Optional, also includes:

[0016] If the boot menu is not accessed, the server and DHCP configuration files and TFTP configuration files are checked, and the boot menu and subsequent steps are re-executed.

[0017] Optional, also includes:

[0018] If the dedicated server filling system fails, check the server and NFS configurations and re-execute the filling system steps.

[0019] Optional, also includes:

[0020] If the BIOS file fails to be successfully burned to the dedicated server, check the BIOS burning program and re-burn the BIOS file.

[0021] Optional, also includes:

[0022] Configure DHCP, TFTP, and NFS services on the server.

[0023] Optional, also includes:

[0024] Determine whether the server has a system image;

[0025] If it does not exist, then configure the system image on the server.

[0026] To address the aforementioned technical problems, this application also provides an apparatus for flashing the BIOS of a dedicated server, comprising:

[0027] A filling module is used to boot the dedicated server filling system via a development version of the BIOS on a dedicated server;

[0028] The judgment module is used to determine whether the dedicated server filling system is successful;

[0029] A loading module is used to load the BIOS burning program and BIOS file if the dedicated server potting system is successfully installed.

[0030] The programming module is used to execute the BIOS programming program to program the BIOS file onto the dedicated server.

[0031] To address the aforementioned technical problems, this application also provides a device for flashing the BIOS of a dedicated server, comprising:

[0032] Memory, used to store computer programs;

[0033] A processor, used to implement the steps of the method for flashing the BIOS of a dedicated server as described in any of the preceding claims when executing the computer program.

[0034] To address the aforementioned technical problems, this application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the method for flashing the BIOS of a dedicated server as described in any of the preceding claims.

[0035] The method for flashing the BIOS of a dedicated server provided in this application includes: booting the dedicated server flashing system through a development version of the BIOS on the dedicated server; determining whether the dedicated server flashing system is successful; if the dedicated server flashing system is successful, loading the BIOS flashing program and the BIOS file; and executing the BIOS flashing program to flash the BIOS file to the dedicated server.

[0036] As can be seen, the method for flashing the BIOS of a dedicated server provided in this application, after the system installation is complete, can significantly improve work efficiency by performing batch flashes of the BIOS. During the entire process, some preparatory work only needs to be done once; for example, uploading the BIOS file and program to the server only needs to be done once, avoiding waste of materials such as CDs and significantly saving costs while reducing preparatory work. Furthermore, while improving efficiency and saving costs, the most critical security of the dedicated machine is still guaranteed. No other external networks or unnecessary media are introduced during the BIOS flashing process. Therefore, no access records or other information are left in the system or BIOS logs during this process, avoiding the possibility of leaving access information in user application scenarios and causing user questions.

[0037] The apparatus, device, and computer-readable storage medium for flashing the BIOS of a dedicated server provided in this application all have the aforementioned technical effects. Attached Figure Description

[0038] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the prior art and embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0039] Figure 1 A flowchart illustrating a method for flashing the BIOS of a dedicated server, provided in an embodiment of this application;

[0040] Figure 2 A schematic diagram of an apparatus for flashing the BIOS of a dedicated server, provided in an embodiment of this application;

[0041] Figure 3 This is a schematic diagram of a device for flashing the BIOS of a dedicated server, provided as an embodiment of this application. Detailed Implementation

[0042] The core of this application is to provide a method for flashing the BIOS of a dedicated server, enabling batch flashing of the BIOS of dedicated servers without the need for media such as optical discs, without manual intervention, and without leaving any access records or information in the system or BIOS logs, thus avoiding the leaving of access information in user application scenarios. Another core aspect of this application is to provide an apparatus, device, and computer-readable storage medium for flashing the BIOS of a dedicated server, all of which have the aforementioned technical effects.

[0043] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0044] Please refer to Figure 1 , Figure 1 This is a flowchart illustrating a method for flashing the BIOS of a dedicated server according to an embodiment of this application. (Refer to...) Figure 1 As shown, the method includes:

[0045] S101: Boot the dedicated server filling system via a development version of the BIOS on the dedicated server;

[0046] Dedicated servers typically resemble general-purpose servers in appearance, but they possess their own dedicated operating systems, hard drives, BIOS, and a unique component—a security card. Due to security requirements, many functions and operations common on general-purpose servers cannot be performed on dedicated servers. This has led to the current practice of flashing the BIOS on dedicated servers primarily using a programmer or a standalone flash via USB drive or optical disc. To overcome these limitations, this embodiment employs a strategy of batch flashing the BIOS on dedicated servers after installing the operating system. This allows for unattended, batch BIOS flashing of dedicated servers. The method utilizes scripts written on the server side to load system files located on the server via DHCP (Dynamic Host Configuration Protocol), TFTP (Trivial File Transfer Protocol), and NFS (Network File System) services. The prepared BIOS files are then automatically batch-flashed on the system-installed servers via network cable in a manner similar to system installation.

[0047] The technical solution provided in this embodiment is mainly accomplished by the server and the client, i.e., a dedicated server that needs to update the BIOS. To implement this solution, the server needs to meet the following conditions: the server supports networking and has DHCP, TFTP, and NFS services for allocating IP addresses and providing downloads. If the server does not have DHCP, TFTP, and NFS services, then the server needs to allow the installation of these services to ensure that the above conditions are met after installation. Therefore, in some embodiments, the solution further includes configuring DHCP, TFTP, and NFS services on the server. That is, for servers that do not have DHCP, TFTP, and NFS services, these services are configured on the server.

[0048] In addition, in order to implement the technical solution provided in this embodiment, the client, i.e., the dedicated server that needs to flash the BIOS, needs to have a development version of the BIOS to support the PXE bootable refill system and boot into the BIOS refill interface.

[0049] In short, the system boots from the development version of the BIOS and enters the user interface. The DHCP service on the server, which stores system files, assigns an address, specifying the next service address. The TFTP service stores the system image boot file, and finally, the system is installed via system information shared on the NFS server. After the system is installed, PXE automatically executes the script stored on the server. The script indexes the burning program and BIOS files, automatically detects the paths, and automatically completes the batch online burning operation according to the paths specified in the script.

[0050] Step S101 aims to complete the system installation. In some embodiments, booting the dedicated server to install the system via a development version of the BIOS on the dedicated server includes:

[0051] Request an IP address from the server;

[0052] A network connection is established with the server based on the obtained IP address;

[0053] Read the boot menu from the server;

[0054] Determine whether to enter the guide menu;

[0055] If the boot menu is accessed, the system kernel file will be loaded to perform system installation.

[0056] Specifically, the client sends a request to the server to request an IP address. The server responds to the client's request and automatically allocates an IP address to the client from its IP address pool. The client then establishes a network connection with the server based on the obtained IP address. It should be noted that in this embodiment, the network connection established between the client and the server is not the internet. Based on the established network connection, the client reads the EFI file and the grub.cfg file from the server and loads the menu. It then determines whether to enter the boot menu interface. If the boot menu interface is entered, the system kernel file is further loaded for system installation.

[0057] The system installed on the client side is the fourth phase system.

[0058] Additionally, in some embodiments, it also includes;

[0059] If the boot menu is not accessed, the server and DHCP configuration files and TFTP configuration files are checked, and the boot menu and subsequent steps are re-executed.

[0060] In this embodiment, if it is determined that the boot menu interface will not be entered, the server and the DHCP and TFTP configuration files are checked first. After the check is completed, the boot menu is read again to determine whether the boot menu is entered.

[0061] S102: Determine whether the dedicated server filling system is successful;

[0062] S103: If the dedicated server flashing system is successful, then load the BIOS flashing program and BIOS file;

[0063] S104: Execute the BIOS burning program to burn the BIOS file to the dedicated server.

[0064] The process determines whether the dedicated server system installation was successful. If successful, the BIOS script is executed to load the BIOS flashing program and BIOS file, and then the BIOS file is flashed onto the dedicated server to complete the BIOS update. In other words, a successful dedicated server system installation is a prerequisite for updating the dedicated server's BIOS.

[0065] In some embodiments, the following are also included:

[0066] If the dedicated server filling system fails, check the server and NFS configurations and re-execute the filling system steps.

[0067] In this embodiment, when it is determined that the dedicated server filling system has failed, the server and NFS configurations are checked first, and the operation on the dedicated server filling system is re-executed until the dedicated server filling system succeeds.

[0068] Furthermore, based on the above embodiments, as a specific implementation method, it also includes:

[0069] If the BIOS file fails to be successfully burned to the dedicated server, check the BIOS burning program and re-burn the BIOS file.

[0070] Burning the BIOS file to a dedicated server can usually be completed within a limited time. Therefore, it's possible to determine whether the BIOS file has been successfully burned to the dedicated server within a certain period after the start of the burning process. If the BIOS file has been successfully burned to the dedicated server, the process ends; if the BIOS file has not been successfully burned to the dedicated server, the BIOS burning program is first checked, and then the BIOS burning program is re-executed to burn the BIOS file.

[0071] Furthermore, based on the above embodiments, as a specific implementation method, it also includes:

[0072] Determine whether the server has a system image;

[0073] If it does not exist, then configure the system image on the server.

[0074] Installing the system onto a dedicated server requires the existence of a system image on the server. Therefore, this embodiment determines whether a system image exists on the server. If the system image does not exist, it is configured on the server to ensure its existence. If the system image already exists on the server, it is not necessary to configure it again. The method to determine whether a system image exists on the server can be: check if the system image exists in the default directory where system files are stored, using the command `ls / opt / osupdate / aarch64 / single / kylin-disk-120-zf`. Here, `kylin-disk-120-zf` is the name of the system image.

[0075] After configuring the system image on the server, the system is installed, and upon completion, the BIOS flashing interface is accessed. The firmware version to be flashed is selected in the BIOS flashing interface, followed by the burning of the BIOS file (via TFTP protocol). Throughout this process, the entire procedure is performed via the BMC (Baseboard Management Controller) and IPMI (Intelligent Platform Management Interface) interfaces within the development BIOS and media boot environment. This ensures that the connection logs are not recorded by the dedicated system or BIOS, eliminating the risk of customer confusion due to information logging.

[0076] In summary, the method for flashing the BIOS of a dedicated server provided in this application includes: booting the dedicated server's installation system using a development version of the BIOS on the dedicated server; determining whether the installation system is successful; if successful, loading the BIOS burning program and BIOS file; and executing the BIOS burning program to burn the BIOS file to the dedicated server. It is evident that the method for flashing the BIOS of a dedicated server provided in this application, after system installation is complete, allows for batch flashing of the dedicated server's BIOS, significantly improving work efficiency. During the entire process, some preparatory work only needs to be done once, such as uploading the BIOS file and program to the server, avoiding waste of materials like CDs and greatly saving costs while reducing preparatory work. Furthermore, while improving efficiency and saving costs, the most critical security aspect of the dedicated machine is still guaranteed. The entire BIOS flashing process does not introduce any other external networks or unnecessary media. Therefore, during this process, no access records or other information are left in the system or BIOS logs, avoiding the possibility of leaving access information in user application scenarios and causing user questions.

[0077] This application also provides an apparatus for flashing the BIOS of a dedicated server, which is described below and can be referred to in conjunction with the method described above. Please refer to... Figure 2 , Figure 2 This is a schematic diagram of an apparatus for flashing the BIOS of a dedicated server, provided in an embodiment of this application. Figure 2 As shown, the device includes:

[0078] Filling module 10 is used to boot the dedicated server filling system via a development version of the BIOS on the dedicated server;

[0079] The judgment module 20 is used to determine whether the dedicated server filling system is successful;

[0080] Loading module 30 is used to load the BIOS burning program and BIOS file if the dedicated server potting system is successful.

[0081] The programming module 40 is used to execute the BIOS programming program to program the BIOS file to the dedicated server.

[0082] Specifically, the filling module 10 is responsible for guiding the dedicated server filling system through the development version of the BIOS on the dedicated server, and the judgment module 20 is responsible for determining whether the dedicated server filling system is successful. If the dedicated server filling system is successful, the loading module 30 loads the BIOS burning program and BIOS file, and the burning module executes the BIOS script to load the BIOS burning program and BIOS file, burning the BIOS file to the dedicated server to complete the BIOS flashing.

[0083] Based on the above embodiments, as a specific implementation method, the filling module 10 includes:

[0084] The application unit is used to request an IP address from the server.

[0085] A connection unit is used to establish a network connection with the server based on the obtained IP address;

[0086] The reading unit is used to read the guide menu from the server.

[0087] A determination unit is used to determine whether to enter the guide menu;

[0088] The filling unit is used to load the system kernel file and perform system filling if the boot menu is entered.

[0089] Specifically, the request unit sends a request to the server to apply for an IP address. The server responds to the request and automatically allocates an IP address from its IP address pool. The connection unit establishes a network connection between the client and the server based on the obtained IP address. It should be noted that in this embodiment, the network connection established between the client and the server is not the Internet. Based on the established network connection, the reading unit reads the EFI file and the grub.cfg file from the server and loads the menu. The judgment unit determines whether the boot menu interface has been entered. If the boot menu interface has been entered, the filling unit further loads the system kernel file to perform system filling.

[0090] Based on the above embodiments, as a specific implementation method, it further includes:

[0091] The first inspection module is used to inspect the server and DHCP configuration files and TFTP configuration files, and reread the boot menu if the boot menu is not entered.

[0092] Specifically, in this embodiment, when the judgment module 20 determines that the dedicated server filling system has failed, the first checking module first checks the server and NFS configuration, and re-executes the operation on the dedicated server filling system until the dedicated server filling system succeeds.

[0093] Based on the above embodiments, as a specific implementation method, it further includes:

[0094] The second inspection module is used to check the server and NFS configuration and re-execute the steps of the filling system if the dedicated server filling system fails.

[0095] Specifically, in this embodiment, when it is determined that the dedicated server filling system has failed, the second checking module first checks the server and NFS configuration, and then re-executes the operation on the dedicated server filling system until the dedicated server filling system succeeds.

[0096] Based on the above embodiments, as a specific implementation method, it further includes:

[0097] The third inspection module is used to inspect the BIOS burning program and re-burn the BIOS file when the BIOS file is not successfully burned to the dedicated server.

[0098] Specifically, burning the BIOS file to a dedicated server can usually be completed within a limited time. Therefore, it's possible to determine whether the BIOS file has been successfully burned to the dedicated server within a certain period after the start of the BIOS file burning process. If the BIOS file has been successfully burned to the dedicated server, the process ends; if the BIOS file has not been successfully burned to the dedicated server, the third checking module first checks the BIOS burning program and then re-executes the BIOS burning program to burn the BIOS file.

[0099] Based on the above embodiments, as a specific implementation method, it further includes:

[0100] The configuration module is used to configure DHCP service, TFTP service and NFS service on the server.

[0101] Specifically, to implement the technical solution provided in this embodiment, the server needs to meet the following conditions: the server supports the network and has DHCP, TFTP, and NFS services for allocating IP addresses and providing downloads. If the server does not have DHCP, TFTP, and NFS services, then the server needs to allow the installation of these services so that the above conditions can be met after their installation. Therefore, for servers that do not have DHCP, TFTP, and NFS services, the configuration module first needs to configure these services on the server.

[0102] Based on the above embodiments, as a specific implementation method, it further includes:

[0103] The image detection module is used to determine whether the server has a system image.

[0104] The image configuration module is used to configure the system image on the server if it does not exist.

[0105] Specifically, installing the system onto the dedicated server requires the existence of a system image on the server. Therefore, this embodiment uses an image determination module to check if a system image exists on the server. If the system image does not exist, the image configuration module configures the system image on the server to ensure its existence. If the system image already exists on the server, no further configuration is needed. The image determination module checks for the existence of the system image by checking if the system image exists in the default directory where system files are stored, using the command `ls / opt / osupdate / aarch64 / single / kylin-disk-120-zf`. Here, `kylin-disk-120-zf` is the system image name.

[0106] After configuring the system image on the server, the system is installed. Once installation is complete, the system enters the bootable BIOS flashing interface. In the BIOS flashing interface, the firmware version to be flashed is selected, and then the BIOS file is burned (via TFTP protocol). Throughout this process, the entire procedure is performed through the BMC IPMI interface in a development BIOS and media boot environment. This ensures that the connection logs are not recorded by the dedicated system or BIOS, eliminating the risk of customer confusion due to information logging.

[0107] The device for flashing the BIOS of a dedicated server provided in this application can perform batch flashing of the BIOS of a dedicated server after system installation, which can greatly improve work efficiency. During the entire process, some preparatory work only needs to be done once, such as uploading the BIOS file and program to the server, avoiding waste of materials such as CDs and significantly saving costs while reducing preparation work. Furthermore, while improving efficiency and saving costs, the most critical security of the dedicated machine is still guaranteed. No other external networks or unnecessary media are introduced during the BIOS flashing process. Therefore, no access records or other information are left in the system or BIOS logs during this process, avoiding the possibility of leaving access information in user application scenarios and causing user disputes.

[0108] This application also provides a device for flashing the BIOS of a dedicated server, see reference. Figure 3 As shown, the device includes a memory 1 and a processor 2.

[0109] Memory 1 is used to store computer programs;

[0110] Processor 2 is used to execute computer programs to perform the following steps:

[0111] The dedicated server is booted using a development version of the BIOS on the dedicated server; the successful installation of the dedicated server is determined; if the installation is successful, the BIOS flashing program and BIOS file are loaded; the BIOS flashing program is executed to flash the BIOS file to the dedicated server.

[0112] For a description of the equipment provided in this application, please refer to the above method embodiments; further details will not be provided here.

[0113] The device for flashing the BIOS of dedicated servers provided in this application can perform batch flashing of the BIOS of dedicated servers after system installation, which can greatly improve work efficiency. During the entire process, some preparatory work only needs to be done once. Furthermore, while improving efficiency and saving costs, the most critical security of the dedicated machine is still guaranteed. No other external networks or unnecessary media are introduced during the BIOS flashing process. Therefore, no access records or other information are left in the system or BIOS logs during this process, avoiding the possibility of leaving access information in user application scenarios and causing user disputes.

[0114] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, can perform the following steps:

[0115] The dedicated server is booted using a development version of the BIOS on the dedicated server; the successful installation of the dedicated server is determined; if the installation is successful, the BIOS flashing program and BIOS file are loaded; the BIOS flashing program is executed to flash the BIOS file to the dedicated server.

[0116] The computer-readable storage medium may include various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0117] For a description of the computer-readable storage medium provided in this application, please refer to the above method embodiments; further details will not be repeated here.

[0118] The computer-readable storage medium provided in this application enables batch flashing of the BIOS of a dedicated server after system installation, significantly improving work efficiency. Some preparatory work only needs to be done once. Furthermore, while improving efficiency and saving costs, the critical security of the dedicated machine is still guaranteed. No other external networks or unnecessary media are introduced during the BIOS flashing process. Therefore, no access records or other information are left in the system or BIOS logs during this process, avoiding the possibility of leaving access information in user application scenarios and causing user disputes.

[0119] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatuses, devices, and computer-readable storage media disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple; relevant details can be found in the method section.

[0120] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0121] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0122] The foregoing has provided a detailed description of the method, apparatus, device, and computer-readable storage medium for flashing the BIOS of a dedicated server. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are merely for the purpose of helping to understand the method and its core ideas. It should be noted that those skilled in the art can make various improvements and modifications to this application without departing from its principles, and these improvements and modifications also fall within the protection scope of the claims of this application.

Claims

1. A method for flashing the BIOS of a dedicated server, characterized in that, include: The dedicated server filling system is booted using a development version of the BIOS on a dedicated server; Determine whether the dedicated server filling system is successful; Flashing the BIOS of a dedicated server requires that the system be successfully installed on the dedicated server. If the dedicated server flashing system is successful, the BIOS flashing program and BIOS file will be loaded. The BIOS burning program is executed to burn the BIOS file to the dedicated server; system loading and BIOS file burning are performed through the intelligent platform management interface of the baseboard management controller in the BIOS and media boot environment of the development board; The process of booting the dedicated server refill system via a development version of the BIOS on a dedicated server includes: Request an IP address from the server; A network connection is established between the client and the server based on the obtained IP address; the network connection established between the client and the server is not the Internet. Read the boot menu from the server; Determine whether to enter the guided menu; If the boot menu is accessed, the system kernel file will be loaded and the system will be installed. If the boot menu is not accessed, the server and DHCP configuration files and TFTP configuration files are checked, and the boot menu and subsequent steps are re-executed.

2. The method for flashing the BIOS of a dedicated server according to claim 1, characterized in that, Also includes: If the dedicated server filling system fails, check the server and NFS configurations and re-execute the filling system steps.

3. The method for flashing the BIOS of a dedicated server according to claim 1, characterized in that, Also includes: If the BIOS file fails to be successfully burned to the dedicated server, check the BIOS burning program and re-burn the BIOS file.

4. The method for flashing the BIOS of a dedicated server according to claim 1, characterized in that, Also includes: Configure DHCP, TFTP, and NFS services on the server side.

5. The method for flashing the BIOS of a dedicated server according to claim 1, characterized in that, Also includes: Determine if a system image exists on the server; If it does not exist, then configure the system image on the server.

6. An apparatus for flashing the BIOS of a dedicated server, characterized in that, include: A filling module is used to boot the dedicated server filling system via a development version of the BIOS on a dedicated server; The judgment module is used to determine whether the dedicated server filling system is successful; Flashing the BIOS of a dedicated server requires that the system be successfully installed on the dedicated server. A loading module is used to load the BIOS burning program and BIOS file if the dedicated server potting system is successfully installed. The programming module is used to execute the BIOS programming program to program the BIOS file onto the dedicated server. System loading and BIOS file burning are performed through the intelligent platform management interface of the baseboard management controller in the BIOS and media boot environment of the development board; The filling module includes: The application unit is used to request an IP address from the server. The connection unit is used to establish a network connection with the server based on the obtained IP address; the network connection established between the client and the server is not the Internet. The reading unit is used to read the guide menu from the server. A determination unit is used to determine whether to enter the guide menu; A filling unit is used to load the system kernel file and perform system filling if the boot menu is entered; The device further includes a first inspection module, used to inspect the server and DHCP configuration file and TFTP configuration file, and reread the boot menu if the boot menu is not entered.

7. A device for flashing the BIOS of a dedicated server, characterized in that, include: Memory, used to store computer programs; A processor, configured to implement the steps of the method for flashing the BIOS of a dedicated server as described in any one of claims 1 to 5 when executing the computer program.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method for flashing the BIOS of a dedicated server as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • System installation method and device

    CN113407201A