CN114594967A - Basic input output system updating method, device, equipment and medium - Google Patents

Basic input output system updating method, device, equipment and medium Download PDF

Info

Publication number
CN114594967A
CN114594967A CN202210108666.3A CN202210108666A CN114594967A CN 114594967 A CN114594967 A CN 114594967A CN 202210108666 A CN202210108666 A CN 202210108666A CN 114594967 A CN114594967 A CN 114594967A
Authority
CN
China
Prior art keywords
optical disc
image file
basic input
output system
target
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.)
Withdrawn
Application number
CN202210108666.3A
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.)
Inspur Shandong Computer Technology Co Ltd
Original Assignee
Inspur Shandong Computer 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 Inspur Shandong Computer Technology Co Ltd filed Critical Inspur Shandong Computer Technology Co Ltd
Priority to CN202210108666.3A priority Critical patent/CN114594967A/en
Publication of CN114594967A publication Critical patent/CN114594967A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The application discloses a method, a device, equipment and a medium for updating a basic input and output system, which comprise the following steps: acquiring a target binary file, converting the target binary file into a mirror image file, and then burning the mirror image file to an optical disc; reading the optical disc by using the optical disc drive corresponding to the special machine, and checking whether the optical disc drive reads target content from the mirror image file in the optical disc or not in a target interface corresponding to the basic input and output system; and if the optical drive is observed to read the target content from the mirror image file in the optical disk, updating the basic input and output system by using the target content to obtain the updated basic input and output system. Therefore, the target binary file is converted into the image file and then recorded into the optical disc, and then the basic input and output system is updated by using the optical disc.

Description

