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

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

Info

Publication number
CN111381850B
CN111381850B CN202010108461.6A CN202010108461A CN111381850B CN 111381850 B CN111381850 B CN 111381850B CN 202010108461 A CN202010108461 A CN 202010108461A CN 111381850 B CN111381850 B CN 111381850B
Authority
CN
China
Prior art keywords
upgrade
file
bios firmware
upgrading
bios
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.)
Active
Application number
CN202010108461.6A
Other languages
Chinese (zh)
Other versions
CN111381850A (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

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method for upgrading BIOS firmware, which comprises the following steps: judging whether an upgrade instruction for starting BIOS firmware to upgrade is received 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 an upgrade file according to the file information to upgrade the BIOS firmware. Therefore, the invention can carry out the upgrading operation of the BIOS firmware through the received upgrading instruction sent by the Smshclp system, and avoids the condition of inputting an account number and a password in a system interface provided by a client. The BIOS firmware upgrading process is simpler, unnecessary time and resource waste are reduced, and upgrading efficiency is improved. The use risk caused by untimely upgrading is reduced as much as possible, and the use experience of the clients is improved. In addition, the upgrading device, the equipment and the storage medium of the BIOS firmware 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 BIOS firmware.
Background
With the rapid development of computer technology, the efficiency requirement for upgrading firmware versions of servers is higher and higher. The upgrade version of the firmware of the Basic Input Output System (BIOS) is an important part in the operation of refreshing the firmware version of the server, and whether the version of the BIOS firmware can be efficiently and quickly upgraded without affecting the normal operation of the server becomes one of the most important indexes of the client selection server.
In the prior art, when a server upgrades a version of a BIOS firmware, a client is required to provide an account number and a password with configuration modification authority to an operation and maintenance person, and the operation and maintenance person logs in the client system through a network interface of a baseboard controller (BMC) to send an instruction of the BIOS firmware, thereby completing operation of the BIOS firmware.
However, when the BMC fails, the operation and maintenance personnel will be affected to upgrade the BIOS firmware, for example, the account number and password login interface is not opened. In addition, because the account number and the password with the configuration permission are very important for the client and are not convenient to provide for other people at will, the flow of applying for the account number and the password is also very complex, the time consumption is long, 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 clients, and poor experience is caused to the clients.
Disclosure of Invention
The invention aims to provide a method, a device, equipment and a medium for upgrading BIOS firmware. According to the invention, the upgrade operation of the BIOS firmware is carried out through the upgrade instruction sent by the system management architecture command line protocol (Smshclp) system of the received server hardware, and the operation and maintenance personnel can directly finish the sending operation of the upgrade instruction on the Smshclp system interface. The account number and the password are not required to be input in a system interface provided by a client. The BIOS firmware upgrading process is simpler, unnecessary time and resource waste are reduced, and upgrading efficiency is improved. The use risk caused by untimely upgrading is reduced as much as possible, and the use experience of the clients is improved.
In order to solve the above technical problems, the present invention provides a method for upgrading BIOS firmware, including:
judging whether an upgrade instruction for starting BIOS firmware to upgrade is received 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 so as 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 according to the file information to upgrade the BIOS firmware 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 upgrade file.
Preferably, the method further comprises:
judging whether the stored BMC mirror image is integrated with an upgrade script of the BIOS firmware or not;
if not, an alarm prompt is carried out to indicate that the BIOS firmware is temporarily unavailable.
Preferably, the method further comprises:
judging whether an updating instruction for updating the upgrading file is received or not;
if yes, updating the upgrade file according to the update instruction.
Preferably, the obtaining the upgrade file to upgrade the BIOS firmware specifically includes:
and obtaining a compressed file corresponding to the upgrade file, and decompressing the compressed file according to a preset decompression algorithm to obtain the upgrade file.
Preferably, the obtaining the upgrade file to upgrade the BIOS firmware specifically includes:
and obtaining an encrypted file corresponding to the upgrade file, and decrypting the encrypted file according to a preset decryption algorithm to obtain the upgrade file.
In order to solve the above technical problem, the present invention further provides an upgrade apparatus for BIOS firmware, including:
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 the Smshclp system interface of the BMC; if yes, entering a first acquisition module;
the first acquisition module is used for acquiring file information of the upgrade file of the BIOS firmware contained in the upgrade 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 technical problem, the invention also provides upgrading equipment of BIOS firmware, which comprises a memory for storing a computer program;
a processor for implementing the steps of the method for upgrading 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, where a computer program is stored in the computer readable storage medium, and the steps of the method for upgrading BIOS firmware according to any one of the above steps are implemented when the computer program is executed by a processor.
The invention provides a method for upgrading BIOS firmware, which comprises the following steps: judging whether an upgrade instruction for starting BIOS firmware to upgrade is received 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 an upgrade file according to the file information to upgrade the BIOS firmware. Therefore, the invention can carry out the upgrading operation of the BIOS firmware through the received upgrading instruction sent by the Smshclp system, and the Smshclp system can complete information interaction in the form of direct input instruction, so that an 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 situation of inputting the account number and the password in the system interface provided by a client is avoided. The BIOS firmware upgrading process is simpler, unnecessary time and resource waste are reduced, and upgrading efficiency is improved. The use risk caused by untimely upgrading is reduced as much as possible, and the use experience of the clients is improved.
In addition, the upgrading device, the equipment and the storage medium of the BIOS firmware provided by the invention correspond to the method and have the same beneficial effects.
Drawings
For a clearer description of embodiments of the present invention, the drawings that are required to be used in the embodiments will be briefly described, it being apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to the drawings without inventive effort for those skilled in the art.
FIG. 1 is a flowchart of a method for upgrading BIOS firmware according to an embodiment of the present invention;
FIG. 2 is a block diagram of an upgrade apparatus for BIOS firmware according to an embodiment of the present invention;
fig. 3 is a block diagram of an upgrade apparatus for BIOS firmware according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without making any inventive effort are within the scope of the present invention.
The invention provides a method, a device, equipment and a medium for upgrading BIOS firmware. According to the invention, the upgrade operation of the BIOS firmware is carried out through the received upgrade instruction sent by the Smshclp system, and an operation and maintenance personnel can directly complete the sending operation of the upgrade instruction on the Smshclp system interface. The account number and the password are not required to be input in a system interface provided by a client. The BIOS firmware upgrading process is simpler, unnecessary time and resource waste are reduced, and upgrading efficiency is improved. The use risk caused by untimely upgrading is reduced as much as possible, and the use experience of the clients is improved.
In order to better understand the aspects of the present invention, the present invention will be described in further detail with reference to the accompanying drawings and detailed description.
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 provided by the embodiment of the present invention includes steps S101 to S103:
step S101: judging whether an upgrade instruction for starting BIOS firmware to upgrade is received according to the operation of a Smshclp system interface of the BMC; if yes, go to step S102;
in one embodiment, the smartclp system through the BMC can complete the sending of the instruction without an account number and a password, and control the BMC to perform corresponding operations. Therefore, when the BIOS firmware needs to be upgraded, whether an upgrade instruction for starting the BIOS firmware to upgrade is received can be judged according to the operation of the operator on the Smshclp system interface of the BMC. If so, the BIOS firmware can be upgraded according to the upgrade instruction.
Step S102: acquiring file information of an upgrade file of the BIOS firmware contained in the upgrade instruction;
step S103: and acquiring an upgrade file according to the file information to upgrade the BIOS firmware.
In a specific implementation, the upgrade instruction includes file information of an upgrade file of the BIOS firmware. Specifically, the file information 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 performing upgrade operation on the BIOS firmware.
In one embodiment, obtaining the upgrade file to upgrade the BIOS firmware according to the file information specifically includes:
establishing communication connection with a file server storing an upgrade file according to the IP address and the port number in the file information;
a file having a file name is acquired from a file server as an upgrade file.
Specifically, according to the IP address and port number of the file server storing the upgrade file, a communication connection between the BMC and the file server may be established, so that the BMC obtains the file stored in the file server. And searching files with the same file name under the directory of the file server according to the file name of the upgrade file recorded in the file information to obtain the upgrade file.
In one embodiment, the obtaining the upgrade file to upgrade the BIOS firmware is specifically:
obtaining a compressed file corresponding to the upgrade file, and decompressing the compressed file according to a preset decompression algorithm to obtain the upgrade file.
Specifically, in the case where the upgrade file occupies a relatively large storage space, the upgrade file is generally compressed and stored in the form of a compressed file. In order to ensure the file transmission efficiency, the compressed file corresponding to the upgrade file can be directly obtained, and the compressed file is decompressed according to a preset decompression algorithm, so that the upgrade file is obtained. 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 is specifically:
obtaining an encrypted file corresponding to the upgrade file, and decrypting the encrypted file according to a preset decryption algorithm to obtain 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 can acquire the encrypted file first, and decrypt the encrypted file according to a preset decryption algorithm to acquire the upgrade file. The preset decryption algorithm is specifically a decryption algorithm corresponding to an encryption algorithm used when encrypting the upgrade file.
The invention provides a method for upgrading BIOS firmware, which comprises the following steps: judging whether an upgrade instruction for starting BIOS firmware to upgrade is received according to the operation of an operation and maintenance personnel 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 acquiring an upgrade file according to the file information to upgrade the BIOS firmware. Therefore, the invention can carry out the upgrading operation of the BIOS firmware through the received upgrading instruction sent by the Smshclp system, and the Smshclp system can complete information interaction in the form of direct input instruction, so that an 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 situation of inputting the account number and the password in the system interface provided by a client is avoided. The BIOS firmware upgrading process is simpler, unnecessary time and resource waste are reduced, and upgrading efficiency is improved. The use risk caused by untimely upgrading is reduced as much as possible, and the use experience of the clients is improved.
In one embodiment, the method for upgrading the BIOS firmware provided by the present invention further includes:
judging whether the stored BMC image is integrated with an upgrade script of the BIOS firmware or not;
if not, an alarm prompt is made to indicate that the BIOS firmware is temporarily unavailable.
Specifically, after the updating of the BIOS firmware is completed, related operations of the BIOS firmware need to be operated according to the requirement of the updated BIOS firmware, so that an updating script of the BIOS firmware needs to be integrated in the BMC image to ensure that the BIOS firmware can work normally subsequently. In order to confirm whether the updated BIOS firmware can normally work, whether the stored BMC image is integrated with an updating script of the BIOS firmware or not can be judged, if not, the condition that the updated BIOS firmware still does not support the normal work in the current situation is indicated, the BMC image needs to be configured in advance, and an alarm prompt can be carried out to indicate that the BIOS firmware is temporarily unavailable, so that an operation and maintenance person can find out problems in time and process the problems; if the judging result is that the upgrade script is integrated, the BIOS firmware after upgrade can be normally used.
In one embodiment, the method for upgrading the BIOS firmware provided by the embodiment of the present invention further includes:
judging whether an update instruction for updating the upgrade file is received or not;
if yes, updating the upgrade file according to the update instruction.
In particular, BIOS firmware generally needs to be continually updated and updated to provide better service to users. Therefore, the update file of the BIOS firmware also needs to be updated continuously, so that it can be determined whether an update instruction for updating the update file is received, and if so, the update file can be updated according to the update instruction. Specifically, the latest upgrade file of the latest version of the BIOS firmware 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 by the embodiment of the invention further comprises the following steps:
judging whether a history upgrading file of BIOS firmware is stored in a memory;
if so, deleting each history upgrading file.
In a specific implementation, to ensure effective utilization of the BMC memory, the history upgrade file of the previously stored history version may be deleted 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 history upgrading files are stored in the memory, the deletion operation is correspondingly carried out.
The invention also provides a device for upgrading the BIOS firmware and a corresponding embodiment of the upgrading equipment of the BIOS firmware. It should be noted that the present invention is described from two angles, one based on the functional module and the other based on the hardware.
FIG. 2 is a block diagram of an upgrade apparatus for BIOS firmware according to an embodiment of the present invention; as shown in fig. 2, an upgrade apparatus for BIOS firmware provided in an embodiment of the present invention includes:
the judging module 10 is configured to judge whether an upgrade instruction for starting the BIOS firmware to upgrade is received according to an operation of a Smashclp system interface in 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;
the second obtaining module 12 is configured to obtain an upgrade file according to the file information to upgrade the BIOS firmware.
In one embodiment, the device for upgrading BIOS firmware provided by the embodiment of the present invention further includes:
the first judging module is used for judging whether the stored BMC image is integrated with an upgrade script of the BIOS firmware; if not, an alarm prompt is made to indicate that the BIOS firmware is temporarily unavailable.
In one embodiment, the device for upgrading BIOS firmware provided by the embodiment of the present invention further includes:
the second judging module is used for judging whether an updating instruction for updating the upgrade file is received or not; if yes, updating the upgrade file according to the update instruction.
Since the embodiments of the present section and the embodiments of the method section correspond to each other, the embodiments of the present section refer to the description of the embodiments of the method section, and are not repeated herein.
According to the upgrading device of the BIOS firmware, whether an upgrading instruction for starting the BIOS firmware to upgrade is received or not is judged according to the operation of an operation and maintenance personnel on a Smashclp 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 an upgrade file according to the file information to upgrade the BIOS firmware. Therefore, the invention can carry out the upgrading operation of the BIOS firmware through the received upgrading instruction sent by the Smshclp system, and the Smshclp system can complete information interaction in the form of direct input instruction, so that an 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 situation of inputting the account number and the password in the system interface provided by a client is avoided. The BIOS firmware upgrading process is simpler, unnecessary time and resource waste are reduced, and upgrading efficiency is improved. The use risk caused by untimely upgrading is reduced as much as possible, and the use experience of the clients is improved.
Fig. 3 is a block diagram of an upgrade apparatus for BIOS firmware according to an embodiment of the present invention. As shown in fig. 3, an upgrade apparatus for BIOS firmware provided in an embodiment of the present invention includes a memory 20 for storing a computer program;
a processor 21 for implementing the steps of the method for upgrading BIOS firmware as described in any one of the above when executing a computer program.
Processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 21 may also comprise a main processor, which is a processor for processing data in an awake state, also called CPU (Central Processing Unit ); a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 21 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 21 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
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 a computer program 201, where the computer program, after being loaded and executed by the processor 21, can implement relevant steps in the method for upgrading BIOS firmware disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 20 may further include an operating system 202, data 203, and the like, where the storage manner may be transient storage or permanent storage. The operating system 202 may include Windows, unix, linux, among others.
In some embodiments, the upgrade apparatus of the BIOS firmware 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 of an upgrade apparatus for BIOS firmware and may include more or fewer components than shown.
Since the embodiments of the portion and the embodiments of the method portion correspond to each other, the embodiments of the portion refer to the description of the embodiments of the method portion, which is not repeated herein. In some embodiments of the invention, the processor and memory may be connected by a bus or other means.
The upgrading device of the BIOS firmware provided by the invention can realize the following method: judging whether an upgrade instruction for starting BIOS firmware to upgrade is received according to the operation of an operation and maintenance personnel 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 acquiring an upgrade file according to the file information to upgrade the BIOS firmware. Therefore, the invention can carry out the upgrading operation of the BIOS firmware through the received upgrading instruction sent by the Smshclp system, and the Smshclp system can complete information interaction in the form of direct input instruction, so that an 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 situation of inputting the account number and the password in the system interface provided by a client is avoided. The BIOS firmware upgrading process is simpler, unnecessary time and resource waste are reduced, and upgrading efficiency is improved. The use risk caused by untimely upgrading is reduced as much as possible, and the use experience of the clients 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 executed by a processor, performs the steps as described in the method embodiments above.
It will be appreciated that the methods of the above embodiments, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored on a computer readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium for performing all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The method, the device, the equipment and the medium for upgrading the BIOS firmware provided by the invention are described in detail. In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section. It should be noted that it will be apparent to those skilled in the art that various modifications and adaptations of the invention can be made without departing from the principles of the invention and these modifications and adaptations are intended to be within the scope of the invention as defined in the following claims.
It should also be noted that in this 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. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Claims (9)

1. A method for upgrading firmware of a BIOS, comprising:
judging whether an upgrade instruction for starting BIOS firmware to upgrade is received 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;
according to the file information, acquiring the upgrade file to upgrade the BIOS firmware;
judging whether a history upgrading file of BIOS firmware is stored in a memory;
if yes, deleting each history upgrading file;
obtaining the upgrade file to upgrade the BIOS firmware includes:
acquiring the upgrade file from a pre-established HTTPS file server;
storing the upgrade file into a memory of the BMC so as to upgrade the BIOS firmware;
further comprises:
judging whether the stored BMC mirror image is integrated with an upgrade script of the BIOS firmware or not;
if not, an alarm prompt is carried out to indicate that the BIOS firmware is temporarily unavailable.
2. The method for upgrading BIOS firmware according to claim 1, wherein the file information specifically includes an IP address of a file server storing the upgrade file, a port number, and a file name of the upgrade file.
3. The method for upgrading the BIOS firmware according to claim 2, wherein the obtaining the upgrade file 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 upgrade file.
4. 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;
if yes, updating the upgrade file according to the update instruction.
5. The method for upgrading BIOS firmware according to claim 1, wherein the obtaining the upgrade file to upgrade the BIOS firmware specifically comprises:
and obtaining a compressed file corresponding to the upgrade file, and decompressing the compressed file according to a preset decompression algorithm to obtain the upgrade file.
6. The method for upgrading BIOS firmware according to claim 1, wherein the obtaining the upgrade file to upgrade the BIOS firmware specifically comprises:
and obtaining an encrypted file corresponding to the upgrade file, and decrypting the encrypted file according to a preset decryption algorithm to obtain the upgrade file.
7. An upgrade 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 the Smshclp system interface of the BMC; if yes, entering a first acquisition module;
the first acquisition module is used for acquiring file information of the upgrade file of the BIOS firmware contained in the upgrade instruction;
the second obtaining module is used for obtaining the upgrade file according to the file information so as to upgrade the BIOS firmware;
the device for upgrading the BIOS firmware is also used for:
judging whether a history upgrading file of BIOS firmware is stored in a memory;
if yes, deleting each history upgrading file;
obtaining the upgrade file to upgrade the BIOS firmware includes:
acquiring the upgrade file from a pre-established HTTPS file server;
storing the upgrade file into a memory of the BMC so as to upgrade the BIOS firmware;
the device for upgrading the BIOS firmware is also used for:
judging whether the stored BMC mirror image is integrated with an upgrade script of the BIOS firmware or not;
if not, an alarm prompt is carried out to indicate that the BIOS firmware is temporarily unavailable.
8. An upgrade apparatus for BIOS firmware, comprising a memory for storing a computer program;
a processor for implementing the steps of the method for upgrading BIOS firmware according to any one of claims 1 to 6 when executing said computer program.
9. A computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, the computer program implementing the steps of the method for upgrading BIOS firmware according to any one of claims 1 to 6 when executed by a processor.
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 CN111381850A (en) 2020-07-07
CN111381850B true 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)

