CN117608619A - Updating method, updating system, electronic device and storage medium of UEFI BIOS firmware - Google Patents

Updating method, updating system, electronic device and storage medium of UEFI BIOS firmware Download PDF

Info

Publication number
CN117608619A
CN117608619A CN202311321577.8A CN202311321577A CN117608619A CN 117608619 A CN117608619 A CN 117608619A CN 202311321577 A CN202311321577 A CN 202311321577A CN 117608619 A CN117608619 A CN 117608619A
Authority
CN
China
Prior art keywords
uefi bios
file
uefi
firmware
system partition
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.)
Pending
Application number
CN202311321577.8A
Other languages
Chinese (zh)
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.)
Shenzhen Baoxinchuang Information Technology Co ltd
Original Assignee
Shenzhen Baoxinchuang Information 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 Shenzhen Baoxinchuang Information Technology Co ltd filed Critical Shenzhen Baoxinchuang Information Technology Co ltd
Priority to CN202311321577.8A priority Critical patent/CN117608619A/en
Publication of CN117608619A publication Critical patent/CN117608619A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4403Processor initialisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Landscapes

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

Abstract

The application relates to the technical field of computers and discloses a UEFI BIOS firmware updating method, an updating system, electronic equipment and a storage medium, wherein the method comprises the following steps: when updating UEFI BIOS firmware, starting a UEFI BIOS setting interface in the electronic equipment, acquiring a UEFI BIOS mirror image file through the UEFI BIOS setting interface, checking the UEFI BIOS mirror image file to obtain a first UEFI BIOS restoration file, if an EFI system partition exists in a hard disk and a second UEFI BIOS restoration file exists in the EFI system partition, replacing the second UEFI BIOS restoration file with the first UEFI BIOS restoration file, and acquiring the first UEFI BIOS restoration file from the EFI system partition to update the UEFI BIOS firmware. By writing the first UEFI BIOS restoring file into the EFI system partition and acquiring the first UEFI BIOS restoring file from the EFI system partition to update the UEFI BIOS firmware, the method and the device can realize quick updating of the UEFI BIOS firmware.

Description