Basic input output system updating 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 updating a bios.
Background
At present, a Basic Input/Output System (i.e. a Basic Input/Output System, BIOS) can be generally updated through a flash disk (i.e. a universal serial bus, USB, or a USB disk) or a special tool under the System, in the field of a special-purpose machine, there are also multiple methods for updating the Basic Input/Output System, but each method has corresponding limitations, and an automatic updating mode of the Basic Input/Output System after a PXE (i.e. a preboot execution environment) is installed on the System requires that a PXE server is built first, which is relatively troublesome to operate; the mode of using the burner to refresh the basic input and output system needs special burning equipment, and has more detailed and strict operation requirements, once the chip of the basic input and output system is installed incorrectly, the chip is possibly burnt; the method for updating the basic input and output system by the USB flash disk is relatively simple, but does not meet the confidentiality requirement that many security-related units do not allow to access external media.
In summary, how to make the process of updating the bios convenient and fast, meet the privacy standards, and make it easier for the customer to accept is a problem to be solved.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a bios updating method, apparatus, device and medium, which can make the bios updating process convenient and fast, meet the security standards and make the bios easier to accept. The specific scheme is as follows:
in a first aspect, the present application discloses a bios updating method, including:
acquiring a target binary file, converting the target binary file into a mirror image file, and then recording the mirror image file to an optical disc;
reading the optical disc by using an optical drive corresponding to a special machine, and checking whether the optical drive reads target content from the image file in the optical disc or not in a target interface corresponding to a basic input and output system;
and if the optical drive reads the target content from the image file in the optical disc, updating the basic input and output system by using the target content to obtain an updated basic input and output system.
Optionally, the converting the target binary file into an image file, and then recording the image file to an optical disc includes:
and converting the target binary file into an ISO mirror image file by using the soft disc-through software for recording the optical disc, and recording the ISO mirror image file to the optical disc.
Optionally, the reading the optical disc by using the optical drive corresponding to the special machine includes:
and reading the optical disk by using a built-in optical drive and/or an external optical drive corresponding to the special machine.
Optionally, after checking whether the optical disc drive reads the target content from the image file in the optical disc in the target interface corresponding to the basic input output system, the method further includes:
and if the optical drive is found not to read the target content from the image file in the optical disc, replacing the optical drive and/or re-recording the image file to the optical disc, then jumping to the step of reading the optical disc by using the optical drive corresponding to a special machine, and checking whether the optical drive reads the target content from the image file in the optical disc or not in a target interface corresponding to the basic input and output system.
Optionally, the updating the bios with the target content includes:
and determining the updating range of the basic input and output system according to the target content, and performing global updating or local updating on the basic input and output system according to the updating range.
Optionally, after the updating the bios with the target content, the method further includes:
if the updating fails, checking whether the optical disc is damaged and whether the version of the target binary file is the version corresponding to the current basic input and output system;
if the optical disc is detected to be damaged, replacing the optical disc, if the version of the target binary file is detected not to be the version corresponding to the current basic input and output system, taking the binary file of the version corresponding to the current basic input and output system as the target binary file, then jumping to the step of acquiring the target binary file, converting the target binary file into a mirror image file, and then burning the mirror image file to the optical disc.
Optionally, after obtaining the updated basic input/output system, the method further includes:
and restarting the updated basic input and output system to ensure that the updated basic input and output system can be started and used normally.
In a second aspect, the present application discloses a bios updating apparatus, comprising:
the optical disc recording module is used for acquiring a target binary file, converting the target binary file into a mirror image file and recording the mirror image file to an optical disc;
the file reading module is used for reading the optical disc by using an optical drive corresponding to a special machine and checking whether the optical drive reads target content from the image file in the optical disc or not in a target interface corresponding to a basic input and output system;
and the system updating module is used for updating the basic input and output system by using the target content to obtain an updated basic input and output system if the target content is read from the image file in the optical disc by the optical drive.
In a third aspect, the present application discloses an electronic device comprising a processor and a memory; wherein the processor implements the bios updating method disclosed above when executing the computer program stored in the memory.
In a fourth aspect, the present application discloses a computer readable storage medium for storing a computer program; wherein the computer program when executed by a processor implements the basic input output system updating method disclosed above.
Therefore, the method and the device for processing the binary file have the advantages that the target binary file is obtained, the target binary file is converted into the image file, and then the image file is recorded to the optical disc; reading the optical disc by using an optical drive corresponding to a special machine, and checking whether the optical drive reads target content from the image file in the optical disc or not in a target interface corresponding to a basic input and output system; and if the optical drive reads the target content from the image file in the optical disc, updating the basic input and output system by using the target content to obtain an updated basic input and output system. Therefore, the target binary file is converted into the image file and then recorded into the optical disc, and then the basic input and output system is updated by using the optical disc.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flowchart of a BIOS update method provided in the present application;
FIG. 2 is a flowchart illustrating a specific BIOS updating method provided herein;
FIG. 3 is a schematic diagram illustrating a BIOS update method according to the present application;
FIG. 4 is a schematic structural diagram of a BIOS updating apparatus provided in the present application;
fig. 5 is a block diagram of an electronic device provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
At present, a plurality of methods for updating the basic input and output system exist, but each method has corresponding limitation, and the automatic updating mode of the basic input and output system after the PXE is installed with the system needs to build a PXE server first, so that the operation is troublesome; the mode of using the burner to refresh the basic input and output system needs special burning equipment, and has more detailed and strict operation requirements, once the chip of the basic input and output system is installed incorrectly, the chip is possibly burnt; the method for updating the basic input and output system by the USB flash disk is relatively simple, but does not meet the confidentiality requirement that many security-related units do not allow to access external media.
In order to overcome the problems, the application provides a basic input and output system updating scheme, which can enable the process of updating the basic input and output system to be convenient and fast, accord with the confidentiality standard and enable a client to accept more easily.
Referring to fig. 1, an embodiment of the present application discloses a bios updating method, where the method includes:
step S11: the method comprises the steps of obtaining a target binary file, converting the target binary file into a mirror image file, and then recording the mirror image file to an optical disc.
In the embodiment of the application, the bios is a set of programs that are solidified on a ROM chip on a motherboard in a computer, and stores the most important bios programs, the post-boot self-test program, and the system self-start program of the computer, from which the specific information set by the system is read and written. Its primary function is to provide the lowest level, most direct hardware setup and control for the computer. In addition, the bios also provides some system parameters to the operating system.
In the embodiment of the present application, a soft disc access (UltraISO) software for recording an optical disc is used to convert the target binary file into an ISO image file, and record the ISO image file to the optical disc. It can also be expressed as a binary file recorded in the optical disc in a mirror image recording mode specific to floppy disc. It should be noted that ISO is one of the storage formats of a Compact Disc image (CD Mirror) on a computer, and since an ISO image is a file stored according to the file system standard of ISO-9660 with respect to CD-ROM (Compact Disc Read-Only Memory), ISO is named after ISO in a computer, so that ISO image is called ISO image. The optical disk has only one file in form, can truly reflect the content of the optical disk, and can be created by recording software or an image file making tool.
It should be noted that the floppy disk is a powerful, convenient and practical tool for making/editing/converting optical disk image files, which can directly edit ISO image files and extract files and directories from ISO image files, and can also make optical disk images from CD-ROM or make files on the hard disk into ISO image files. Specifically, when the floppy disk drive software is used in the embodiment of the present application, the option such as Windows/Unix (31) and allowed lower case letters needs to be selected from the attributes.
Step S12: and reading the optical disc by using an optical drive corresponding to a special machine, and checking whether the optical drive reads target content from the image file in the optical disc or not in a target interface corresponding to the basic input and output system.
In the embodiment of the application, the special machine is a type of machine in a trusted and created localization product line, the appearance of the special machine is similar to that of each general machine opposite to the special machine, but the special machine is provided with a special system, a hard disk and a basic input and output system, and the special machine is provided with a unique component, namely a safety card; common functions of many general-purpose machines are lost due to security assurance, for example, a security system cannot directly back up a local system to a remote end.
In the embodiment of the present application, since the adopted optical disc updates the bios, the optical disc may be read by using both a built-in optical drive and an external optical drive, that is, the optical disc is read by using the built-in optical drive and/or the external optical drive corresponding to the special machine. It should be noted that before the optical disc drive is used, the optical disc drive is installed, and for an external optical disc drive, the optical disc drive is connected to a special machine. It is understood that the desktop can read the optical disc by the optical disc drive device carried by the desktop to update the bios; the server device can read the optical disc through the external optical drive to update the basic input and output system.
It should be noted that, it is checked in the target interface corresponding to the basic input/output system whether the optical disc drive reads the target content from the image file in the optical disc, specifically, it is checked in the firmware update of the target interface corresponding to the basic input/output system of the special machine whether the content in the optical disc can be read.
Step S13: and if the optical drive reads the target content from the image file in the optical disc, updating the basic input and output system by using the target content to obtain an updated basic input and output system.
In the embodiment of the present application, if it is found that the optical disc drive reads the target content from the image file in the optical disc, the basic input/output system is updated by using the target content, so as to obtain an updated basic input/output system. It should be noted that, when the target content is used to update the bios, specifically, the update range of the bios is determined according to the target content, and the bios is globally updated or locally updated according to the update range. It should be noted that no interrupt or exception occurs during the update of the bios.
In the embodiment of the application, two types of results are obtained by utilizing the target content to update the basic input and output system, wherein the first type is successful in updating, and the updated basic input and output system is obtained; and if the second type is update failure, checking whether the optical disc is damaged and whether the version of the target binary file is the version corresponding to the current basic input and output system.
In a specific embodiment, if it is detected that the optical disc is damaged and the version of the target binary file is the version corresponding to the current bios, the optical disc is replaced, then the step of obtaining the target binary file is skipped to, converting the target binary file into an image file, and then recording the image file to the optical disc.
In a specific embodiment, if it is checked that the optical disc is not damaged and the version of the target binary file is not the version corresponding to the current bios, the binary file of the version corresponding to the current bios is used as the target binary file, then the step of obtaining the target binary file is skipped to, converting the target binary file into an image file, and then burning the image file to the optical disc.
In a specific embodiment, if it is detected that the optical disc is damaged and the version of the target binary file is not the version corresponding to the current bios, the optical disc is replaced, the binary file of the version corresponding to the current bios is used as the target binary file, then the step of obtaining the target binary file is skipped to, the target binary file is converted into an image file, and then the image file is recorded on the optical disc.
In the embodiment of the application, after the updated basic input and output system is obtained, the updated basic input and output system is restarted to ensure that the updated basic input and output system can be normally started and used, and the special equipment can be normally started to enter the system.
Therefore, the method and the device for processing the binary file have the advantages that the target binary file is obtained, the target binary file is converted into the image file, and then the image file is recorded to the optical disc; reading the optical disc by using an optical drive corresponding to a special machine, and checking whether the optical drive reads target content from the image file in the optical disc or not in a target interface corresponding to a basic input and output system; and if the optical drive reads the target content from the image file in the optical disc, updating the basic input and output system by using the target content to obtain an updated basic input and output system. Therefore, the target binary file is converted into the image file and then recorded into the optical disc, and then the basic input and output system is updated by using the optical disc.
Referring to fig. 2, an embodiment of the present application discloses a specific bios updating method, where the method includes:
step S21: the method comprises the steps of obtaining a target binary file, converting the target binary file into a mirror image file, and then recording the mirror image file to an optical disc.
For a more specific processing procedure of step S21, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Step S22: and reading the optical disc by using an optical drive corresponding to a special machine, and checking whether the optical drive reads target content from the image file in the optical disc or not in a target interface corresponding to the basic input and output system.
For a more specific processing procedure of step S22, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Step S23: and if the optical drive is found not to read the target content from the image file in the optical disc, replacing the optical drive and/or re-recording the image file to the optical disc, then jumping to the step of reading the optical disc by using the optical drive corresponding to a special machine, and checking whether the optical drive reads the target content from the image file in the optical disc or not in a target interface corresponding to the basic input and output system.
In the embodiment of the application, if the optical drive is checked not to read the target content from the image file in the optical disc, the optical drive is replaced and/or the image file is re-recorded to the optical disc, then the optical drive corresponding to a special machine is skipped to be used for reading the optical disc, and whether the optical drive reads the target content from the image file in the optical disc is checked in a target interface corresponding to the basic input and output system.
In a specific embodiment, if it is checked that the optical drive does not read the target content from the image file in the optical disc, the optical drive is replaced, then the optical drive is skipped to the step of reading the optical disc by using the optical drive corresponding to a special machine, and whether the optical drive reads the target content from the image file in the optical disc is checked in a target interface corresponding to the basic input output system; if the target content is not read from the image file in the optical disc by the optical drive, the image file is recorded to the optical disc again, then the optical disc is read by the optical drive corresponding to a special machine, and whether the optical drive reads the target content from the image file in the optical disc is checked in a target interface corresponding to the basic input and output system.
In another specific embodiment, if it is found that the optical disc drive does not read the target content from the image file in the optical disc, the image file is recorded to the optical disc again, then the optical disc drive corresponding to a special machine is skipped to read the optical disc, and whether the optical disc drive reads the target content from the image file in the optical disc is checked in a target interface corresponding to the basic input/output system; and if the optical drive is not read from the image file in the optical disc, replacing the optical drive, then jumping to the optical drive corresponding to a special machine to read the optical disc, and checking whether the optical drive reads the target content from the image file in the optical disc or not in a target interface corresponding to the basic input and output system.
Step S24: and if the optical drive reads the target content from the image file in the optical disc, updating the basic input and output system by using the target content to obtain an updated basic input and output system.
For a more specific processing procedure of step S22, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Therefore, the method and the device for processing the binary file have the advantages that the target binary file is obtained, the target binary file is converted into the image file, and then the image file is recorded to the optical disc; reading the optical disc by using an optical drive corresponding to a special machine, and checking whether the optical drive reads target content from the image file in the optical disc or not in a target interface corresponding to a basic input and output system; if the optical drive is found not to read the target content from the image file in the optical disc, replacing the optical drive and/or recording the image file to the optical disc again, then jumping to the step of reading the optical disc by using the optical drive corresponding to a special machine, and checking whether the optical drive reads the target content from the image file in the optical disc or not in a target interface corresponding to the basic input and output system; and if the optical drive reads the target content from the image file in the optical disc, updating the basic input and output system by using the target content to obtain an updated basic input and output system. Therefore, the method converts the target binary file into the image file and then records the image file into the optical disk, and then updates the basic input and output system by using the optical disk, is convenient and quick, avoids the insertion of an external mobile medium into a special machine, better accords with the confidentiality standard, is easier to be accepted by customers, and has lower cost in the updating process by using the optical disk, and the optical disk is easy to destroy and is not easy to leak.
As shown in fig. 3, a schematic diagram of a method for updating a basic input/output system discloses a basic process for updating a basic input/output system, and includes firstly, recording a binary file into an optical disc, specifically, converting the binary file into a mirror image file, then, recording the mirror image file into the optical disc, then, reading the optical disc by using an optical drive corresponding to a special machine, and entering a target interface, then, checking whether the optical drive can read a target content during firmware update of the target interface, and if the target content cannot be read, recording the optical disc again or replacing the optical drive; if the target content can be read, updating the basic input and output system by using the target content, if the updating fails, checking whether the target binary file version and the optical disc are damaged, if the target binary file version is wrong, replacing the version, if the optical disc is damaged, replacing the optical disc, and then updating again from the beginning step.
Referring to fig. 4, an embodiment of the present application discloses a bios updating apparatus, including:
an optical disc recording module 11, configured to obtain a target binary file, convert the target binary file into a mirror image file, and record the mirror image file to an optical disc;
a file reading module 12, configured to read the optical disc by using an optical disc drive corresponding to a special-purpose machine, and check whether the optical disc drive reads a target content from the image file in the optical disc in a target interface corresponding to a basic input/output system;
and a system updating module 13, configured to update the bios using the target content if the target content is read from the image file in the optical disc by the optical disc drive, so as to obtain an updated bios.
For more specific working processes of the modules, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Therefore, the method and the device for processing the binary file have the advantages that the target binary file is obtained, the target binary file is converted into the image file, and then the image file is recorded to the optical disc; reading the optical disc by using an optical drive corresponding to a special machine, and checking whether the optical drive reads target content from the image file in the optical disc or not in a target interface corresponding to a basic input and output system; and if the optical drive reads the target content from the image file in the optical disc, updating the basic input and output system by using the target content to obtain an updated basic input and output system. Therefore, the target binary file is converted into the image file and then recorded into the optical disc, and then the basic input and output system is updated by using the optical disc.
Further, an electronic device is provided in the embodiments of the present application, and fig. 5 is a block diagram of the electronic device 20 according to an exemplary embodiment, which should not be construed as limiting the scope of the application.
Fig. 5 is a schematic structural diagram of an electronic device 20 according to an embodiment of the present disclosure. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, an input output interface 24, a communication interface 25, and a communication bus 26. Wherein, the memory 22 is used for storing a computer program, and the computer program is loaded and executed by the processor 21 to implement the relevant steps of the bios updating method disclosed in any of the foregoing embodiments.
In this embodiment, the power supply 23 is configured to provide a working voltage for each hardware device on the electronic device 20; the communication interface 25 can create a data transmission channel between the electronic device 20 and an external device, and a communication protocol followed by the communication interface is any communication protocol applicable to the technical solution of the present application, and is not specifically limited herein; the input/output interface 24 is configured to obtain external input data or output data to the outside, and a specific interface type thereof may be selected according to specific application requirements, which is not specifically limited herein.
In addition, the storage 22 is used as a carrier for resource storage, and may be a read-only memory, a random access memory, a magnetic disk or an optical disk, and the storage 22 is used as a non-volatile storage that may include a random access memory as a running memory and a storage purpose for an external memory, and the storage resources on the storage include an operating system 221, a computer program 222, and the like, and the storage manner may be a transient storage or a permanent storage.
The operating system 221 is used for managing and controlling each hardware device and the computer program 222 on the electronic device 20 on the source host, and the operating system 221 may be Windows, Unix, Linux, or the like. The computer program 222 may further include a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the bios updating method disclosed in any of the foregoing embodiments and executed by the electronic device 20.
In this embodiment, the input/output interface 24 may specifically include, but is not limited to, a USB interface, a hard disk reading interface, a serial interface, a voice input interface, a fingerprint input interface, and the like.
Further, the embodiment of the application also discloses a computer readable storage medium for storing a computer program; wherein the computer program when executed by a processor implements the basic input output system updating method disclosed above.
For the specific steps of the method, reference may be made to the corresponding contents disclosed in the foregoing embodiments, which are not described herein again.
A computer-readable storage medium as referred to herein includes a Random Access Memory (RAM), a Memory, a Read-Only Memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a magnetic or optical disk, or any other form of storage medium known in the art. Wherein the computer program when executed by a processor implements the aforementioned bios updating method. For the specific steps of the method, reference may be made to the corresponding contents disclosed in the foregoing embodiments, which are not described herein again.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the basic input and output system updating method disclosed by the embodiment, so that the description is relatively simple, and the relevant points can be obtained by referring to the description of the method part.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of an algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The basic input/output system updating method, device, equipment and medium provided by the invention are described in detail above, a specific example is applied in the text to explain the principle and the implementation of the invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A bios updating method, comprising:
acquiring a target binary file, converting the target binary file into a mirror image file, and then recording the mirror image file to an optical disc;
reading the optical disc by using an optical drive corresponding to a special machine, and checking whether the optical drive reads target content from the image file in the optical disc or not in a target interface corresponding to a basic input and output system;
and if the optical drive reads the target content from the image file in the optical disc, updating the basic input and output system by using the target content to obtain an updated basic input and output system.
2. The bios updating method of claim 1, wherein converting the target binary file into an image file and then burning the image file to an optical disc comprises:
and converting the target binary file into an ISO mirror image file by using the soft disc-through software for recording the optical disc, and recording the ISO mirror image file to the optical disc.
3. The bios updating method of claim 1, wherein reading the optical disc by using an optical disc drive corresponding to a special purpose machine comprises:
and reading the optical disk by using a built-in optical drive and/or an external optical drive corresponding to the special machine.
4. The bios updating method according to claim 1, wherein after checking whether the optical disc drive reads target content from the image file in the optical disc in a target interface corresponding to the bios, the method further includes:
if the target content is not read from the image file in the optical disc by the optical drive, replacing the optical drive and/or burning the image file to the optical disc again, then skipping to a step of reading the optical disc by using the optical drive corresponding to a special machine, and checking whether the optical drive reads the target content from the image file in the optical disc or not in a target interface corresponding to the basic input and output system.
5. The bios updating method of claim 1, wherein the updating the bios with the target content comprises:
and determining the updating range of the basic input and output system according to the target content, and performing global updating or local updating on the basic input and output system according to the updating range.
6. The bios updating method of claim 1, wherein after the bios is updated with the target content, further comprising:
if the updating fails, checking whether the optical disc is damaged and whether the version of the target binary file is the version corresponding to the current basic input and output system;
if the optical disc is detected to be damaged, replacing the optical disc, if the version of the target binary file is detected not to be the version corresponding to the current basic input and output system, taking the binary file of the version corresponding to the current basic input and output system as the target binary file, then jumping to the step of acquiring the target binary file, converting the target binary file into a mirror image file, and then burning the mirror image file to the optical disc.
7. The bios updating method according to any one of claims 1 to 6, wherein after obtaining the updated bios, the method further comprises:
and restarting the updated basic input and output system to ensure that the updated basic input and output system can be started and used normally.
8. A bios updating apparatus, comprising:
the optical disc recording module is used for acquiring a target binary file, converting the target binary file into a mirror image file and recording the mirror image file to an optical disc;
the file reading module is used for reading the optical disc by using an optical drive corresponding to a special machine and checking whether the optical drive reads target content from the image file in the optical disc or not in a target interface corresponding to a basic input and output system;
and the system updating module is used for updating the basic input and output system by using the target content to obtain an updated basic input and output system if the target content is read from the image file in the optical disc by the optical drive.
9. An electronic device comprising a processor and a memory; wherein the processor, when executing the computer program stored in the memory, implements the bios updating method of any one of claims 1 to 7.
10. A computer-readable storage medium for storing a computer program; wherein the computer program when executed by a processor implements a bios updating method as claimed in any one of claims 1 to 7.
CN202210108666.3A 2022-01-28 2022-01-28 Basic input output system updating method, device, equipment and medium Withdrawn CN114594967A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210108666.3A CN114594967A (en) 2022-01-28 2022-01-28 Basic input output system updating method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210108666.3A CN114594967A (en) 2022-01-28 2022-01-28 Basic input output system updating method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN114594967A true CN114594967A (en) 2022-06-07

