CN111381850A - BIOS firmware upgrading method, device, equipment and medium - Google Patents

BIOS firmware upgrading method, device, equipment and medium Download PDF

Info

Publication number
CN111381850A
CN111381850A CN202010108461.6A CN202010108461A CN111381850A CN 111381850 A CN111381850 A CN 111381850A CN 202010108461 A CN202010108461 A CN 202010108461A CN 111381850 A CN111381850 A CN 111381850A
Authority
CN
China
Prior art keywords
file
upgrade
upgrading
bios firmware
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010108461.6A
Other languages
Chinese (zh)
Other versions
CN111381850B (en
Inventor
王友富
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202010108461.6A priority Critical patent/CN111381850B/en
Publication of CN111381850A publication Critical patent/CN111381850A/en
Application granted granted Critical
Publication of CN111381850B publication Critical patent/CN111381850B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The invention discloses a BIOS firmware upgrading method, which comprises the following steps: judging whether an upgrading instruction for starting the BIOS firmware to upgrade is received or not according to the operation of a Smshclp system interface of the BMC; if yes, acquiring file information of an upgrade file of the BIOS firmware contained in the upgrade instruction; and according to the file information, acquiring an upgrade file to upgrade the BIOS firmware. Therefore, the BIOS firmware upgrading method and the BIOS upgrading device can carry out the upgrading operation of the BIOS firmware through the received upgrading instruction sent by the Smshclp system, and avoid the condition that an account number and a password are input in a system interface provided by a client. The upgrading process of the BIOS firmware is simpler, unnecessary time and resource waste are reduced, and the upgrading efficiency is improved. The use risk caused by untimely upgrade is reduced as much as possible, and the use experience of the client is improved. In addition, the upgrading device, equipment and storage medium of the BIOS firmware provided by the invention correspond to the method.

Description

BIOS firmware upgrading method, device, equipment and medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a medium for upgrading a BIOS firmware.
Background
With the rapid development of computer technology, the requirement for the efficiency of upgrading the firmware version of the server is higher and higher. The Basic Input Output System (BIOS) firmware upgrading version is an important part in the operation of refreshing the firmware version of the server, whether the BIOS firmware version can be upgraded efficiently and quickly without influencing the normal operation of the server becomes one of the most important indexes for selecting the server by a client.
In the prior art, when a server updates a version of a BIOS firmware, a client is required to provide an account and a password with a configuration modification authority to an operation and maintenance person, and the operation and maintenance person logs in a client system through a network interface of a baseboard controller (BMC) to send an instruction of the BIOS firmware, so that the operation of the BIOS firmware is completed.
However, when the BMC fails, the operation and maintenance personnel will be affected to upgrade the BIOS firmware, for example, the account and password login interface cannot be opened. Moreover, because the account and the password with the configuration changing authority are very important for the client and inconvenient to provide to others at will, the process of applying for the account and the password is very complicated and consumes long time, the efficiency of upgrading the BIOS firmware is affected, and the use risk is easy to occur due to untimely upgrading; meanwhile, great trouble is brought to the client, and the experience of the client is poor.
Disclosure of Invention
The invention aims to provide a method, a device, equipment and a medium for upgrading BIOS firmware. The BIOS firmware upgrading method and the BIOS upgrading device can carry out upgrading operation on the BIOS firmware through the received upgrading instruction sent by a system management architecture command line protocol (Smshclp) system of the server hardware, and operation and maintenance personnel can directly finish sending operation of the upgrading instruction on an Smshclp system interface. The account number and the password do not need to be input in a system interface provided by the customer. The upgrading process of the BIOS firmware is simpler, unnecessary time and resource waste are reduced, and the upgrading efficiency is improved. The use risk caused by untimely upgrade is reduced as much as possible, and the use experience of the client is improved.
In order to solve the above technical problem, the present invention provides a method for upgrading a BIOS firmware, comprising:
judging whether an upgrading instruction for starting the BIOS firmware to upgrade is received or not according to the operation of a Smshclp system interface of the BMC;
if yes, acquiring file information of an upgrade file of the BIOS firmware contained in the upgrade instruction;
and acquiring the upgrade file according to the file information to upgrade the BIOS firmware.
Preferably, the file information specifically includes an IP address, a port number, and a file name of the upgrade file of the file server storing the upgrade file.
Preferably, the obtaining the upgrade file to upgrade the BIOS firmware according to the file information specifically includes:
establishing communication connection with the file server storing the upgrade file according to the IP address and the port number in the file information;
and acquiring the file with the file name from the file server as the upgrading file.
Preferably, the method further comprises the following steps:
judging whether the stored BMC mirror image is integrated with an upgrade script of the BIOS firmware;
and if not, performing alarm prompt to indicate that the BIOS firmware is temporarily unavailable.
Preferably, the method further comprises the following steps:
judging whether an updating instruction for updating the upgrading file is received or not;
and if so, updating the upgrade file according to the update instruction.
Preferably, the obtaining the upgrade file to upgrade the BIOS firmware specifically includes:
and acquiring a compressed file corresponding to the upgrade file, and decompressing the compressed file according to a preset decompression algorithm to acquire the upgrade file.
Preferably, the obtaining the upgrade file to upgrade the BIOS firmware specifically includes:
and acquiring an encrypted file corresponding to the upgrade file, and decrypting the encrypted file according to a preset decryption algorithm to acquire the upgrade file.
In order to solve the above technical problem, the present invention further provides an upgrading apparatus for BIOS firmware, comprising:
the judging module is used for judging whether an upgrading instruction for starting the BIOS firmware to upgrade is received according to the operation of a Smshclp system interface of the BMC; if yes, entering a first acquisition module;
the first acquisition module is used for acquiring the file information of the upgrading file of the BIOS firmware contained in the upgrading instruction;
and the second acquisition module is used for acquiring the upgrade file according to the file information so as to upgrade the BIOS firmware.
In order to solve the above technical problem, the present invention further provides an upgrading device for BIOS firmware, comprising a memory for storing a computer program;
a processor for implementing the steps of the method for upgrading the BIOS firmware as described in any one of the above when executing the computer program.
In order to solve the above technical problem, the present invention further provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements the steps of the method for upgrading the BIOS firmware according to any one of the above items.
The invention provides a BIOS firmware upgrading method, which comprises the following steps: judging whether an upgrading instruction for starting the BIOS firmware to upgrade is received or not according to the operation of a Smshclp system interface of the BMC; if yes, acquiring file information of an upgrade file of the BIOS firmware contained in the upgrade instruction; and according to the file information, acquiring an upgrade file to upgrade the BIOS firmware. Therefore, the upgrading operation of the BIOS firmware is carried out through the received upgrading instruction sent by the Smshclp system, and the Smshclp system can complete information interaction in a mode of directly inputting the instruction, so that operation and maintenance personnel can directly complete the sending operation of the upgrading instruction on the Smshclp system interface without an account number and a password, and the condition that the account number and the password are input in a system interface provided by a client is avoided. The upgrading process of the BIOS firmware is simpler, unnecessary time and resource waste are reduced, and the upgrading efficiency is improved. The use risk caused by untimely upgrade is reduced as much as possible, and the use experience of the client is improved.
In addition, the upgrading device, equipment and storage medium of the BIOS firmware provided by the invention correspond to the method, and have the same beneficial effects.
Drawings
In order to illustrate the embodiments of the present invention more clearly, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of a method for upgrading BIOS firmware according to an embodiment of the present invention;
fig. 2 is a structural diagram of an apparatus for upgrading BIOS firmware according to an embodiment of the present invention;
fig. 3 is a structural diagram of an apparatus for upgrading BIOS firmware according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without any creative work belong to the protection scope of the present invention.
The core of the invention is to provide a method, a device, equipment and a medium for upgrading BIOS firmware. The BIOS firmware upgrading method and the BIOS upgrading device can carry out upgrading operation of the BIOS firmware through the received upgrading instruction sent by the Smshclp system, and operation and maintenance personnel can directly finish sending operation of the upgrading instruction on an interface of the Smshclp system. The account number and the password do not need to be input in a system interface provided by the customer. The upgrading process of the BIOS firmware is simpler, unnecessary time and resource waste are reduced, and the upgrading efficiency is improved. The use risk caused by untimely upgrade is reduced as much as possible, and the use experience of the client is improved.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a flowchart of a method for upgrading BIOS firmware according to an embodiment of the present invention; as shown in fig. 1, the method for upgrading BIOS firmware according to the embodiment of the present invention includes steps S101 to S103:
step S101: judging whether an upgrading instruction for starting the BIOS firmware to upgrade is received or not according to the operation of a Smshclp system interface of the BMC; if yes, go to step S102;
in one embodiment, the instruction can be sent through a Smshclp system of the BMC without an account number and a password, and the BMC is controlled to perform corresponding operation. Therefore, when the BIOS firmware needs to be upgraded, whether an upgrade instruction for starting the BIOS firmware to upgrade is received or not can be judged according to the operation of an operation and maintenance person on a Smshclp system interface of the BMC. If yes, the BIOS firmware can be upgraded according to the upgrading instruction.
Step S102: acquiring file information of an upgrade file of the BIOS firmware contained in the upgrade instruction;
step S103: and according to the file information, acquiring an upgrade file to upgrade the BIOS firmware.
In specific implementation, the upgrade instruction includes file information of an upgrade file of the BIOS firmware. Specifically, the file information specifically includes an Internet Protocol (IP) address, a port number, and a file name of the upgrade file of the file server storing the upgrade file. In one embodiment, an HTTPS file server may be established and the BIOS firmware upgrade file placed under the HTTPS file server directory. And then, acquiring an upgrade file according to the file information, storing the acquired upgrade file into a BMC memory, and upgrading the BIOS firmware.
In one embodiment, acquiring the upgrade file to upgrade the BIOS firmware according to the file information specifically includes:
establishing communication connection with a file server for storing the upgrade file according to the IP address and the port number in the file information;
and acquiring a file with a file name from the file server as an upgrade file.
Specifically, the communication connection between the BMC and the file server may be established according to the IP address and the port number of the file server storing the upgrade file, so that the BMC may obtain the file stored in the file server. And according to the file name of the upgrade file recorded in the file information, searching files with the same file name in a file server directory to obtain the upgrade file.
In one embodiment, the obtaining the upgrade file to upgrade the BIOS firmware specifically includes:
and acquiring a compressed file corresponding to the upgrade file, and decompressing the compressed file according to a preset decompression algorithm to acquire the upgrade file.
Specifically, when the storage space occupied by the upgrade file is large, the upgrade file is generally compressed and stored in the form of a compressed file. In order to ensure the transmission efficiency of the file, the compressed file corresponding to the upgrade file can be directly obtained, and the decompression operation is carried out on the compressed file according to a preset decompression algorithm, so that the upgrade file is obtained. It should be noted that the preset decompression algorithm is specifically a decompression algorithm corresponding to a compression algorithm adopted when the upgrade file is compressed.
In one embodiment, the obtaining the upgrade file to upgrade the BIOS firmware specifically includes:
and acquiring an encrypted file corresponding to the upgrade file, and decrypting the encrypted file according to a preset decryption algorithm to acquire the upgrade file.
Specifically, in order to ensure the security of the transmission of the upgrade file, the file server encrypts the upgrade file in advance to obtain an encrypted file corresponding to the upgrade file. The BMC may obtain the encrypted file first and perform a decryption operation on the encrypted file according to a preset decryption algorithm to obtain the upgrade file. It should be noted that the preset decryption algorithm is specifically a decryption algorithm corresponding to the encryption algorithm used when the upgrade file is encrypted.
The invention provides a BIOS firmware upgrading method, which comprises the following steps: judging whether an upgrading instruction for starting the BIOS firmware to upgrade is received according to the operation of an operation and maintenance person on a Smshclp system interface of the BMC; if yes, acquiring file information of an upgrade file of the BIOS firmware contained in the upgrade instruction; and according to the file information, acquiring an upgrade file to upgrade the BIOS firmware. Therefore, the upgrading operation of the BIOS firmware is carried out through the received upgrading instruction sent by the Smshclp system, and the Smshclp system can complete information interaction in a mode of directly inputting the instruction, so that operation and maintenance personnel can directly complete the sending operation of the upgrading instruction on the Smshclp system interface without an account number and a password, and the condition that the account number and the password are input in a system interface provided by a client is avoided. The upgrading process of the BIOS firmware is simpler, unnecessary time and resource waste are reduced, and the upgrading efficiency is improved. The use risk caused by untimely upgrade is reduced as much as possible, and the use experience of the client is improved.
In one embodiment, the method for upgrading BIOS firmware provided by the present invention further includes:
judging whether an upgrading script of the BIOS firmware is integrated in the stored BMC mirror image;
if not, an alarm prompt is made to indicate that the BIOS firmware is temporarily unavailable.
Specifically, after the BIOS firmware is upgraded, the related operations of the BIOS firmware are required to be operated according to the requirements of the upgraded BIOS firmware, so that the upgrade script of the BIOS firmware needs to be integrated in the BMC image to ensure that the BIOS firmware can normally work subsequently. In order to confirm whether the upgraded BIOS firmware can work normally, whether an upgrade script of the BIOS firmware is integrated in the stored BMC image or not can be judged, if not, the upgraded BIOS firmware is not supported to work normally under the current condition, the BMC image needs to be configured in advance, and an alarm prompt can be given to indicate that the BIOS firmware cannot be used temporarily, so that operation and maintenance personnel can find and process problems in time; and if the judgment result is that the upgrading script is integrated, the BIOS firmware after upgrading can be normally used.
In an embodiment, the method for upgrading BIOS firmware provided in the embodiment of the present invention further includes:
judging whether an updating instruction for updating the upgrading file is received or not;
and if so, updating the upgrade file according to the update instruction.
In particular, typically the BIOS firmware needs to be continually upgraded and updated to provide better service to the user. Therefore, the upgrade file of the BIOS firmware also needs to be updated continuously, whether an update instruction for updating the upgrade file is received can be determined, and if so, the upgrade file can be updated according to the update instruction. Specifically, the latest upgrade file of the BIOS firmware of the latest version may be obtained according to the update instruction and stored in the memory of the BMC.
Further, the method for upgrading the BIOS firmware provided in the embodiment of the present invention further includes:
judging whether a history upgrading file of the BIOS firmware is stored in the memory;
and if so, deleting each history upgrading file.
In specific implementation, in order to ensure effective utilization of the BMC memory, the history update file of the history version stored before may be deleted, so as to increase the remaining space of the BMC memory. The files stored in the BMC memory can be detected at regular time, and when the historical upgrading files are judged to be stored in the memory, the deletion operation is correspondingly carried out.
The invention also provides an upgrading device of the BIOS firmware and a corresponding embodiment of the upgrading device of the BIOS firmware. It should be noted that the present invention is described from two perspectives, one is based on the function module and the other is based on the hardware.
Fig. 2 is a structural diagram of an apparatus for upgrading BIOS firmware according to an embodiment of the present invention; as shown in fig. 2, an apparatus for upgrading BIOS firmware according to an embodiment of the present invention includes:
the judging module 10 is used for judging whether an upgrading instruction for starting the BIOS firmware to upgrade is received according to the operation of a Smshclp system interface of the BMC; if yes, entering a first acquisition module;
a first obtaining module 11, configured to obtain file information of an upgrade file of the BIOS firmware included in the upgrade instruction;
and a second obtaining module 12, configured to obtain the upgrade file according to the file information, so as to upgrade the BIOS firmware.
In an embodiment, an apparatus for upgrading BIOS firmware according to an embodiment of the present invention further includes:
the first judgment module is used for judging whether the stored BMC mirror image is integrated with the upgrading script of the BIOS firmware; if not, an alarm prompt is made to indicate that the BIOS firmware is temporarily unavailable.
In an embodiment, an apparatus for upgrading BIOS firmware according to an embodiment of the present invention further includes:
the second judgment module is used for judging whether an update instruction for updating the upgrade file is received or not; and if so, updating the upgrade file according to the update instruction.
Since the embodiments of this section correspond to the embodiments of the method section, reference is made to the description of the embodiments of the method section for the embodiments of this section, and details are not repeated here.
The upgrading device of the BIOS firmware provided by the invention judges whether an upgrading instruction for starting the BIOS firmware to upgrade is received or not according to the operation of an operation and maintenance person on a Smshclp system interface of a BMC; if yes, acquiring file information of an upgrade file of the BIOS firmware contained in the upgrade instruction; and according to the file information, acquiring an upgrade file to upgrade the BIOS firmware. Therefore, the upgrading operation of the BIOS firmware is carried out through the received upgrading instruction sent by the Smshclp system, and the Smshclp system can complete information interaction in a mode of directly inputting the instruction, so that operation and maintenance personnel can directly complete the sending operation of the upgrading instruction on the Smshclp system interface without an account number and a password, and the condition that the account number and the password are input in a system interface provided by a client is avoided. The upgrading process of the BIOS firmware is simpler, unnecessary time and resource waste are reduced, and the upgrading efficiency is improved. The use risk caused by untimely upgrade is reduced as much as possible, and the use experience of the client is improved.
Fig. 3 is a structural diagram of an apparatus for upgrading BIOS firmware according to an embodiment of the present invention. As shown in fig. 3, an apparatus for upgrading BIOS firmware according to an embodiment of the present invention includes a memory 20 for storing a computer program;
a processor 21, configured to implement the steps of the method for upgrading the BIOS firmware as described in any one of the above when executing the computer program.
The processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 21 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 21 may further include an AI (Artificial Intelligence) processor for processing a calculation operation related to machine learning.
The memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing the following computer program 201, wherein after being loaded and executed by the processor 21, the computer program can implement relevant steps in the method for upgrading the BIOS firmware disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202, data 203, and the like, and the storage manner may be a transient storage manner or a permanent storage manner. Operating system 202 may include, among others, Windows, Unix, Linux, and the like.
In some embodiments, the BIOS firmware upgrading device may further include an input/output interface 22, a communication interface 23, a power supply 24, and a communication bus 25.
Those skilled in the art will appreciate that the architecture shown in FIG. 3 does not constitute a limitation on the upgrade facility for BIOS firmware, and may include more or fewer components than those shown.
Since the embodiment of the part corresponds to the embodiment of the method part, please refer to the description of the embodiment of the method part for the embodiment of the part, which is not repeated here. In some embodiments of the invention, the processor and memory may be connected by a bus or other means.
The upgrading equipment of the BIOS firmware provided by the invention can realize the following method: judging whether an upgrading instruction for starting the BIOS firmware to upgrade is received according to the operation of an operation and maintenance person on a Smshclp system interface of the BMC; if yes, acquiring file information of an upgrade file of the BIOS firmware contained in the upgrade instruction; and according to the file information, acquiring an upgrade file to upgrade the BIOS firmware. Therefore, the upgrading operation of the BIOS firmware is carried out through the received upgrading instruction sent by the Smshclp system, and the Smshclp system can complete information interaction in a mode of directly inputting the instruction, so that operation and maintenance personnel can directly complete the sending operation of the upgrading instruction on the Smshclp system interface without an account number and a password, and the condition that the account number and the password are input in a system interface provided by a client is avoided. The upgrading process of the BIOS firmware is simpler, unnecessary time and resource waste are reduced, and the upgrading efficiency is improved. The use risk caused by untimely upgrade is reduced as much as possible, and the use experience of the client is improved.
Finally, the invention also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps as set forth in the above-mentioned method embodiments.
It is to be understood that if the method in the above embodiments is implemented in the form of software functional units and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and performs all or part of the steps of the methods according to the embodiments of the present invention, or all or part of the technical solution. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The method, the device, the equipment and the medium for upgrading the BIOS firmware provided by the invention are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A method for upgrading BIOS firmware, comprising:
judging whether an upgrading instruction for starting the BIOS firmware to upgrade is received or not according to the operation of a Smshclp system interface of the BMC;
if yes, acquiring file information of an upgrade file of the BIOS firmware contained in the upgrade instruction;
and acquiring the upgrade file according to the file information to upgrade the BIOS firmware.
2. The method according to claim 1, wherein the file information specifically includes an IP address, a port number, and a file name of a file server storing the upgrade file.
3. The method for upgrading BIOS firmware according to claim 2, wherein the obtaining the upgrade file to upgrade the BIOS firmware according to the file information specifically includes:
establishing communication connection with the file server storing the upgrade file according to the IP address and the port number in the file information;
and acquiring the file with the file name from the file server as the upgrading file.
4. The method for upgrading BIOS firmware according to claim 1, further comprising:
judging whether the stored BMC mirror image is integrated with an upgrade script of the BIOS firmware;
and if not, performing alarm prompt to indicate that the BIOS firmware is temporarily unavailable.
5. The method for upgrading BIOS firmware according to claim 1, further comprising:
judging whether an updating instruction for updating the upgrading file is received or not;
and if so, updating the upgrade file according to the update instruction.
6. The method for upgrading a BIOS firmware according to claim 1, wherein the obtaining the upgrade file to upgrade the BIOS firmware specifically includes:
and acquiring a compressed file corresponding to the upgrade file, and decompressing the compressed file according to a preset decompression algorithm to acquire the upgrade file.
7. The method for upgrading a BIOS firmware according to claim 1, wherein the obtaining the upgrade file to upgrade the BIOS firmware specifically includes:
and acquiring an encrypted file corresponding to the upgrade file, and decrypting the encrypted file according to a preset decryption algorithm to acquire the upgrade file.
8. An apparatus for upgrading BIOS firmware, comprising:
the judging module is used for judging whether an upgrading instruction for starting the BIOS firmware to upgrade is received according to the operation of a Smshclp system interface of the BMC; if yes, entering a first acquisition module;
the first acquisition module is used for acquiring the file information of the upgrading file of the BIOS firmware contained in the upgrading instruction;
and the second acquisition module is used for acquiring the upgrade file according to the file information so as to upgrade the BIOS firmware.
9. An upgrading device of BIOS firmware is characterized by comprising a memory for storing a computer program;
a processor for implementing the steps of the method for upgrading BIOS firmware according to any of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, implements the steps of the method for upgrading BIOS firmware of any of claims 1 to 7.
CN202010108461.6A 2020-02-21 2020-02-21 BIOS firmware upgrading method, device, equipment and medium Active CN111381850B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010108461.6A CN111381850B (en) 2020-02-21 2020-02-21 BIOS firmware upgrading method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010108461.6A CN111381850B (en) 2020-02-21 2020-02-21 BIOS firmware upgrading method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN111381850A true CN111381850A (en) 2020-07-07
CN111381850B CN111381850B (en) 2023-11-14

Family

ID=71222667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010108461.6A Active CN111381850B (en) 2020-02-21 2020-02-21 BIOS firmware upgrading method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN111381850B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113238778A (en) * 2021-05-23 2021-08-10 山东英信计算机技术有限公司 Method, system, equipment and medium for upgrading BIOS firmware
CN114466260A (en) * 2020-11-10 2022-05-10 青岛海信宽带多媒体技术有限公司 Optical module upgrading method and optical module

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8370748B1 (en) * 2007-12-26 2013-02-05 American Megatrends, Inc. Web-based systems management architecture for server hardware (SMASH) command line protocol (CLP)
CN110347414A (en) * 2019-07-15 2019-10-18 西安易朴通讯技术有限公司 Firmware update, device, equipment and computer readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8370748B1 (en) * 2007-12-26 2013-02-05 American Megatrends, Inc. Web-based systems management architecture for server hardware (SMASH) command line protocol (CLP)
CN110347414A (en) * 2019-07-15 2019-10-18 西安易朴通讯技术有限公司 Firmware update, device, equipment and computer readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114466260A (en) * 2020-11-10 2022-05-10 青岛海信宽带多媒体技术有限公司 Optical module upgrading method and optical module
CN114466260B (en) * 2020-11-10 2023-11-03 青岛海信宽带多媒体技术有限公司 Optical module upgrading method and optical module
CN113238778A (en) * 2021-05-23 2021-08-10 山东英信计算机技术有限公司 Method, system, equipment and medium for upgrading BIOS firmware
CN113238778B (en) * 2021-05-23 2024-02-13 山东英信计算机技术有限公司 Method, system, equipment and medium for upgrading BIOS firmware

Also Published As

Publication number Publication date
CN111381850B (en) 2023-11-14

Similar Documents

Publication Publication Date Title
CN106843976B (en) Method and apparatus for generating image file
US8677459B2 (en) Secure zero-touch provisioning of remote management controller
CN113626133B (en) Virtual machine control method, device, equipment and computer readable storage medium
CN111381850B (en) BIOS firmware upgrading method, device, equipment and medium
CN112948340A (en) Data synchronization method and device, electronic equipment and readable storage medium
CN111225064A (en) Ceph cluster deployment method, system, device and computer-readable storage medium
CN107918564B (en) Data transmission exception handling method and device, electronic equipment and storage medium
CN113672340A (en) Incremental backup method, system and device of virtual machine and readable storage medium
CN110399150B (en) Bios upgrading method, system, device and computer storage medium
CN116382746A (en) Firmware upgrading method, device, equipment and medium
CN112083971B (en) Component processing method, device and storage medium
US8544107B2 (en) Information processing system, information processing apparatus, and computer-readable storage medium
CN107995033B (en) ONU configuration file upgrading method and device
JP2023169287A (en) Memory efficient software patching for updating applications on computing devices
CN113312669B (en) Password synchronization method, device and storage medium
CN115174596A (en) Equipment remote copying method, device and medium
CN115145634A (en) System management software self-adaption method, device and medium
CN111737679B (en) Security authentication method and device, electronic equipment and storage medium
CN111353150B (en) Trusted boot method, trusted boot device, electronic equipment and readable storage medium
WO2017096889A1 (en) Method and device for upgrading and downgrading system
CN113656378A (en) Server management method, device and medium
CN111857783A (en) Method, device, equipment and storage medium for remotely refreshing BMC (baseboard management controller) firmware
CN111858234A (en) Task execution method, device, equipment and medium
CN113094211B (en) Backup data processing method and device
CN113127259B (en) Data deployment method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant