Upgrade method and apparatus for basic input / output system, and non-volatile computer-readable storage medium

By introducing a Baseboard Management Controller (BMC) into the server to store BIOS operating parameters, the problem of the impact of BIOS upgrades on server operating parameters is solved, persistent storage of parameters is achieved, and the stability and reliability of the server are improved.

WO2025260861A1PCT designated stage Publication Date: 2025-12-26INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/082701
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-06-18
Filing Date
2025-03-14
Publication Date
2025-12-26

AI Technical Summary

Technical Problem

In existing technologies, upgrading the Basic Input/Output System (BIOS) has a significant impact on server operating parameters, making it impossible to optimize and adjust according to customers' personalized needs, and the modified parameters cannot be retained after the BIOS version upgrade.

Method used

By deploying a Baseboard Management Controller (BMC) in the server, the current server operating parameters are detected and stored during BIOS operation, and the parameters are configured to the last server operating parameters stored in the BMC when the BIOS system version is upgraded, thus achieving parameter persistence.

Benefits of technology

This effectively reduces the impact of BIOS upgrades on server operating parameters, ensuring that personalized parameters remain effective after system version upgrades, thus improving server stability and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025082701_26122025_PF_FP_ABST
    Figure CN2025082701_26122025_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present application are an upgrade method and apparatus for a basic input / output system, and a non-volatile computer-readable storage medium. The upgrade method for a basic input / output system comprises: during the operation of a basic input / output system, detecting a parameter state of a server operating parameter which is currently used by the basic input / output system; when it is detected that the parameter state is used for indicating that the server operating parameter has been modified to the current server operating parameter, controlling a baseboard management controller to store the current server operating parameter; and when the basic input / output system is undergoing a system version upgrade, controlling the basic input / output system to configure a server operating parameter in use to be a server operating parameter finally stored in the baseboard management controller. By means of the technical solution, the problems in the pertinent art of the impact of the upgrade of a basic input / output system on a currently used server operating parameter being significant, etc., are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Method and device for upgrading basic input output system, computer nonvolatile readable storage medium

[0001] Cross-reference to related applications

[0002] The present application claims priority from the Chinese patent application No. 202410784073.8 filed on June 18, 2024, and entitled "Method and device for upgrading basic input output system, storage medium", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0003] Embodiments of the present application relate to the field of computers, and in particular, to a method and device for upgrading a basic input output system, and a computer nonvolatile readable storage medium. BACKGROUND

[0004] Currently, a server needs to be configured with corresponding components such as GPUs, storage devices, DPU cards, and multi-network cards to meet the needs of different businesses such as AI, data storage, computing-intensive, and search. The performance of a core CPU processor and its BIOS configuration are crucial to the performance of the server. However, since the server needs to be oriented to multiple customers, it is not possible to modify the current server running parameters for a single customer's individual needs, which limits the optimization and adjustment for specific customers.

[0005] In related technologies, the server running parameters can be modified under an operating system through an AMI SCE tool. However, this modification is only valid for the current time, and the modified server running parameters will not be preserved and will be restored to the default server running parameters when the BIOS version is upgraded. Therefore, there is a technical problem that the upgrading of the basic input output system has a large impact on the current server running parameters. SUMMARY

[0006] Embodiments of the present application provide a method and device for upgrading a basic input output system, and a computer nonvolatile readable storage medium to at least solve the problem that the upgrading of the basic input output system has a large impact on the current server running parameters in related technologies.

[0007] According to one embodiment of the embodiments of the present application, an upgrading method of a basic input and output system is provided. A baseboard management controller and a server processor are deployed in a server. The baseboard management controller is connected with the server processor. The server processor runs a basic input and output system. The method is applied to the server processor. The method comprises:

[0008] In the process of running the basic input and output system, a parameter state of a server running parameter currently used by the basic input and output system is detected. The server running parameter is used to control a running mode of hardware in the server and a starting mode of the server.

[0009] In a case where it is detected that the parameter state is used to indicate that the server running parameter has been modified to a current server running parameter, the baseboard management controller is controlled to store the current server running parameter.

[0010] In a case where the basic input and output system performs system version upgrading, the basic input and output system is controlled to configure a server running parameter used by the basic input and output system to a last stored server running parameter in the baseboard management controller.

[0011] In some embodiments, the baseboard management controller is controlled to store the current server running parameter, comprising:

[0012] It is detected whether the basic input and output system currently meets a target sending condition.

[0013] In a case where it is detected that the basic input and output system meets the target sending condition, the basic input and output system is controlled to send the current server running parameter to the baseboard management controller. The baseboard management controller is set to store the received current server running parameter.

[0014] In some embodiments, it is detected whether the basic input and output system currently meets the target sending condition, comprising:

[0015] It is detected whether the basic input and output system is in a target synchronization mode. The target synchronization mode is a mode in which the basic input and output system is allowed to send the current server running parameter to the baseboard management controller.

[0016] In a case where it is detected that the basic input and output system is in the target synchronization mode, it is determined that the basic input and output system currently meets the target sending condition.

[0017] In some embodiments, it is detected whether the basic input and output system currently meets the target sending condition, comprising:

[0018] It is detected whether the basic input and output system is in a target synchronization mode. The target synchronization mode is a mode in which the basic input and output system is allowed to send the current server running parameter to the baseboard management controller.

[0019] In the case that the basic input / output system is detected to be in the target synchronization mode, a current flag bit state of a target flag bit in the baseboard management controller is detected, wherein the flag bit state is used to indicate whether the current server running parameter needs to be stored to the baseboard management controller;

[0020] In the case that the current flag bit state of the target flag bit is detected to be the target flag bit state, it is determined that the basic input / output system currently meets the target sending condition, wherein the target flag bit state is used to indicate that the current server running parameter needs to be stored to the baseboard management controller.

[0021] In some embodiments, detecting whether the basic input / output system is in the target synchronization mode comprises:

[0022] Detecting whether the basic input / output system is currently executed with a target interrupt operation;

[0023] After detecting that the basic input / output system is currently executed with the target interrupt operation, it is determined whether the basic input / output system is in the target synchronization mode, wherein the basic input / output system enters the target synchronization mode in the case that the target interrupt operation is executed.

[0024] In some embodiments, a target communication interface is deployed on the baseboard management controller, the baseboard management controller is connected with the server processor through the target communication interface, and the baseboard management controller allows communication between the target communication interface and the basic input / output system, controls the basic input / output system to send the current server running parameter to the baseboard management controller, and comprises:

[0025] Controlling the basic input / output system to send the current server running parameter to the target communication interface on the baseboard management controller.

[0026] In some embodiments, after controlling the basic input / output system to send the current server running parameter to the target communication interface on the baseboard management controller, the method further comprises:

[0027] Controlling the baseboard management controller to receive the current server running parameter from the target communication interface;

[0028] In the case that the baseboard management controller completes the reception of the current server running parameter, controlling the baseboard management controller to store the current server running parameter to a target configuration file.

[0029] In some embodiments, controlling the baseboard management controller to store the current server running parameter to the target configuration file comprises one of the following:

[0030] The baseboard management controller stores the current server running parameter and a parameter modification time corresponding to the current server running parameter to a target configuration file, where the parameter modification time is a time when the server running parameter is modified to the current server running parameter.

[0031] The baseboard management controller clears the server running parameter currently stored in the target configuration file, and stores the current server running parameter to the target configuration file.

[0032] In some embodiments, before the baseboard management controller stores the current server running parameter, the method further includes:

[0033] detecting whether the basic input output system satisfies a target upgrade condition, where the target upgrade condition is a condition required to be satisfied by the basic input output system to perform a system version upgrade;

[0034] In a case where it is detected that the basic input output system satisfies the target upgrade condition, the baseboard management controller stores the current server running parameter.

[0035] The baseboard management controller controls the basic input output system to perform the system version upgrade.

[0036] In some embodiments, after detecting whether the basic input output system satisfies the target upgrade condition, the method further includes:

[0037] In a case where it is detected that the basic input output system does not satisfy the target upgrade condition, the baseboard management controller is not allowed to store the current server running parameter.

[0038] In some embodiments, detecting whether the basic input output system satisfies the target upgrade condition includes:

[0039] detecting whether the basic input output system has a target upgrade resource required to perform a version upgrade operation, where the version upgrade operation is an operation of upgrading the system version of the basic input output system;

[0040] In a case where it is detected that the basic input output system has the target upgrade resource, it is determined that the basic input output system satisfies the target upgrade condition.

[0041] In some embodiments, detecting a parameter state of the server running parameter currently used by the basic input output system includes:

[0042] detecting whether the server running parameter currently used by the basic input output system is executed a target modification operation;

[0043] In a case where it is detected that the server running parameter currently used by the basic input and output system is executed a target modification operation, the parameter state is determined to indicate that the server running parameter is modified to the current server running parameter.

[0044] In some embodiments, detecting whether the server running parameter currently used by the basic input and output system is executed a target modification operation comprises:

[0045] Detecting whether the basic input and output system is currently connected to a target modification tool, wherein the target modification tool is a tool with the capability of modifying the server running parameter currently used by the basic input and output system;

[0046] In a case where it is detected that the basic input and output system is currently connected to the target modification tool, detecting whether the server running parameter currently used by the basic input and output system is changed;

[0047] In a case where it is detected that the server running parameter currently used by the basic input and output system is changed, it is determined that the server running parameter currently used by the basic input and output system is executed a target modification operation.

[0048] In some embodiments, controlling the basic input and output system to configure the server running parameter used as the last stored server running parameter in the baseboard management controller comprises:

[0049] Invoking the baseboard management controller to send the last stored server running parameter to the basic input and output system;

[0050] Controlling the basic input and output system to configure the server running parameter used as the received last stored server running parameter.

[0051] In some embodiments, the server is deployed with a plurality of server processors, the server processor running the basic input and output system, and the server processor applying the upgrade method of the basic input and output system are different server processors in the plurality of server processors; or

[0052] The server processor comprises a plurality of processing cores, one processing core in the server processor running the basic input and output system, and the upgrade method of the basic input and output system is applied to another processing core in the server processor.

[0053] In some embodiments, controlling the basic input and output system to configure the server running parameter used as the last stored server running parameter in the baseboard management controller further comprises:

[0054] Controlling the basic input and output system to read the last stored server running parameter from the baseboard management controller;

[0055] The control basic input and output system configures the used server running parameter as the last stored server running parameter received.

[0056] According to another embodiment of the present application, a basic input and output system upgrading device is also provided. The server is deployed with a baseboard management controller and a server processor. The baseboard management controller is connected with the server processor. The basic input and output system is run in the server processor. The basic input and output system upgrading device is applied to the server processor. The basic input and output system upgrading device comprises:

[0057] The first detection module is configured to detect a parameter state of a server running parameter currently used by the basic input and output system during running of the basic input and output system. The server running parameter is used to control a running mode of hardware in the server and a starting mode of the server.

[0058] The first control module is configured to control the baseboard management controller to store the current server running parameter in the case that the parameter state is used to indicate that the server running parameter has been modified to the current server running parameter.

[0059] The second control module is configured to control the basic input and output system to configure the used server running parameter as the last stored server running parameter in the baseboard management controller in the case that the basic input and output system performs system version upgrading.

[0060] According to still another embodiment of the present application, a computer program product is also provided. The computer program product comprises a computer program. The computer program is configured to execute the steps in any of the above method embodiments when executed by a processor.

[0061] According to still another embodiment of the present application, a computer non-volatile readable storage medium is also provided. The computer non-volatile readable storage medium stores a computer program. The computer program is configured to execute the steps in any of the above method embodiments when executed by a processor.

[0062] According to still another embodiment of the present application, an electronic device is also provided. The electronic device comprises a memory and a processor. The memory stores a computer program. The processor is configured to execute the computer program to execute the steps in any of the above method embodiments.