Families Citing this family (2)

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

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

Also Published As

Publication number Publication date
CN111381850A (en) 2020-07-07

Similar Documents

Publication Publication Date Title
US10735393B2 (en) Data communication method, user equipment, and server
US20100083241A1 (en) Image forming apparatus, delivery server, and firmware updating method
US11080041B1 (en) Operating system management for virtual workspaces
CN111381850B (en) BIOS firmware upgrading method, device, equipment and medium
CN112948340A (en) Data synchronization method and device, electronic equipment and readable storage medium
CN113626133B (en) Virtual machine control method, device, equipment and computer readable storage medium
US10318272B1 (en) Systems and methods for managing application updates
CN111200593A (en) Application login method and device and electronic equipment
CN107918564B (en) Data transmission exception handling method and device, electronic equipment and storage medium
JP5795554B2 (en) File synchronization system using differential encryption, method and program thereof
US8544107B2 (en) Information processing system, information processing apparatus, and computer-readable storage medium
US20200167177A1 (en) Virtual machine migration across cloud computing providers
CN111181905B (en) File encryption method and device
CN113312669B (en) Password synchronization method, device and storage medium
CN112395096A (en) Remote function call processing method and device, electronic equipment and storage medium
CN115174596A (en) Equipment remote copying method, device and medium
CN111046389A (en) Method for securely updating firmware components and portable computer station for implementation
WO2017096889A1 (en) Method and device for upgrading and downgrading system
CN109657481B (en) Data management method and device
CN111737679A (en) Security authentication method and device, electronic equipment and storage medium
CN113535328B (en) Application instance control method, device, equipment and storage medium
US12026039B2 (en) Repair mode for computing devices
CN116614323B (en) Cloud storage enterprise network management method and system based on Rclone
CN116506224B (en) File uploading method and device, computer equipment and storage medium
CN113094211B (en) Backup data processing method and device

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