Updating method, updating system, electronic device and storage medium of UEFI BIOS firmware
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a UEFI BIOS firmware updating method, a UEFI BIOS firmware updating system, electronic equipment and a storage medium.
Background
The UEFI BIOS firmware is used for taking charge of tasks such as self-checking of terminal equipment, hardware initialization, booting an operating system and the like, and regular checking and updating of the UEFI BIOS firmware are needed to avoid damage to the UEFI BIOS firmware.
When the UEFI BIOS firmware is damaged, the terminal device damaged by the UEFI BIOS firmware needs to be taken to a service website, and a restoring file is provided by a related staff, so that crisis restoration (crisis restoration) is performed through the restoring file, so that the UEFI BIOS firmware is restored, time cost and labor cost are consumed, and the terminal device cannot normally operate due to the fact that the UEFI BIOS firmware cannot be restored in time.
Disclosure of Invention
In order to solve the technical problems, the embodiments of the present application provide an updating method, an updating system, an electronic device and a storage medium for UEFI BIOS firmware, which solve the problem that a terminal device cannot operate normally due to incapability of repairing UEFI BIOS firmware in time, and can implement rapid updating of UEFI BIOS firmware.
In order to solve the technical problems, the embodiment of the application provides the following technical scheme:
in a first aspect, an embodiment of the present application provides a method for updating UEFI BIOS firmware, which is applied to an electronic device, where the electronic device includes a hard disk, and the method includes:
When the UEFI BIOS firmware is updated, starting a UEFI BIOS setting interface in the electronic equipment;
acquiring a UEFI BIOS image file through a UEFI BIOS setting interface, and checking the UEFI BIOS image file to obtain a first UEFI BIOS restored file, wherein the first UEFI BIOS restored file is a UEFI BIOS image file which is checked successfully;
if the EFI system partition exists in the hard disk and the second UEFI BIOS restoring file exists in the EFI system partition, replacing the second UEFI BIOS restoring file with the first UEFI BIOS restoring file;
the first UEFI BIOS restored file is obtained from the EFI system partition to update the UEFI BIOS firmware.
In some embodiments, verifying the UEFI BIOS image file to obtain a first UEFI BIOS restore file includes:
calculating a hash value corresponding to the UEFI BIOS image file to obtain a first hash value;
acquiring a second hash value, wherein the second hash value is a hash value corresponding to the compiled UEFI BIOS image file;
if the first hash value is the same as the second hash value, determining that the UEFI BIOS image file is successfully checked, and obtaining the UEFI BIOS image file which is successfully checked;
and determining the UEFI BIOS image file which is successfully checked as a first UEFI BIOS restore file.
In some embodiments, before replacing the second UEFI BIOS restored file with the first UEFI BIOS restored file, the method further comprises:
judging whether an EFI system partition exists in the hard disk;
the method further comprises the steps of:
if the hard disk does not have the EFI system partition, updating the UEFI BIOS firmware directly by using the first UEFI BIOS restoring file;
if the EFI system partition exists in the hard disk, further judging whether a second UEFI BIOS restored file exists in the EFI system partition;
if the second UEFI BIOS restoring file does not exist, the first UEFI BIOS restoring file is directly written into the EFI system partition.
In some embodiments, the EFI system partition includes a fixed identifier and a fixed file name, wherein the fixed file name is used to identify the UEFI BIOS image file;
determining whether an EFI system partition exists on the hard disk includes:
searching a fixed identifier in the hard disk, and if the fixed identifier is found, determining that an EFI system partition exists in the hard disk;
judging whether the EFI system partition has the second UEFI BIOS restored file or not comprises the following steps:
searching the fixed file name on the EFI system partition, and if the fixed file name is found, determining that the second UEFI BIOS restored file exists in the EFI system partition.
In some embodiments, the method further comprises:
Judging whether the UEFI BIOS firmware is damaged or not, specifically comprising:
when the electronic equipment is restarted, whether the UEFI BIOS firmware is in an upgrading state is detected, and if so, the UEFI BIOS firmware is determined to be damaged.
In some embodiments, the electronic device includes a flash memory chip including a flush flag bit, detecting whether UEFI BIOS firmware is in an upgraded state, including:
detecting whether the brushing flag bit is changed;
if the brushing zone bit is not changed, determining that the UEFI BIOS firmware is in an upgrading state;
if the flush flag bit is changed, it is determined that the UEFI BIOS firmware has completed the upgrade.
In some embodiments, the method further comprises:
if the UEFI BIOS firmware is damaged, a first UEFI BIOS restore file is automatically acquired from the EFI system partition to restore the UEFI BIOS firmware.
In a second aspect, an embodiment of the present application provides an electronic device, including:
at least one processor, and at least one memory, wherein the memory stores a computer program that, when executed by the processor, causes the processor to perform the steps of the UEFI BIOS firmware update method of the first aspect.
In a third aspect, an embodiment of the present application provides an update system for UEFI BIOS firmware, where the system includes:
The storage device is used for acquiring the UEFI BIOS image file;
the electronic device of the second aspect.
In a fourth aspect, embodiments of the present application provide a non-volatile computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the method of updating UEFI BIOS firmware of the first aspect.
The beneficial effects of this embodiment of the application are: unlike the prior art, the embodiment of the application provides a method for updating UEFI BIOS firmware, which includes: when updating UEFI BIOS firmware, starting a UEFI BIOS setting interface in the electronic equipment, acquiring a UEFI BIOS mirror image file through the UEFI BIOS setting interface, checking the UEFI BIOS mirror image file to obtain a first UEFI BIOS restoration file, if an EFI system partition exists in a hard disk and a second UEFI BIOS restoration file exists in the EFI system partition, replacing the second UEFI BIOS restoration file with the first UEFI BIOS restoration file, and acquiring the first UEFI BIOS restoration file from the EFI system partition to update the UEFI BIOS firmware. By writing the first UEFI BIOS restoring file into the EFI system partition and acquiring the first UEFI BIOS restoring file from the EFI system partition to update the UEFI BIOS firmware, the method and the device can realize quick updating of the UEFI BIOS firmware.
Drawings
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements, and in which the figures of the drawings are not to scale, unless expressly stated otherwise.
FIG. 1 is a schematic diagram of an application environment provided by an embodiment of the present application;
fig. 2 is a flowchart of a UEFI BIOS firmware updating method provided in an embodiment of the present application;
fig. 3 is a schematic diagram of a refinement flow of step S202 in fig. 2;
fig. 4 is a schematic diagram of a refinement flow of step S203 in fig. 2;
fig. 5 is a schematic diagram of a refinement flow of step S204 in fig. 2;
fig. 6 is a schematic flow chart for detecting whether UEFI BIOS firmware is damaged according to an embodiment of the present application;
fig. 7 is a schematic diagram of a refinement flow of step S601 in fig. 6;
fig. 8 is an overall flowchart of a UEFI BIOS firmware update method provided in the embodiments of the present application;
fig. 9 is a schematic structural diagram of an updating device for UEFI BIOS firmware according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Reference numerals illustrate:
Reference numerals Name of the name Reference numerals Name of the name
100 Application environment 900 Updating device of UEFIBIOS firmware
10 Electronic equipment 901 Start module
20 Storage device 902 Acquisition module
101 Processor and method for controlling the same 903 Replacement module
102 Memory device 904 Update module
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
It should be noted that, if not conflicting, the various features in the embodiments of the present application may be combined with each other, which is within the protection scope of the present application. In addition, the words "first", "second", and the like used in this application are not limited to data, but merely divide the same or similar items having substantially the same functions and actions.
The technical scheme of the application is specifically described below with reference to the accompanying drawings of the specification:
referring to fig. 1, fig. 1 is a schematic diagram of an application environment according to an embodiment of the present application;
As shown in fig. 1, the application environment 100 includes: the electronic device 10 and the storage device 20, wherein the electronic device 10 is used for acquiring the UEFIBIOS restored file from the storage device 20, the storage device 20 is used for storing the UEFIBIOS restored file and providing the UEFIBIOS restored file for the electronic device 10, and the electronic device 10 is connected with the storage device 20 through a wireless network or a wired interface. It will be appreciated that the electronic device 10 includes a network-enabled device such as a computer terminal, the storage device 20 includes a usb disk, a hard disk, an optical disk, a floppy disk, a tape, and the like, the wired interface includes an interface such as USB, HDMI, fireWire, thunderbolt, and the wireless interface includes a wireless network such as bluetooth, WIFI, wireless local area network, and NFC.
In the embodiment of the present application, the electronic device 10 obtains the UEFIBIOS restore file from the storage device 20 and stores the file in the electronic device 10, so as to further update the UEFIBIOS firmware in the electronic device 10.
Prior art known to the inventors of the present application will be briefly described before describing the solution of the present application, so that the following is convenient for understanding the solution of the present application.
Unified extensible firmware interface basic input output system (Unified Extensible Firmware Interface, basic Input Output System, UEFIBIOS): a novel computer starting mode which is faster and safer is a starting program based on a graphical interface, and can provide a more friendly operation interface and a higher starting speed.
Crisis recovery (crisis recovery): when the system has the problems of errors, program breakdown or blue screen, the automatic recovery operation is carried out.
EFI system partition (EFI system partition, ESP), a physical partition using FAT32 format, typically 100MB in partition size, is used to provide a location that can be directly accessed and read by UEFI firmware to boot the operating system and management system boot-up process, specifically for:
(1) The store boot loader ESP partition is the primary location where the boot loader is stored, such as the UEFI boot manager (e.g., GRUB), for loading the operating system.
(2) Storing the UEFI application: ESP partitions may be used to store various UEFI applications such as diagnostic tools, firmware update tools, hardware configuration tools, and the like.
(3) Storing a starting configuration file: the boot configuration file (e.g., bootloader configuration file) in the ESP partition stores the relevant settings and parameters at system start-up to guide the boot loader's boot behavior.
Referring to fig. 2, fig. 2 is a flowchart of a UEFI BIOS firmware updating method provided in an embodiment of the present application;
the updating method of the UEFI BIOS firmware is applied to the electronic equipment, and specifically, an execution main body of the updating method of the UEFI BIOS firmware is one or at least two processors of the electronic equipment.
The electronic device includes a solid state disk (Solid State Drive, SSD) including a single-layer Cell (Single Level Cell, SLC), a Multi-layer Cell (MLC), a three-layer Cell (Triple Level Cell, TLC), a four-layer Cell (QLC), and other memory chips.
As shown in fig. 2, the method includes:
step S201: when the UEFI BIOS firmware is updated, starting a UEFI BIOS setting interface in the electronic equipment;
in this embodiment of the present application, the electronic device includes a motherboard, and the UEFI BIOS setting interface is located on the motherboard of the electronic device, where the electronic device provides a shortcut key for startup of the UEFI BIOS, for example: f2, starting to the UEFI BIOS setting interface through a shortcut key, wherein the main board is one of the most important devices of the electronic device, and a main circuit system forming the electronic device is arranged on the main board. It should be noted that, the UEFI BIOS activated shortcuts set by manufacturers of electronic devices of different brands are different, and specific shortcuts need to be determined according to the electronic devices of different brands.
Specifically, when the UEFI BIOS firmware needs to be updated, in the shutdown state of the electronic device, clicking a power key of the electronic device, and long-pressing or repeatedly pressing a shortcut key corresponding to the UEFI BIOS setting interface in the electronic device, and starting the shortcut key to the UEFI BIOS setting interface in the electronic device.
Step S202: acquiring a UEFI BIOS mirror image file through a UEFI BIOS setting interface, and checking the UEFI BIOS mirror image file to obtain a first UEFI BIOS restoring file;
in the embodiment of the application, the UEFI BIOS image file is used for storing and transmitting a UEFI BIOS firmware program, and is used for updating the UEFI BIOS firmware in the electronic device, where the firmware program is used for managing hardware devices, providing boot and startup services, and the like.
Specifically, the UEFI BIOS setting interface includes a UEFI BIOS firmware update option, after clicking the UEFI BIOS firmware update option, the electronic device may automatically identify the storage device, obtain a UEFI BIOS image file from the storage device, and verify the UEFI BIOS image file to obtain a first UEFI BIOS restore file, where the first UEFI BIOS restore file is a UEFI BIOS image file that is successfully verified.
In the embodiment of the application, in order to ensure that the UEFI BIOS firmware in the electronic device is updated successfully, the UEFI BIOS image file acquired from the storage device needs to be checked to ensure the integrity and correctness of the UEFI BIOS image file acquired from the storage device, that is, ensure that the UEFI BIOS image file is not tampered or damaged in the transmission, storage and use processes.
Referring to fig. 3 again, fig. 3 is a schematic diagram of a refinement flow chart of step S202 in fig. 2;
as shown in fig. 3, this step S202 includes:
step S2021: calculating a hash value corresponding to the UEFI BIOS image file to obtain a first hash value;
in the embodiment of the present application, the hash value is a function of mapping input data with any length to output data with a fixed length, and is generally represented by a character string composed of short random characters and numbers, and the hash value is used to ensure the integrity of the file, where the hash value includes SHA256, SHA-512, SHA-224, SHA-384.
In this embodiment of the present application, the UEFI BIOS image file is generally stored in a fixed area in the hard disk of the electronic device, where the fixed area is located after the main boot record (Master Boot Record, MBR) of the hard disk, and before the partition table, when the electronic device is started, the UEFI BIOS system in the electronic device will read the image file in the fixed area and load it into the memory for running.
Specifically, a first area is introduced into a fixed area, the first area is a signature area, the signature area is used for storing a cryptographic hash value, a hash tool or a programming library is used for generating a private key (pri.pem) and a public key (pub.pem), and the public key is stored in a second area, the second area comprises a BIOS FVRECOVERY area, the second area is used for storing boot sector information, the boot sector information comprises information such as a starting device list, a starting sequence and the like, the hash tool comprises OpenSSL, hashcat and the like, and the programming library comprises hashlib, java Cryptography Extension (JCE), NET frame work and the like.
Specifically, a hash tool or a programming library for calculating the hash value is used for calculating the hash value corresponding to the UEFI BIOS image file, so as to obtain a first hash value.
Step S2022: acquiring a second hash value, wherein the second hash value is a hash value corresponding to the compiled UEFI BIOS image file;
it will be appreciated that each official version of the UEFI BIOS image file carries a hash value, where the hash value is pre-stored in the UEFI BIOS image file before the UEFI BIOS image file is released, and is typically stored in a preset field of the image file, where the preset field includes a "signature" field, and the preset field is typically an image file header location, and the preset field includes information such as a file header, a signature, a version, and a size, where the signature is used to store the hash value, and the hash value is used to verify whether the UEFI BIOS image file is tampered with during transmission, storage, and use.
In the embodiment of the present application, the compiled UEFI BIOS image file is an original version of the UEFI BIOS image file.
Specifically, a public key is obtained from the second area, and the digest in the preset field is decrypted by using the public key to obtain a second hash value. It should be noted that, the version of the UEFI BIOS image file in the storage device is the same as the version of the compiled UEFI BIOS image file, and when the UEFI BIOS firmware is damaged, the success rate of restoring the UEFI BIOS firmware from the UEFI BIOS image file of the same version is higher.
In an embodiment of the application, the updating method of the UEFI BIOS firmware further includes: calculating a second hash value specifically includes: calculating a hash value corresponding to the UEFI BIOS mirror image file through a hash tool or a programming library, encrypting a second hash value by using a private key generated by the hash tool or the programming library to obtain a Digest (Digest), copying the Digest into a preset field, and decrypting the Digest in the preset field through the public key when the integrity of the UEFI BIOS mirror image file needs to be verified to obtain the second hash value. Wherein the digest is a fixed-length string, typically generated by a hash function, used to verify the integrity of the data.
Step S2023: comparing whether the first hash value is equal to the second hash value;
specifically, whether the first hash value is equal to the second hash value is compared, if the first hash value is equal to the second hash value, the step is skipped to step S2024, otherwise, the step is skipped to step S2026.
Step S2024: determining that the UEFI BIOS mirror image file is successfully checked to obtain the UEFI BIOS mirror image file which is successfully checked;
specifically, if the first hash value is equal to the second hash value, determining that the UEFI BIOS image file is successfully checked, and obtaining the UEFI BIOS image file that is successfully checked, that is, the UEFI BIOS image file obtained from the storage device is safe and complete, and can be compiled and used for restoring or updating the UEFI BIOS firmware.
Step S025: determining the UEFI BIOS mirror image file which is successfully checked as a first UEFI BIOS restoring file;
specifically, renaming the file name of the checked UEFI BIOS image file to a predefined restored file name to obtain a first UEFI BIOS restored file, where the file name of the first UEFI BIOS restored file is the same as the predefined restored file name, for example: and if the file name of the UEFI BIOS mirror image file which is successfully checked is BIOS_V1.2.Bin, and the predefined restored file name is recovery. Bin, modifying the BIOS_V1.2.Bin into the recovery.
In the embodiment of the application, when updating or restoring the UEFI BIOS firmware, the predefined restoring file name is used to designate the image file to be loaded, and the predefined restoring file name is used to ensure the uniqueness and the identifiability of the file name so as to avoid conflict or confusion with other file names, and the image file can be quickly identified and found by searching the predefined restoring file name, so that the maintainability and the reliability of the system are improved.
Step S2026: checking failure;
specifically, if the first hash value is different from the second hash value, determining that the UEFI BIOS image file in the storage device is unsafe, exiting the current program, or acquiring the UEFI BIOS image file from other storage devices, and further checking.
Step S203: judging whether an EFI system partition exists in the hard disk;
in the present embodiment, EFI system partitioning is used to provide a location that can be directly accessed and read by UEFIBIOS firmware to boot the operating system and management system boot-up process.
In the embodiment of the application, the UEFIBIOS image file is usually stored in the EFI system partition, when the EFI system partition does not exist in the electronic equipment and the electronic equipment needs to update or restore the UEFIBIOS firmware, the UEFIBIOS image file needs to be acquired from the external storage equipment.
Specifically, it is determined whether the EFI system partition exists in the hard disk, if the EFI system partition exists in the hard disk, the step S204 is skipped, otherwise the step S208 is skipped.
Referring to fig. 4 again, fig. 4 is a schematic diagram of a refinement flow of step S203 in fig. 2;
as shown in fig. 4, this step S203 includes:
step S2031: searching a hard disk for a fixed identifier;
in the embodiment of the application, the format of the partition table of the hard disk supporting the UEFIBIOS system startup is a globally unique identifier partition table (GUIDPartitionTable, GPT), and the GUID of the EFI system partition is a fixed identifier, for example: C12A7328-F81F-11D2-BA4B-00A0C93EC93B.
Specifically, the fixed identifier is searched through a search interface on the electronic device, so as to further judge whether the EFI system partition exists in the hard disk.
Step S2032: judging whether a fixed identifier exists or not;
specifically, the hard disk is searched for a fixed identifier, if the fixed identifier can be searched for on the hard disk, the process goes to step S2033, otherwise, the process goes to step S2034.
Step S2033: determining that an EFI system partition exists in a hard disk;
specifically, a fixed identifier is searched on the hard disk, and if the fixed identifier can be searched on the hard disk, the existence of the EFI system partition on the hard disk is determined.
Step S2034: determining that the EFI system partition does not exist in the hard disk;
specifically, a fixed identifier is searched on the hard disk, and if the fixed identifier is not searched, the fact that the EFI system partition does not exist on the hard disk is determined.
Step S204: judging whether the EFI system partition has a second UEFI BIOS restored file or not;
when updating the UEFI BIOS firmware, a new UEFI BIOS image file needs to be acquired to replace the UEFI BIOS restored file of the old version.
Specifically, it is determined whether the EFI system partition has a UEFI BIOS image file, if the EFI system partition has a second UEFI BIOS restore file, the step is skipped to step S205, otherwise the step is skipped to step S207.
Referring to fig. 5 again, fig. 5 is a schematic diagram of the refinement flow of step S204 in fig. 2;
as shown in fig. 5, this step S204 includes:
step S2041: searching for a fixed file name on the EFI system partition;
the fixed file name is the same as the predefined restored file name, and the file name of the second UEFI BIOS restored file is the same as the predefined restored file name.
Specifically, the fixed file name is searched on the search interface of the EFI system partition of the electronic device, so as to further judge whether the fixed file name exists in the EFI system partition.
Step S2042: judging whether a fixed file name exists or not;
specifically, it is determined whether a fixed file name exists, if so, the step is skipped to step S2043, otherwise, the step is skipped to step S2044.
Step S2043: determining that a second UEFI BIOS restored file exists in the EFI system partition;
specifically, if the EFI system partition has a fixed file name, it is determined that the EFI system partition has a second UEFI BIOS restored file.
Step S2044: determining that the second UEFI BIOS restored file does not exist in the spare EFI system partition;
specifically, if the EFI system partition does not have a fixed file name, it is determined that the EFI system partition does not have the second UEFI BIOS restore file.
Step S205: replacing the second UEFI BIOS restored file with the first UEFI BIOS restored file;
specifically, if the EFI system partition has the second UEFI BIOS restored file, deleting the second UEFI BIOS restored file in the EFI system partition, and saving the first UEFI BIOS restored file to the EFI system partition, so as to replace the second UEFI BIOS restored file with the first UEFI BIOS restored file.
Step S206: the first UEFI BIOS restored file is obtained from the EFI system partition to update the UEFI BIOS firmware.
Specifically, when the UEFI BIOS firmware in the electronic device needs to be updated, searching a first UEFI BIOS restore file corresponding to the preset file name from the EFI system partition according to the preset file name, and installing the first UEFI BIOS restore file in the current electronic device to implement updating of the UEFI BIOS firmware.
In this embodiment of the present application, when updating the UEFI BIOS firmware, the UEFI BIOS image file in the storage device is the image file of the latest version, that is, the version of the first UEFI BIOS restore file in the EFI system partition is the latest version.
Step S207: directly writing the first UEFI BIOS restore file into the EFI system partition;
specifically, when the second UEFI BIOS restore file does not exist in the EFI system partition, the first UEFI BIOS restore file is directly written into the EFI system partition, and when the UEFI BIOS firmware of the current electronic device is updated, the step S205 is skipped.
Step S208: updating UEFI BIOS firmware through the first UEFI BIOS restore file;
specifically, if the EFI system partition does not exist in the hard disk of the electronic device and the electronic device needs to update the UEFI BIOS firmware, the first UEFI BIOS restore file is directly installed, that is, the UEFI BIOS mirror file with successful verification is installed, so that updating of the UEFI BIOS firmware is realized.
In the embodiment of the application, the first UEFI BIOS restore file is pre-stored in the EFI system partition, when the UEFI BIOS firmware in the electronic device is damaged, the electronic device automatically triggers crisis restoration, the first UEFI BIOS restore file is obtained from the EFI system partition to restore the UEFI BIOS firmware in the current electronic device, or when the UEFI BIOS firmware in the electronic device needs to be updated, the electronic device automatically detects whether the version of the first UEFI BIOS restore file in the EFI system partition is higher than the version of the UEFI BIOS mirror file corresponding to the UEFI BIOS firmware in the current electronic device, if yes, the first UEFI BIOS restore file is directly obtained from the EFI system partition to update the UEFI BIOS firmware, automatic restoration can be achieved when the UEFI BIOS firmware is damaged, the time cost of re-obtaining the first UEFI BIOS restore file from the storage device is reduced, and under the condition that a user does not know that the UEFI BIOS firmware is damaged, the electronic device can be used normally, and the experience of the user is improved.
Referring to fig. 6 again, fig. 6 is a schematic flow chart for detecting whether the UEFI BIOS firmware is damaged according to the embodiment of the present application;
as shown in fig. 6, the process of detecting whether the UEFI BIOS firmware is corrupted includes:
step S601: detecting whether UEFI BIOS firmware is in an upgrading state;
in the embodiment of the application, the electronic device comprises a complementary metal oxide semiconductor (Complementary Metal Oxide Semiconductor, CMOS), wherein the CMOS is a readable and writable parallel or serial FLASH chip on a main board of the electronic device and is used for storing the hardware configuration of the UEFI BIOS and the setting of certain parameters by a user.
Specifically, a BIOS flush flag bit is defined in the CMOS, and whether the UEFI BIOS firmware is damaged is detected according to the flush flag bit.
Referring to fig. 7 again, fig. 7 is a schematic diagram of the refinement flow of step S601 in fig. 6;
as shown in fig. 7, this step S601 includes:
step S6011: detecting whether the brushing flag bit is changed;
in the embodiment of the application, the brushing flag bit is used for recording whether the UEFI BIOS firmware has been subjected to the refreshing operation, so that the updating state of the UEFI BIOS firmware is detected by modifying the brushing flag bit.
In this embodiment of the present application, when the update of the UEFI BIOS firmware starts, an initial value of the flush flag bit is set, after the update ends, the electronic device clears the flush flag bit before starting, and sets the flush flag bit to an end value, for example: the initial value is set to 0xFF and the end value is set to 0x00, wherein the swipe flag bit is a special byte of 8 bits.
Specifically, when the electronic device is restarted and checked, the value of the writing flag bit is automatically checked, if the value of the writing flag bit is the end value, it is determined that the writing flag bit is changed, the step S6012 is skipped, and if the value of the writing flag bit is the initial value, it is determined that the writing flag bit is not changed, the step S6013 is skipped.
Step S6012: determining that the UEFI BIOS firmware has completed the upgrade;
specifically, if the current brushing flag bit is detected to be the end value, determining that the UEFI BIOS firmware is updated.
Step S6013: determining that the firmware is in an upgrade state;
specifically, if the current writing flag bit is detected to be an initial value, it is determined that the UEFI BIOS firmware is in an upgrade state, that is, upgrade is performed, but the upgrade is not completed.
Step S602: determining UEFI BIOS firmware corruption;
specifically, the current writing flag bit is an initial value, it is determined that the UEFI BIOS firmware is in an upgrade state, that is, the UEFI BIOS firmware is not yet upgraded, and it is determined that the UEFI BIOS firmware is damaged.
Step S603: automatically acquiring a first UEFI BIOS restore file from the EFI system partition to restore UEFI BIOS firmware;
specifically, when the UEFI BIOS firmware is damaged, crisis recovery is automatically triggered, so as to automatically obtain a first UEFI BIOS recovery file from the EFI system partition, and automatically install the first UEFI BIOS recovery file, so as to recover the UEFI BIOS firmware, and recover normal use of the electronic device.
Step S604: determining that UEFI BIOS firmware upgrade is completed;
specifically, if the current brushing flag bit is the end value, determining that the updating of the UEFI BIOS firmware is completed.
In the embodiment of the application, whether the UEFI BIOS firmware is damaged or not is detected, and whether the hash value in the UEFI BIOS image file installed in the current electronic device is the same as the hash value in the official version UEFI BIOS image file corresponding to the current UEFI BIOS image file can also be detected.
Specifically, a third hash value obtained by calculating when compiling the UEFI BIOS image file of the official version is completed is obtained, after the electronic equipment contacts a power supply, namely when the electronic equipment is started, a fourth hash value of the UEFI BIOS image file installed in the current electronic equipment is calculated through a hash tool or library stored in the electronic equipment, whether the third hash value is identical with the fourth hash value is compared, if the third hash value is identical with the fourth hash value, the fact that the UEFI BIOS firmware in the current electronic equipment is not damaged is indicated, if the third hash value is not identical with the fourth hash value, it is determined that the UEFI BIOS firmware in the current electronic equipment is damaged, crisis recovery is automatically triggered to restore the UEFI BIOS firmware.
In the embodiment of the application, whether the UEFI BIOS firmware is damaged is automatically detected, and if so, the UEFI BIOS restoration file is automatically acquired from the ESP partition for restoration so as to reduce the influence rate on the user.
In the embodiment of the application, when the UEFI BIOS firmware is updated, a UEFI BIOS setting interface in the electronic device is started, a UEFI BIOS image file is obtained through the UEFI BIOS setting interface, and the UEFI BIOS image file is checked to obtain a first UEFI BIOS restore file, if an EFI system partition exists in the hard disk and a second UEFI BIOS restore file exists in the EFI system partition, the second UEFI BIOS restore file is replaced with the first UEFI BIOS restore file, and the first UEFI BIOS restore file is obtained from the EFI system partition to update the UEFI BIOS firmware. By writing the first UEFI BIOS restoring file into the EFI system partition and acquiring the first UEFI BIOS restoring file from the EFI system partition to update the UEFI BIOS firmware, the method and the device can realize quick updating of the UEFI BIOS firmware, save time cost and improve the use experience of a user.
Referring to fig. 8, fig. 8 is an overall flow chart of a UEFI BIOS firmware updating method provided in an embodiment of the present application;
as shown in fig. 8, the overall flow of the UEFI BIOS firmware updating method specifically includes:
step S801: starting the electronic equipment to a UEFI BIOS setting interface;
specifically, a shortcut key on the electronic device is pressed for a long time or repeatedly, so that the user can start to the UEFI BIOS setting interface through the shortcut key.
Step S802: selecting a UEFI BIOS update option in a UEFI BIOS setting interface;
specifically, the UEFI BIOS image file is obtained from the external storage device by clicking the UEFI BIOS update option in the UEFI BIOS setting interface.
Step S803: checking whether the UEFI BIOS mirror image file is legal or not;
specifically, whether the UEFI BIOS image file is legal or not is checked, namely whether the UEFI BIOS image file is tampered or damaged in the transmission, storage and use processes is checked.
Specifically, a hash tool is used for calculating a hash value corresponding to the UEFI BIOS image file, and a first hash value is obtained;
decrypting the hash value in the UEFI BIOS image file of the original version through the public key generated by the hash tool to obtain a second hash value;
comparing whether the first hash value is the same as the second hash value, if so, determining that the UEFI BIOS image file is legal, obtaining the UEFI BIOS image file which is successfully checked, and if not, determining that the UEFI BIOS image file is illegal and refusing to receive the UEFI BIOS image file.
Step S804: checking whether an ESP partition exists on the hard disk;
specifically, whether an ESP partition exists on the hard disk is checked, that is, whether an EFI system partition exists on the hard disk is checked, a fixed identifier is searched on a UEFI BIOS setting interface, the fixed identifier is used for identifying the EFI system partition of the hard disk, if the fixed identifier corresponding to the EFI system partition can be searched, the ESP partition exists on the hard disk is determined, otherwise, it is determined that no ESP partition exists on the hard disk, wherein the ESP partition is usually located on the hard disk.
Step S805: checking whether a second UEFI BIOS restored file exists on the ESP partition;
specific: searching a fixed file name on the UEFI BIOS setting interface, wherein the fixed file name is used for identifying a UEFI BIOS restoring file, if the fixed file name can be searched, determining that a second UEFI BIOS restoring file exists on the ESP partition, and if the fixed file name cannot be searched, determining that the second UEFI BIOS restoring file does not exist on the ESP partition, wherein the second UEFI BIOS restoring file is stored in the fixed ESP partition, and the second UEFI BIOS restoring file is the UEFI BIOS restoring file of an old version.
Step S806: deleting the second UEFI BIOS restored file;
specifically, when the second UEFI BIOS restored file exists in the ESP partition, deleting the second UEFI BIOS restored file, changing the file name of the checked UEFI BIOS image file into a fixed file name, and storing the fixed file name in the ESP partition.
Step S807: writing a first UEFI BIOS restore file into the ESP partition;
specifically, when the second UEFI BIOS restored file does not exist in the ESP partition, changing the file name of the checked UEFI BIOS image file to a fixed file name and storing the fixed file name in the ESP partition.
Step S808: installing a first UEFI BIOS restore file to realize updating of UEFI BIOS firmware;
Specifically, a first UEFI BIOS restore file is directly obtained from the ESP partition, and the first UEFI BIOS restore file is installed to cover the original UEFI BIOS image file, so as to update or restore the UEFI BIOS firmware.
In the embodiment of the application, when the UEFI BIOS firmware is updated, a UEFI BIOS setting interface in the electronic device is started, a UEFI BIOS restoration file is obtained through the UEFI BIOS setting interface, the UEFI BIOS mirror file is checked to obtain a first UEFI BIOS restoration file, if an EFI system partition exists in a hard disk and a second UEFI BIOS restoration file exists in an EFI system partition, the second UEFI BIOS restoration file is replaced with the first UEFI BIOS restoration file, and the first UEFI BIOS restoration file is obtained from the EFI system partition to update the UEFI BIOS firmware. By writing the first UEFI BIOS restoring file into the EFI system partition and acquiring the first UEFI BIOS restoring file from the EFI system partition to update the UEFI BIOS firmware, the method and the device can realize quick updating of the UEFI BIOS firmware, save time cost and improve the use experience of a user.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a UEFI BIOS firmware updating device according to an embodiment of the present disclosure;
As shown in fig. 9, the updating apparatus 900 of UEFI BIOS firmware includes:
the starting module 901 is configured to start a UEFI BIOS setting interface in the electronic device when the firmware of the UEFI BIOS is updated;
the obtaining module 902 is configured to obtain a UEFI BIOS image file through a UEFI BIOS setting interface, and verify the UEFI BIOS image file to obtain a first UEFI BIOS restore file, where the first UEFI BIOS restore file is a UEFI BIOS image file that is successfully verified;
a replacing module 903, configured to replace the second UEFI BIOS restored file with the first UEFI BIOS restored file if the EFI system partition exists in the hard disk and the second UEFI BIOS restored file exists in the EFI system partition;
an updating module 904, configured to obtain a first UEFI BIOS restore file from the EFI system partition, so as to update the UEFI BIOS firmware.
In this embodiment of the present application, the update device of the UEFI BIOS firmware may be a software module, where the software module includes a plurality of instructions, and the instructions are stored in a memory, and may be accessed by a processor to execute the instructions, so as to complete the update method of the UEFI BIOS firmware in each embodiment.
In this embodiment of the present application, the updating device of the UEFI BIOS firmware may also be built by hardware devices, for example, the updating device of the UEFI BIOS firmware may be built by one or more than two chips, and each chip may coordinate with each other to complete the updating method of the UEFI BIOS firmware described in each embodiment. For another example, the updating device of the UEFI BIOS firmware may also be built from various types of logic devices, such as general purpose processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs), single-chip computers, ARM (Acorn RISC Machine) or other programmable logic devices, discrete gate or transistor logic, discrete hardware components, or any combinations of these components.
The updating device of the UEFI BIOS firmware in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The updating device of the UEFI BIOS firmware in the embodiment of the present application may be a device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The updating device for the UEFI BIOS firmware provided in the embodiment of the present application can implement each process implemented by the method embodiment of fig. 2, and in order to avoid repetition, a description is omitted here.
It should be noted that, the apparatus may execute the update method of the UEFI BIOS firmware provided in the embodiment of the present application, and has the corresponding functional module and beneficial effects of the execution method. Technical details not described in detail in the device embodiments may be referred to the UEFI BIOS firmware updating method provided in the embodiments of the present application.
In an embodiment of the present application, an update apparatus for UEFI BIOS firmware is provided, including a start module, configured to start a UEFI BIOS setting interface in an electronic device when the UEFI BIOS firmware is updated; the acquisition module is used for acquiring a UEFI BIOS mirror image file through a UEFI BIOS setting interface and checking the UEFI BIOS mirror image file to obtain a first UEFI BIOS restored file, wherein the first UEFI BIOS restored file is a UEFI BIOS mirror image file which is checked successfully; the replacing module is used for replacing the second UEFI BIOS restored file with the first UEFI BIOS restored file if the EFI system partition exists in the hard disk and the second UEFI BIOS restored file exists in the EFI system partition; and the updating module is used for acquiring a first UEFI BIOS restoring file from the EFI system partition so as to update the UEFI BIOS firmware.
By writing the first UEFI BIOS restoring file into the EFI system partition and acquiring the first UEFI BIOS restoring file from the EFI system partition to update the UEFI BIOS firmware, the method and the device can realize quick updating of the UEFI BIOS firmware, save time cost and improve the use experience of a user.
Referring to fig. 10 again, fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
as shown in fig. 10, the electronic device 10 includes one or more processors 101 and a memory 102. In fig. 10, a processor 101 is taken as an example.
The processor 101 and the memory 102 may be connected by a bus or otherwise, for example in fig. 9.
The processor is configured to execute the UEFI BIOS firmware updating method in any embodiment of the present application, including:
when the UEFI BIOS firmware is updated, starting a UEFI BIOS setting interface in the electronic equipment; acquiring a UEFI BIOS mirror image file through a UEFI BIOS setting interface, and checking the UEFI BIOS mirror image file to obtain a first UEFI BIOS restored file, wherein the first UEFI BIOS restored file is a UEFI BIOS mirror image file which is checked successfully; if the EFI system partition exists in the hard disk and the second UEFI BIOS restoring file exists in the EFI system partition, replacing the second UEFI BIOS restoring file with the first UEFI BIOS restoring file; the first UEFI BIOS restored file is obtained from the EFI system partition to update the UEFI BIOS firmware.
By writing the first UEFI BIOS restoring file into the EFI system partition and acquiring the first UEFI BIOS restoring file from the EFI system partition to update the UEFI BIOS firmware, the method and the device can realize quick updating of the UEFI BIOS firmware, save time cost and improve the use experience of a user.
The memory 102 is used as a non-volatile computer readable storage medium, and may be used to store a non-volatile software program, a non-volatile computer executable program, and a module, such as program instructions/modules corresponding to the update method of the UEFI BIOS firmware in the embodiment of the present invention. The processor 101 executes various functional applications and data processing of the electronic device by running non-volatile software programs, instructions and modules stored in the memory 102, i.e. implementing the updating method of the UEFI BIOS firmware of the method embodiment described above.
The memory 102 may include high-speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 102 may optionally include memory located remotely from processor 101. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
One or more modules are stored in memory 102 that, when executed by one or more processors 101, perform the methods of updating UEFI BIOS firmware in any of the method embodiments described above, e.g., performing the steps shown in fig. 2 described above.
Embodiments of the present application also provide a computer program product, where the computer program product includes one or more program codes, where the program codes are stored in a non-volatile computer readable storage medium, and where a processor of an electronic device reads the program codes from the non-volatile computer readable storage medium, and where the processor executes the program codes to complete the steps of the UEFI BIOS firmware updating method provided in the above embodiments.
Those of ordinary skill in the art will appreciate from the foregoing description of the embodiments that all or a portion of the steps of implementing the embodiments may be implemented by hardware, or may be implemented by program code related hardware, where the program may be stored in a non-volatile computer readable storage medium, where the non-volatile computer readable storage medium may be a read only memory, a magnetic disk, or an optical disk.
From the above description of embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus a general purpose hardware platform, or may be implemented by hardware. Those skilled in the art will appreciate that all or part of the processes implementing the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, and the program may be stored in a non-volatile computer readable storage medium, and the program may include processes of the embodiments of the methods as above when executed. The non-volatile computer readable storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random access Memory (RandomAccess Memory, RAM), or the like.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; the technical features of the above embodiments or in the different embodiments may also be combined under the idea of the present application, the steps may be implemented in any order, and there are many other variations of the different aspects of the present application as described above, which are not provided in details for the sake of brevity; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. An updating method of UEFI BIOS firmware, applied to an electronic device, where the electronic device includes a hard disk, the method includes:
when the UEFI BIOS firmware is updated, starting a UEFI BIOS setting interface in the electronic equipment;
acquiring a UEFI BIOS mirror image file through the UEFI BIOS setting interface, and checking the UEFI BIOS mirror image file to obtain a first UEFI BIOS restored file, wherein the first UEFI BIOS restored file is a UEFI BIOS mirror image file which is checked successfully;
If the EFI system partition exists in the hard disk and the second UEFI BIOS restored file exists in the EFI system partition, replacing the second UEFI BIOS restored file with the first UEFI BIOS restored file;
and acquiring the first UEFI BIOS restored file from the EFI system partition to update the UEFI BIOS firmware.
2. The method of claim 1, wherein the verifying the UEFI BIOS image file to obtain a first UEFI BIOS restore file comprises:
calculating a hash value corresponding to the UEFI BIOS image file to obtain a first hash value;
acquiring a second hash value, wherein the second hash value is a hash value corresponding to the compiled UEFI BIOS image file;
if the first hash value is the same as the second hash value, determining that the UEFI BIOS image file is successfully checked, and obtaining the UEFI BIOS image file which is successfully checked;
and determining the UEFI BIOS mirror image file which is successfully checked as a first UEFI BIOS restored file.
3. A method according to claim 1 or 2, characterized in that,
before the replacing the second UEFI BIOS restored file with the first UEFI BIOS restored file, the method further comprises:
Judging whether the EFI system partition exists in the hard disk or not;
the method further comprises the steps of:
if the EFI system partition does not exist in the hard disk, directly using the first UEFI BIOS restoring file to update the UEFI BIOS firmware;
if the EFI system partition exists in the hard disk, further judging whether the EFI system partition exists in the second UEFI BIOS restored file or not;
and if the second UEFI BIOS restored file does not exist, directly writing the first UEFI BIOS restored file into the EFI system partition.
4. The method of claim 3, wherein the EFI system partition includes a fixed identifier and a fixed filename, wherein the fixed filename is used to identify a UEFI BIOS image file;
the determining whether the EFI system partition exists on the hard disk includes:
searching a fixed identifier in the hard disk, and if the fixed identifier is found, determining that the EFI system partition exists in the hard disk;
the determining whether the EFI system partition has the second UEFI BIOS restore file includes:
searching the fixed file name on the EFI system partition, and if the fixed file name is found, determining that the second UEFI BIOS restored file exists in the EFI system partition.
5. The method according to claim 1, wherein the method further comprises:
judging whether the UEFI BIOS firmware is damaged or not specifically comprises:
and when the electronic equipment is restarted, detecting whether the UEFI BIOS firmware is in an upgrading state, and if so, determining that the UEFI BIOS firmware is damaged.
6. The method of claim 5, wherein the electronic device comprises a flash memory chip including a flush flag bit, and wherein the detecting whether the UEFI BIOS firmware is in an upgraded state comprises:
detecting whether the brushing flag bit is changed;
if the brushing zone bit is not changed, determining that the UEFI BIOS firmware is in an upgrading state;
if the flush flag bit is changed, determining that the UEFI BIOS firmware has completed upgrading.
7. The method according to claim 5 or 6, characterized in that the method further comprises:
and if the UEFI BIOS firmware is damaged, automatically acquiring the first UEFI BIOS restoration file from the EFI system partition to restore the UEFI BIOS firmware.
8. An electronic device, comprising: at least one processor, and at least one memory, wherein the memory stores a computer program that, when executed by the processor, causes the processor to perform the steps of the UEFI BIOS firmware updating method of any one of claims 1-7.
9. An update system for UEFI BIOS firmware, the system comprising:
the storage device is used for acquiring the UEFI BIOS image file;
the electronic device of claim 8.
10. A non-transitory computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the UEFI BIOS firmware updating method of any one of claims 1-7.
CN202311321577.8A 2023-10-12 2023-10-12 Updating method, updating system, electronic device and storage medium of UEFI BIOS firmware Pending CN117608619A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311321577.8A CN117608619A (en) 2023-10-12 2023-10-12 Updating method, updating system, electronic device and storage medium of UEFI BIOS firmware

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311321577.8A CN117608619A (en) 2023-10-12 2023-10-12 Updating method, updating system, electronic device and storage medium of UEFI BIOS firmware