[0063] In the embodiment of the present application, a basic input and output system upgrading method is provided. A baseboard management controller and a server processor are deployed in a server. The baseboard management controller is connected with the server processor. The server processor runs a basic input and output system. The method is applied to the server processor. The method comprises the following steps: detecting a parameter state of a server running parameter currently used by the basic input and output system in a process in which the basic input and output system runs, and controlling the baseboard management controller to store the current server running parameter in a case where it is detected that the parameter state is used to indicate that the server running parameter has been modified to the current server running parameter. The server running parameter is used to control a running mode of hardware in the server and a starting mode of the server. Then, the server running parameter used by the basic input and output system can be configured to the last stored server running parameter in the baseboard management controller in a case where the basic input and output system performs system version upgrading. In this way, the baseboard management controller is controlled to store the current server running parameter in advance, and the server running parameter used by the basic input and output system is controlled to be configured to the last stored server running parameter in the baseboard management controller, i.e., the current server running parameter stored in advance, in a case where the basic input and output system performs system version upgrading. Thus, the problem that the originally modified server running parameter will be restored to a default server running parameter caused by system version upgrading of the related basic input and output system can be avoided. By using the above technical solution, the problem that the upgrading of the basic input and output system has a large influence on the currently used server running parameter in the related art is solved, and the technical effect of reducing the influence of the upgrading of the basic input and output system on the currently used server running parameter is achieved. BRIEF DESCRIPTION OF DRAWINGS

[0064] FIG. 1 is a hardware structure block diagram of a computer device of a basic input and output system upgrading method according to an embodiment of the present application;

[0065] FIG. 2 is a flowchart of a basic input and output system upgrading method according to an embodiment of the present application;

[0066] FIG. 3 is a schematic diagram of a server hardware architecture according to an embodiment of the present application;

[0067] FIG. 4 is a schematic diagram of a target communication interface according to an embodiment of the present application;

[0068] FIG. 5 is a schematic diagram of a basic input and output system upgrading method flow according to an embodiment of the present application;

[0069] FIG. 6 is a swim lane diagram of a basic input and output system upgrading method flow according to an embodiment of the present application;

[0070] FIG. 7 is a structural block diagram of a basic input and output system upgrading apparatus according to an embodiment of the present application;

[0071] FIG. 8 is a schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0072] Hereinafter, the embodiments of the present application will be described in detail with reference to the accompanying drawings and in conjunction with embodiments.

[0073] It should be noted that the terms "first", "second" and the like in the description and claims of the present application and the above drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or sequence.

[0074] The method embodiments provided in the embodiments of the present application can be executed in a server device or similar computing device. Taking the case of running on a server device, FIG. 1 is a hardware structure block diagram of a computer device of a basic input and output system upgrading method according to an embodiment of the present application. As shown in FIG. 1, the server device can include one or more (only one is shown in FIG. 1) processors 102 (the processor 102 can include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA (Field-Programmable Gate Array, field programmable gate array) and the like) and a memory 104 for storing data, wherein the above-mentioned server device can further include a transmission device 106 for communication function and an input and output device 108. Those skilled in the art can understand that the structure shown in FIG. 1 is only schematic, which does not limit the structure of the above-mentioned server device. For example, the server device can further include more or less components than those shown in FIG. 1, or have a different configuration from that shown in FIG. 1.

[0075] The memory 104 can be configured to store computer programs, for example, software programs of application software and modules, such as the computer program corresponding to the basic input and output system upgrading method in the embodiments of the present application. The processor 102 performs various function applications and data processing by running the computer programs stored in the memory 104, that is, implements the above-mentioned method. The memory 104 can include a high-speed random access memory, and can further include a non-volatile memory such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some examples, the memory 104 can further include a memory remotely arranged with respect to the processor 102, which can be connected to the server device through a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0076] The transmission device 106 is configured to receive or send data via a network. The network can include, in some embodiments, a wireless network provided by a communication provider of the server device. In one example, the transmission device 106 includes a network adapter (NIC) that can connect to other network devices through a base station to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module for communicating with the Internet wirelessly.

[0077] In the embodiment, a basic input output system upgrading method is provided. FIG. 2 is a flowchart of the basic input output system upgrading method according to the embodiment of the application. As shown in FIG. 2, a baseboard management controller and a server processor are deployed in a server, the baseboard management controller is connected with the server processor, the server processor runs a basic input output system, the method is applied to the server processor, and the flowchart includes the following steps.

[0078] In step S12, a parameter state of a server running parameter currently used by the basic input output system is detected in a process in which the basic input output system runs, where the server running parameter is used to control a running mode of hardware in the server and a starting mode of the server.

[0079] In step S14, the baseboard management controller is controlled to store the current server running parameter in a case where the parameter state is used to indicate that the server running parameter has been modified to the current server running parameter.

[0080] In step S16, the server running parameter used by the basic input output system is configured to the last stored server running parameter in the baseboard management controller in a case where the basic input output system performs system version upgrading.

[0081] In some embodiments, the server running parameter can be, but is not limited to, a BIOS option of the basic input output system BIOS, and the BIOS option can control the running mode of the hardware in the server and the starting mode of the server.

[0082] In some embodiments, FIG. 3 is a schematic diagram of a server hardware architecture according to the embodiment of the application. As shown in FIG. 3, a baseboard management controller BMC and a server processor CPU2 are deployed in a server, the baseboard management controller is connected with the server processor CPU2, the server processor CPU2 runs a basic input output system BIOS, and the basic input output system upgrading method is applied to a server processor CPU0 (or CPU1).

[0083] In the figure 3, the server processor running the BIOS is CPU2, and the BIOS upgrade method is applied to the server processor CPU0 (or CPU1), that is, the server processor is a general concept. The server processor running the BIOS and the server processor applying the BIOS upgrade method can be different server processors or different processing cores of the same server processor. In this way, the running of the BIOS and the execution of the BIOS upgrade method can be avoided from affecting each other, and the stability of the server running is improved.

[0084] As an optional solution, the baseboard management controller is controlled to store the current server running parameter, and the method further comprises:

[0085] S21, detecting whether the BIOS currently meets a target sending condition;

[0086] S22, in the case that it is detected that the BIOS meets the target sending condition, controlling the BIOS to send the current server running parameter to the baseboard management controller, wherein the baseboard management controller is configured to store the received current server running parameter.

[0087] In some embodiments, the method of controlling the baseboard management controller to store the current server running parameter can be, but is not limited to, controlling the BIOS to send the current server running parameter to the baseboard management controller, and before controlling the BIOS to send the current server running parameter to the baseboard management controller, it is necessary to ensure that the BIOS currently meets the target sending condition.

[0088] As an optional solution, detecting whether the BIOS currently meets the target sending condition comprises:

[0089] S32, detecting whether the BIOS is in a target synchronization mode, wherein the target synchronization mode is a mode in which the BIOS is allowed to send the current server running parameter to the baseboard management controller;

[0090] S33, in the case that it is detected that the BIOS is in the target synchronization mode, determining that the BIOS currently meets the target sending condition.

[0091] In some embodiments, the manner of detecting whether the basic input output system currently satisfies the target sending condition can be, but is not limited to, detecting whether the basic input output system is in a target synchronization mode. The target synchronization mode can be, but is not limited to, the SMM (System Management Mode) mode of the BIOS. In a case where it is detected that the basic input output system is in the SMM mode, it is determined that the basic input output system currently satisfies the target sending condition.

[0092] As an optional solution, the manner of detecting whether the basic input output system currently satisfies the target sending condition comprises:

[0093] S41, detecting whether the basic input output system is in a target synchronization mode, wherein the target synchronization mode is a mode in which the basic input output system is allowed to send the current server running parameter to the baseboard management controller;

[0094] S42, in a case where it is detected that the basic input output system is in the target synchronization mode, detecting a current flag state of a target flag bit in the baseboard management controller, wherein the flag state is used to indicate whether the current server running parameter needs to be stored to the baseboard management controller;

[0095] S43, in a case where it is detected that the current flag state of the target flag bit is a target flag state, determining that the basic input output system currently satisfies the target sending condition, wherein the target flag state is used to indicate that the current server running parameter needs to be stored to the baseboard management controller.

[0096] In some embodiments, the manner of detecting whether the basic input output system currently satisfies the target sending condition mentioned above can be, but is not limited to, detecting whether the basic input output system is in the target synchronization mode. In addition, a current flag state of a target flag bit in the baseboard management controller can be further detected. The flag state can indicate whether the current server running parameter needs to be stored to the baseboard management controller. In a case where it is detected that the current flag state of the target flag bit is a target flag state, such as, the target flag bit is 1, it is determined that the basic input output system currently satisfies the target sending condition.

[0097] As an optional solution, the manner of detecting whether the basic input output system is in the target synchronization mode comprises:

[0098] S51, detecting whether a target interrupt operation is currently performed on the basic input output system;

[0099] S52, in a case where it is detected that the target interrupt operation is currently performed on the basic input output system, determining whether the basic input output system is in the target synchronization mode, wherein the basic input output system enters the target synchronization mode in a case where the target interrupt operation is performed.

[0100] In some embodiments, the way to detect whether the basic input and output system is in the target synchronization mode can be but is not limited to detecting whether the basic input and output system is currently executed with a target interrupt operation, where the target interrupt operation can be but is not limited to an SMI (System Management Interrupt) interrupt.

[0101] The triggering way of the SMI interrupt can include but is not limited to triggering the SMI interrupt at the BIOS end by adding an SCE tool of an external AMI / NI (Non-Interactive) parameter.

[0102] As an optional solution, a target communication interface is deployed on the baseboard management controller, the baseboard management controller is connected with the server processor through the target communication interface, and the baseboard management controller allows communication between the target communication interface and the basic input and output system, so as to control the basic input and output system to send the current server running parameters to the baseboard management controller, including:

[0103] S61, controlling the basic input and output system to send the current server running parameters to the target communication interface on the baseboard management controller.

[0104] In some embodiments, FIG. 4 is a schematic diagram of a target communication interface according to an embodiment of the present application, as shown in FIG. 4, the target communication interface can be but is not limited to an SMM KCS IPMI interface (Intelligent Platform Management Interface (IPMI) implemented through Keyboard Controller Style (KCS) protocol in System Management Mode (SMM), an intelligent platform management interface implemented through a keyboard controller style protocol in a system management mode). The baseboard management controller BMC is connected with the server processor CPU2 through the target communication interface SMM KCS IPMI, and the baseboard management controller BMC allows communication between the target communication interface SMM KCS IPMI and the basic input and output system BIOS.

[0105] Controlling the basic input and output system to send the current server running parameters to the baseboard management controller, that is, to the SMM KCS IPMI interface of the baseboard management controller.

[0106] As an optional solution, after controlling the basic input and output system to send the current server running parameters to the target communication interface on the baseboard management controller, the method further includes:

[0107] S71, control the baseboard management controller to receive the current server running parameter from the target communication interface;

[0108] S72, in the case that the baseboard management controller completes the receiving of the current server running parameter, control the baseboard management controller to store the current server running parameter into the target configuration file.

[0109] In some embodiments, after receiving the current server running parameter (i.e. the modified BIOS option), the baseboard management controller controls the baseboard management controller to store the current server running parameter into the target configuration file, wherein the target configuration file can be but is not limited to a JSON file in the BMC.

[0110] As an optional solution, the baseboard management controller controls the baseboard management controller to store the current server running parameter into the target configuration file, including one of the following:

[0111] S81, control the baseboard management controller to store the current server running parameter and the parameter modification time corresponding to the current server running parameter into the target configuration file, wherein the parameter modification time is the time when the server running parameter is modified to the current server running parameter;

[0112] S82, control the baseboard management controller to empty the server running parameter currently stored in the target configuration file, and store the current server running parameter into the target configuration file.

[0113] In some embodiments, the way that the baseboard management controller controls the baseboard management controller to store the current server running parameter into the target configuration file can be but is not limited to the above two ways. One way is non-overlapping storage, i.e. storing the current server running parameter and the parameter modification time corresponding to the current server running parameter into the target configuration file. The other way is overlapping storage, i.e. storing the latest current server running parameter into the target configuration file. The previous server running parameter is emptied.

[0114] As an optional solution, before the baseboard management controller stores the current server running parameter, the method further includes:

[0115] S91, detect whether the basic input and output system meets the target upgrade condition, wherein the target upgrade condition is a condition required to be met by the basic input and output system for system version upgrade;

[0116] S92, in the case that the basic input and output system meets the target upgrade condition, control the baseboard management controller to store the current server running parameter;

[0117] S93, control the basic input and output system to perform system version upgrade.

[0118] In some embodiments, before the baseboard management controller stores the current server running parameter (the modified BIOS option), it can also be determined in advance whether the BIOS has the condition for upgrading. If it has, the modified BIOS option is sent again. This way can reduce the frequency of sending BIOS options. The BIOS option during the period when the BIOS is not upgraded can not be sent to the BMC, reducing the waste of storage resources.

[0119] As an optional solution, the detection of whether the basic input output system meets the target upgrade condition comprises:

[0120] S101, detecting whether the basic input output system has target upgrade resources required for performing a version upgrade operation, wherein the version upgrade operation is an operation of upgrading a system version of the basic input output system;

[0121] S102, in a case where it is detected that the basic input output system has the target upgrade resources, determining that the basic input output system meets the target upgrade condition.

[0122] In some embodiments, the way of detecting whether the basic input output system meets the target upgrade condition is to detect whether the basic input output system has target upgrade resources required for performing a version upgrade operation. The target upgrade resources can be, but are not limited to, resources of the BIOS itself, and also include storage resources, processor resources and the like required for assisting the BIOS upgrade.

[0123] As an optional solution, the detection of the parameter state of the server running parameter currently used by the basic input output system comprises:

[0124] S111, detecting whether the server running parameter currently used by the basic input output system is executed by a target modification operation;

[0125] S112, in a case where it is detected that the server running parameter currently used by the basic input output system is executed by the target modification operation, determining that the parameter state is used to indicate that the server running parameter has been modified to the current server running parameter.

[0126] In some embodiments, the detection of the parameter state of the server running parameter currently used by the basic input output system is essentially to detect whether the server running parameter currently used is modified. When it is detected that the server running parameter currently used by the basic input output system is executed by the target modification operation, it is determined that the parameter state is used to indicate that the server running parameter has been modified to the current server running parameter.

[0127] As an optional solution, the detection of whether the server running parameter currently used by the basic input output system is executed by a target modification operation comprises:

[0128] S121, detecting whether the basic input output system is currently connected to a target modification tool, wherein the target modification tool is a tool with the ability to modify the server running parameter currently used by the basic input output system;

[0129] S122, in the case where it is detected that the basic input output system is currently connected to the target modification tool, detecting whether the server running parameter currently used by the basic input output system is changed;

[0130] S123, in the case where it is detected that the server running parameter currently used by the basic input output system is changed, determining that the target modification operation is detected on the server running parameter currently used by the basic input output system.

[0131] In some embodiments, the way of modifying the server running parameter (BIOS option) currently used can include, but is not limited to, the SCE tool provided by AMI, and the target modification tool can include, but is not limited to, the SCE tool.

[0132] As an optional solution, the server running parameter used by the basic input output system is configured as the last stored server running parameter in the baseboard management controller, including:

[0133] S131, calling the baseboard management controller to send the last stored server running parameter to the basic input output system;

[0134] S132, controlling the basic input output system to configure the server running parameter used as the received last stored server running parameter.

[0135] In some embodiments, the last stored server running parameter can be actively sent by the BMC to the BIOS during the restart process after the BIOS version is upgraded, or can be actively read by the BIOS from the BMC.

[0136] In some embodiments, in order to better understand the process of the above-mentioned basic input output system upgrade method, the above-mentioned basic input output system upgrade method process will be described in combination with optional embodiments below, but not used to limit the technical solutions of the embodiments of the present application.

[0137] In this embodiment, a basic input output system upgrade method is provided, and FIG. 5 is a schematic diagram of a basic input output system upgrade method process according to an embodiment of the present application, as shown in FIG. 5, mainly including the following steps:

[0138] Step S501: powering on the server;

[0139] Step S502: starting the server to enter the operating system;

[0140] Step S503: The system modifies the default value of the BIOS option through the IPMI command of the BMC;

[0141] Step S504: Trigger the SMI interrupt SMM function under the BIOS system;

[0142] Step S505: The BMC end receives the SMI interrupt function of the BIOS end, and modifies the default value setting of the IPMI command BIOS option of the BIOS end through the SMM KCS IPMI function;

[0143] Step S506: The BMC end has completed the modification of the BIOS option default value of the BIOS end through the IPMI command;

[0144] Step S507: Add / NI parameters through the SCE tool of AMI under the system, trigger the SMI interrupt function of the BIOS end, and set the flag bit of the JSON file of the BIOS end to 1;

[0145] Step S508: Execute the reboot operation through the IPMI command or the restart command or the BMC interface restart command under the system;

[0146] Step S509: During the server restart process, the start-up stage, the BIOS checks whether the flag bit of the JSON file update file is set to 1, and when the flag bit is set to 1, step S510 is entered, and when the flag bit is not set to 1, step S502 is entered;

[0147] Step S510: The BIOS segment synchronously transmits the currently modified BIOS option default value to the BMC end through the Redfish protocol (a protocol for server and data center management);

[0148] Step S511: The BMC end receives the JSON file transmitted by the BIOS, and stores the current latest default value of the BIOS in the JSON file of the BMC end;

[0149] Step S512: The server starts to enter the operating system;

[0150] Step S513: The BMC interface sets to reserve the BIOS option to update the BIOS image;

[0151] Step S514: The BMC updates and restarts the server;

[0152] Step S515: During the server start-up stage, the BMC end actively transmits the JSON file of the BMC end through the Redfish protocol;

[0153] Step S5160: After receiving the JSON file from the BMC end, the BIOS end updates the BIOS option setting to the option default value of the BIOS by parsing the JSON file;

[0154] Step S517: The BIOS is set and the server is restarted.

[0155] FIG. 6 is a swim lane diagram of a basic input and output system upgrading method according to an embodiment of the present application. As shown in FIG. 6, each of the steps 501 to 517 can be executed by different parts of the server, but is not limited thereto.

[0156] In the related art, there are three methods for BIOS and BMC to synchronize BIOS options. One is that the BIOS actively sends the changes of the BIOS end to the BMC end through the Redfish protocol. Another is to modify the BIOS options through the IPMI command mode. This mode modifies the storage area of the BMC end, and the BIOS obtains the synchronization from the BMC end when starting, but cannot update the JSON file. The last method is to modify the BIOS options by using the SCE tool provided by the AMI manufacturer. This part of the options only modifies the settings of the BIOS end, and does not synchronize to the BMC end.

[0157] To solve the above problems in the related art, the basic input and output system upgrading method proposed in the present application adds an SMM KCS IPMI interface to the BMC end, and supports the BIOS end to modify the BIOS option default value settings stored in the BMC end through the IPMI command. At the same time, the / NI parameter is added by using the SCE tool of the AMI manufacturer under the system, triggering the SMI interrupt of the BIOS end to update the current flag state of the target flag of the BIOS synchronization BMC JSON file.

[0158] In the scheme mentioned in the present application, after the BIOS options are modified by using the SCE under the system and the system is restarted, the BIOS checks whether the JSON file of the BMC end needs to be synchronized when starting. If the flag is set to 1, the BIOS end actively sends the modified default value option information of the BIOS to the BMC end through the Redfish protocol, which is used to store the current BIOS option default value settings of the BMC end.

[0159] In this way, when the BIOS is updated by the reserved configuration in the BMC interface, the BMC end actively sends the modified BIOS option default value settings after the BIOS is updated and restarted, and updates to the current BIOS version, solving the problem that the function of the modified options cannot be reserved after the options are modified by using the SCE under the system.

[0160] In the scheme of the application, the BIOS options modified by the IPMI command mode, the JSON file mode and the SCE mode can be reserved by the BMC end to update the BIOS default value, including the modification by the three modes.

[0161] In the scheme of the application, the BIOS options modified by the IPMI command mode, the JSON file mode and the SCE mode can be reserved by the BMC end to update the BIOS default value, including the modification by the three modes.

[0162] The scheme of the application completely solves the technical problem that the BMC interface cannot reserve the modified BIOS default value when updating the BIOS firmware, and is suitable for mainstream X86 architecture servers, so it needs to be protected.

[0163] The scheme of the application, the BIOS options modified by the IPMI command mode, the JSON file mode and the SCE mode can be reserved by the BMC end to update the BIOS default value, including the modification by the three modes.

[0164] The scheme of the application enriches the BIOS option reservation configuration upgrade method, is beneficial to timely save the latest option information, avoids the problem that the subsequent modification of the BIOS option cannot timely reserve the default value, highlights the beneficial effects and technical advantages.

[0165] The scheme of the application has strong replicability and expandability, and through the BIOS end adding SCE tool / NI parameters and the BIOS end updating JSON file flag information through SMI interrupt SMM function, the problem that the BIOS and BMC cannot save the modified BIOS option default value through the IPMI command mode and the SCE tool of the AMI manufacturer is completely solved.

[0166] Finally, through the trigger JSON file mode, the function that the three methods of modifying the BIOS option default value can realize the BMC interface reservation configuration update BIOS image is realized, the reliability of the server is improved, and the stability, safety and reliability of the server are guaranteed. Reduce the labor cost of customer operation and maintenance personnel and improve the operation and maintenance efficiency, provide great beneficial measures.

[0167] Those skilled in the art can clearly understand that the method according to the above-mentioned embodiments can be realized by means of software and necessary general hardware platforms, of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application or the part that contributes to the related art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes a plurality of instructions for making a terminal device (which can be a mobile phone, computer, server, or network device, etc.) execute the method of each embodiment of the present application.

[0168] In the embodiment, an upgrading device of the basic input / output system is also provided, which is configured to implement the above-mentioned embodiments and preferred embodiments, and will not be described again. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, implementation of hardware, or a combination of software and hardware, is also possible and contemplated.

[0169] FIG. 7 is a structural block diagram of an upgrading device of a basic input / output system according to an embodiment of the present application; as shown in FIG. 7, a baseboard management controller and a server processor are deployed in a server, the baseboard management controller is connected with the server processor, a basic input / output system is run in the server processor, the upgrading device of the basic input / output system is applied to the server processor, and the upgrading device of the basic input / output system comprises:

[0170] A first detection module 702 is configured to detect a parameter state of a server running parameter currently used by the basic input / output system during running of the basic input / output system, wherein the server running parameter is used to control a running mode of hardware in the server and a starting mode of the server;

[0171] A first control module 704 is configured to control the baseboard management controller to store the current server running parameter in a case where it is detected that the parameter state is used to indicate that the server running parameter has been modified to the current server running parameter;

[0172] A second control module 706 is configured to control the basic input / output system to configure the server running parameter used to be the last stored server running parameter in the baseboard management controller in a case where the basic input / output system performs system version upgrading.

[0173] In an example embodiment, the first control module comprises:

[0174] A first detection unit is configured to detect whether the basic input / output system currently meets a target sending condition;

[0175] The first control unit is configured to control the basic input / output system to send the current server running parameter to the baseboard management controller if it is detected that the basic input / output system meets the target sending condition, wherein the baseboard management controller is configured to store the received current server running parameter.

[0176] In one example embodiment, the first detection unit is further configured to:

[0177] detect whether the basic input / output system is in a target synchronization mode, wherein the target synchronization mode is a mode in which the basic input / output system is allowed to send the current server running parameter to the baseboard management controller;

[0178] determine that the basic input / output system currently meets the target sending condition if it is detected that the basic input / output system is in the target synchronization mode.

[0179] In one example embodiment, the first detection unit is configured to:

[0180] detect whether the basic input / output system is in a target synchronization mode, wherein the target synchronization mode is a mode in which the basic input / output system is allowed to send the current server running parameter to the baseboard management controller;

[0181] detect a current flag state of a target flag in the baseboard management controller if it is detected that the basic input / output system is in the target synchronization mode, wherein the flag state is used to indicate whether the current server running parameter needs to be stored to the baseboard management controller;

[0182] determine that the basic input / output system currently meets the target sending condition if it is detected that the current flag state of the target flag is a target flag state, wherein the target flag state is used to indicate that the current server running parameter needs to be stored to the baseboard management controller.

[0183] In one example embodiment, the first detection unit is configured to:

[0184] detect whether a target interrupt operation is currently performed on the basic input / output system;

[0185] determine whether the basic input / output system is in a target synchronization mode if it is detected that the target interrupt operation is currently performed on the basic input / output system, wherein the basic input / output system enters the target synchronization mode if the target interrupt operation is performed.

[0186] In an example embodiment, the apparatus further comprises:

[0187] The control module is configured to control the basic input / output system to send the current server running parameter to the target communication interface on the baseboard management controller.

[0188] In an example embodiment, the apparatus further comprises:

[0189] The third control module is configured to, after controlling the basic input / output system to send the current server running parameter to the target communication interface on the baseboard management controller, control the baseboard management controller to receive the current server running parameter from the target communication interface.

[0190] The fourth control module is configured to, after the baseboard management controller completes the receiving of the current server running parameter, control the baseboard management controller to store the current server running parameter to the target configuration file.

[0191] In an example embodiment, the fourth control module comprises one of:

[0192] The second control unit is configured to control the baseboard management controller to store the current server running parameter and a parameter modification time corresponding to the current server running parameter to the target configuration file, wherein the parameter modification time is a time when the server running parameter is modified to the current server running parameter.

[0193] The third control unit is configured to control the baseboard management controller to empty the server running parameter currently stored in the target configuration file and store the current server running parameter to the target configuration file.

[0194] In an example embodiment, the apparatus further comprises:

[0195] The second detection module is configured to, before controlling the baseboard management controller to store the current server running parameter, detect whether the basic input / output system satisfies a target upgrade condition, wherein the target upgrade condition is a condition required to be satisfied by the basic input / output system to perform system version upgrade.

[0196] The fifth control module is configured to, in a case where it is detected that the basic input / output system satisfies the target upgrade condition, control the baseboard management controller to store the current server running parameter.

[0197] The sixth control module is configured to control the basic input / output system to perform system version upgrade.

[0198] In an example embodiment, the second detecting module comprises:

[0199] The second detecting unit is configured to detect whether the basic input and output system has the target upgrade resource required for performing the version upgrade operation, wherein the version upgrade operation is an operation of upgrading the system version of the basic input and output system.

[0200] The first determining unit is configured to determine that the basic input and output system is detected to satisfy the target upgrade condition, in a case that the basic input and output system is detected to have the target upgrade resource.

[0201] In an example embodiment, the first detecting module comprises:

[0202] The third detecting unit is configured to detect whether the server running parameter currently used by the basic input and output system is executed by the target modification operation.

[0203] The second determining unit is configured to determine that the parameter state is used to indicate that the server running parameter is modified to the current server running parameter, in a case that the server running parameter currently used by the basic input and output system is detected to be executed by the target modification operation.

[0204] In an example embodiment, the third detecting unit is further configured to:

[0205] detect whether the basic input and output system is currently connected to the target modification tool, wherein the target modification tool is a tool having the capability of modifying the server running parameter currently used by the basic input and output system;

[0206] detect whether the server running parameter currently used by the basic input and output system is changed, in a case that the basic input and output system is detected to be currently connected to the target modification tool;

[0207] determine that the server running parameter currently used by the basic input and output system is detected to be executed by the target modification operation, in a case that the server running parameter currently used by the basic input and output system is detected to be changed.

[0208] In an example embodiment, the second control module comprises:

[0209] The calling unit is configured to call the baseboard management controller to send the last stored server running parameter to the basic input and output system;

[0210] The fourth control unit is configured to control the basic input and output system to configure the used server running parameter as the received last stored server running parameter.

[0211] It should be noted that the above various modules can be implemented by software or hardware, and for the latter, the implementation can be achieved by the following ways, but is not limited to: all the above modules are located in the same processor; or the above various modules are located in different processors in any combination.

[0212] Embodiments of the present application further provide a computer program product, comprising a computer program, wherein the computer program is executed by a processor to implement the steps of the method in various embodiments of the present application; the computer program product further comprises a non-volatile computer readable storage medium, which stores the computer program, wherein the computer program is executed by the processor to implement the steps of the method in various embodiments of the present application.

[0213] Embodiments of the present application further provide a computer non-volatile readable storage medium, which stores a computer program, wherein the computer program is set to execute the steps in any of the above method embodiments when running.

[0214] In an example embodiment, the above computer non-volatile readable storage medium can include, but is not limited to: a USB flash disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store computer programs.

[0215] Embodiments of the present application further provide an electronic device, and FIG. 8 is a schematic diagram of an electronic device according to an embodiment of the present application, as shown in FIG. 8, the electronic device comprises a memory and a processor, the memory stores a computer program, and the processor is set to run the computer program to execute the steps in any of the above method embodiments.

[0216] In an example embodiment, the above electronic device can further comprise a transmission device and an input and output device, wherein the transmission device is connected to the processor, and the input and output device is connected to the processor.

[0217] The optional examples in the present embodiment can refer to the examples described in the above embodiments and example implementations, which will not be described herein again.

[0218] It is apparent that those skilled in the art can modify and / or change the above-described modules or steps of the present application with general computing devices, which can be centralized on a single computing device or distributed on a network composed of multiple computing devices, which can be implemented by program codes executable by the computing devices, so that they can be stored in storage devices and executed by the computing devices, and in some cases, the steps shown or described can be executed in different orders, or they can be made into individual integrated circuit modules, or multiple modules or steps can be made into a single integrated circuit module. Thus, the present application is not limited to any particular combination of hardware and software.

[0219] The above is only the preferred embodiment of the present application, and is not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. within the principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for upgrading a basic input / output system, characterized in that, The server deploys a baseboard management controller and a server processor, the baseboard management controller being connected to the server processor, and the server processor running a basic input / output system. The method is applied to the server processor. The method includes: During the operation of the basic input / output system, the parameter status of the server operating parameters currently used by the basic input / output system is detected, wherein the server operating parameters are used to control the operating mode of the hardware in the server and the startup mode of the server; If the parameter status is detected to indicate that the server operating parameters have been modified to the current server operating parameters, the baseboard management controller is controlled to store the current server operating parameters. When the basic input / output system is upgraded, the system is controlled to configure the server operating parameters used to the last server operating parameters stored in the baseboard management controller.

2. The method according to claim 1, characterized in that, The control panel that stores the current server operating parameters includes: Detect whether the basic input / output system currently meets the target transmission conditions; When the basic input / output system is detected to meet the target transmission conditions, the basic input / output system is controlled to send the current server operating parameters to the baseboard management controller, wherein the baseboard management controller is configured to store the received current server operating parameters.

3. The method according to claim 2, characterized in that, The detection of whether the basic input / output system currently meets the target transmission conditions includes: Detect whether the basic input / output system is in target synchronization mode, wherein the target synchronization mode is a mode in which the basic input / output system is allowed to send the current server operating parameters to the baseboard management controller; If the basic input / output system is detected to be in the target synchronization mode, it is determined that the basic input / output system currently meets the target transmission conditions.

4. The method according to claim 2, characterized in that, The detection of whether the basic input / output system currently meets the target transmission conditions includes: Detect whether the basic input / output system is in target synchronization mode, wherein the target synchronization mode is a mode in which the basic input / output system is allowed to send the current server operating parameters to the baseboard management controller; When the basic input / output system is detected to be in the target synchronization mode, the current flag bit status of the target flag bit in the baseboard management controller is detected, wherein the flag bit status is used to indicate whether the current server operating parameters need to be stored in the baseboard management controller. If the current flag state of the target flag is detected to be the target flag state, it is determined that the basic input / output system currently meets the target transmission condition, wherein the target flag state is used to indicate that the current server operating parameters need to be stored in the baseboard management controller.