Family

ID=81806872

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210108666.3A Withdrawn CN114594967A (en) 2022-01-28 2022-01-28 Basic input output system updating method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN114594967A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1719412A (en) * 2004-07-08 2006-01-11 英业达股份有限公司 Method of replacing partial basic input and output system
US20070136569A1 (en) * 2005-12-06 2007-06-14 Hon Hai Precision Industry Co., Ltd. System and method for writing data onto a boot-up compact disc
CN103513999A (en) * 2012-06-25 2014-01-15 联想(北京)有限公司 Electronic device and method for updating system firmware
CN112817622A (en) * 2021-01-22 2021-05-18 浪潮电子信息产业股份有限公司 BIOS refreshing method and device, electronic equipment and storage medium
CN113703799A (en) * 2020-05-21 2021-11-26 华为技术有限公司 Computing device and BIOS updating method and medium thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1719412A (en) * 2004-07-08 2006-01-11 英业达股份有限公司 Method of replacing partial basic input and output system
US20070136569A1 (en) * 2005-12-06 2007-06-14 Hon Hai Precision Industry Co., Ltd. System and method for writing data onto a boot-up compact disc
CN103513999A (en) * 2012-06-25 2014-01-15 联想(北京)有限公司 Electronic device and method for updating system firmware
CN113703799A (en) * 2020-05-21 2021-11-26 华为技术有限公司 Computing device and BIOS updating method and medium thereof
CN112817622A (en) * 2021-01-22 2021-05-18 浪潮电子信息产业股份有限公司 BIOS refreshing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
KR100987628B1 (en) Method for updating firmware in embedded controller and medium recorded update firmware
CN110795399B (en) Method, device and system for generating machine ID for application
CN111414231B (en) Method and equipment for mutual conversion between virtual machine mirror image and container mirror image
CN110968477B (en) Method, device and medium for acquiring backup BMC version information
CN110928559A (en) Data burning method and device, electronic equipment and storage medium
CN108874441B (en) Board card configuration method, device, server and storage medium
CN112579202B (en) Method, device, equipment and storage medium for editing server program of Windows system
US20170371631A1 (en) Globalization template manager for automated globalization enablement on development operations
CN104036194A (en) Vulnerability detection method and device for revealing private data in application program
CN113656049B (en) Operating system deployment method and device, electronic equipment and storage medium
CN112506539B (en) Firmware updating method and device, electronic equipment and storage medium
CN103455288A (en) Information processing apparatus and control method
CN117009248A (en) Machine learning model testing method and device, electronic equipment and storage medium
JP3348430B2 (en) Automatic environment setting method of preinstalled application and storage medium
CN114594967A (en) Basic input output system updating method, device, equipment and medium
CN112015651A (en) Data processing method and device
CN111198703A (en) Version upgrading method, system, equipment and medium
US9940334B2 (en) Image forming apparatus and control method thereof
CN115033182A (en) Processing method and device
CN108509252B (en) Virtual machine starting device and method and host
WO2020119138A1 (en) Method for verifying credibility of bios restored file and relevant device
JP2001209527A (en) Method for recovering preinstalled software
CN109802846A (en) USB Key certificate environment detection method and device
CN112650713A (en) File system operation method, device, equipment and storage medium
CN114356437A (en) Security configuration item configuration method, device, equipment and medium in windows system

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20220607

WW01 Invention patent application withdrawn after publication