Publications (1)

Publication Number Publication Date
CN117608619A true CN117608619A (en) 2024-02-27

Family

ID=89956792

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311321577.8A Pending CN117608619A (en) 2023-10-12 2023-10-12 Updating method, updating system, electronic device and storage medium of UEFI BIOS firmware

Country Status (1)

Country Link
CN (1) CN117608619A (en)

Similar Documents

Publication Publication Date Title
US9858066B2 (en) Updating firmware of a hardware component
JP4901095B2 (en) Fail-safe way to apply custom software image updates to non-volatile storage
US9164756B2 (en) Software updating process for an embedded device
KR101003888B1 (en) Tri-phase boot process in electronic devices
US10599419B2 (en) Secure firmware updates using virtual machines to validate firmware packages
US7512777B2 (en) Method and system for maintaining system management BIOS
KR20170126230A (en) Apparatus and method for firmware update, and firmware update system
US20060064576A1 (en) Boot systems and methods
CN110333891A (en) The method of enhanced OTA upgrading based on Internet of Things
CN108509215B (en) System software replacing method and device, terminal equipment and storage medium
US20100049961A1 (en) Update method for basic input/output system and update system thereof
US20180052679A1 (en) Method of Bootup and Installation, and Computer System thereof
US20220197746A1 (en) Combination bios with a/b recovery
CN113238790B (en) Firmware program updating method and system based on SD card and EEPROM
CN110096882B (en) Safety measurement method in equipment operation process
CN113032183A (en) System management method, device, computer equipment and storage medium
KR20180023575A (en) Firmware auto updating method and computer readable recording medium writing firmware auto updating method
CN117608619A (en) Updating method, updating system, electronic device and storage medium of UEFI BIOS firmware
US20150212866A1 (en) Management system for service of multiple operating environments, and methods thereof
KR101420026B1 (en) A method, apparatus and computer program for loading files during a boot-up process
CN113646745A (en) Disabling software persistence
KR100628176B1 (en) Method for upgrading program stored in information terminal
CN113010199B (en) Application updating method and device, computer equipment and storage medium
KR20120072936A (en) System and method for updating firmware using smart phone app
CN117675576A (en) Method and device for upgrading server firmware, server and electronic equipment

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