5. The method according to claim 3 or 4, characterized in that, The detection of whether the basic input / output system is in target synchronization mode includes: Detect whether the basic input / output system is currently undergoing a target interrupt operation; After detecting that the basic input / output system is currently undergoing the target interrupt operation, it is determined whether the basic input / output system is in the target synchronization mode, wherein the basic input / output system enters the target synchronization mode when the target interrupt operation is performed.

6. The method according to claim 2, characterized in that, A target communication interface is deployed on the baseboard management controller. The baseboard management controller connects to the server processor through the target communication interface. The baseboard management controller allows communication with the basic input / output system (PIS) through the target communication interface. Controlling the PIS to send the current server operating parameters to the baseboard management controller includes: The basic input / output system is controlled to send the current server operating parameters to the target communication interface on the baseboard management controller.

7. The method according to claim 6, characterized in that, After controlling the basic input / output system to send the current server operating parameters to the target communication interface on the baseboard management controller, the method further includes: The baseboard management controller is controlled to receive the current server operating parameters from the target communication interface; Once the baseboard management controller has received the current server operating parameters, it controls the baseboard management controller to store the current server operating parameters in the target configuration file.

8. The method according to claim 7, characterized in that, The control panel for the baseboard management controller to store the current server operating parameters to the target configuration file includes one of the following: The baseboard management controller stores the current server operating parameters and the parameter modification time corresponding to the current server operating parameters in the target configuration file, wherein the parameter modification time is the time when the server operating parameters are modified to the current server operating parameters; The baseboard management controller is controlled to clear the currently stored server operating parameters in the target configuration file and store the current server operating parameters in the target configuration file.

9. The method according to claim 1, characterized in that, Before the control panel stores the current server operating parameters, the method further includes: Detect whether the basic input / output system meets the target upgrade conditions, wherein the target upgrade conditions are the conditions that the basic input / output system needs to meet to upgrade its system version; If the basic input / output system is found to meet the target upgrade conditions, the baseboard management controller is controlled to store the current server operating parameters. Control the basic input / output system to perform system version upgrades.

10. The method according to claim 9, characterized in that, After detecting whether the basic input / output system meets the target upgrade conditions, the method further includes: If the basic input / output system is detected to not meet the target upgrade conditions, the baseboard management controller is not allowed to store the current server operating parameters.

11. The method according to claim 9, characterized in that, The detection of whether the basic input / output system meets the target upgrade conditions includes: Detect whether the basic input / output system has the target upgrade resources required to perform a version upgrade operation, wherein the version upgrade operation is an operation to upgrade the system version of the basic input / output system; If the basic input / output system is found to have the target upgrade resources, it is determined that the basic input / output system meets the target upgrade conditions.

12. The method according to claim 1, characterized in that, The parameter status of detecting the server operating parameters currently used by the basic input / output system includes: Detect whether the server operating parameters currently used by the basic input / output system have been modified by a target operation; If the target modification operation is performed on the server operating parameters currently used by the basic input / output system, the parameter status is determined to indicate that the server operating parameters have been modified to the current server operating parameters.

13. The method according to claim 12, characterized in that, The detection of whether the server operating parameters currently used by the basic input / output system have been modified by a target operation includes: Detect whether the basic input / output system is currently connected to a target modification tool, wherein the target modification tool is a tool capable of modifying the server operating parameters currently used by the basic input / output system; If the target modification tool is detected to be currently connected to the basic input / output system, it is detected whether the server operating parameters currently used by the basic input / output system have changed; If a change is detected in the server operating parameters currently used by the basic input / output system, it is determined that the target modification operation has been performed on the server operating parameters currently used by the basic input / output system.

14. The method according to claim 1, characterized in that, The control system configures the server operating parameters used by the basic input / output system to the last stored server operating parameters in the baseboard management controller, including: The baseboard management controller is invoked to send the last stored server operating parameters to the basic input / output system; The basic input / output system is controlled to configure the server operating parameters used to the received last stored server operating parameters.

15. The method according to claim 1, characterized in that, The server is equipped with multiple server processors, the server processor running the basic input / output system, and the server processor applying the upgrade method of the basic input / output system are different server processors among the multiple server processors. or The server processor includes multiple processing cores, one of which runs the basic input / output system, and an upgrade method for the basic input / output system is applied to another processing core in the server processor.

16. The method according to claim 1, characterized in that, The method of controlling the basic input / output system to configure the server operating parameters used to the last stored server operating parameters in the baseboard management controller also includes: The basic input / output system is controlled to read the last stored server operating parameters from the baseboard management controller; The basic input / output system is controlled to configure the server operating parameters used to the received last stored server operating parameters.

17. An upgrade device for a basic input / output system, characterized in that, The server deploys a baseboard management controller and a server processor. The baseboard management controller is connected to the server processor, which runs a basic input / output system. An upgrade device for the basic input / output system is applied to the server processor. The upgrade device for the basic input / output system includes: The first detection module is configured to detect the parameter status of the server operating parameters currently used by the basic input / output system during the operation of the basic input / output system, wherein the server operating parameters are used to control the operating mode of the hardware in the server and the startup mode of the server; The first control module is configured to control the baseboard management controller to store the current server operating parameters when it detects that the parameter status indicates that the server operating parameters have been modified to the current server operating parameters. The second control module is configured to control the basic input / output system to configure the server operating parameters used by the basic input / output system to the last server operating parameters stored in the baseboard management controller when the basic input / output system is upgraded.

18. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method described in any one of claims 1 to 16.

19. A computer non-volatile readable storage medium, characterized in that, The computer non-volatile readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the method described in any one of claims 1 to 16.

20. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method described in any one of claims 1 to 16.

Citation Information

Patent Citations

  • BIOS configuration saving method and device

    CN106155716A

  • BIOS firmware refreshing test method and device, electronic equipment and storage medium

    CN113220332A

  • Data processing method and device and electronic equipment

    CN114428624A

  • Upgrading method and device of basic input and output system and storage medium

    CN118349262A