CN116627718A - Backup method, device, equipment and storage medium for basic input/output system - Google Patents

Backup method, device, equipment and storage medium for basic input/output system Download PDF

Info

Publication number
CN116627718A
CN116627718A CN202310498088.3A CN202310498088A CN116627718A CN 116627718 A CN116627718 A CN 116627718A CN 202310498088 A CN202310498088 A CN 202310498088A CN 116627718 A CN116627718 A CN 116627718A
Authority
CN
China
Prior art keywords
output system
basic input
backup
bios
backed
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
CN202310498088.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 CN202310498088.3A priority Critical patent/CN116627718A/en
Publication of CN116627718A publication Critical patent/CN116627718A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1456Hardware arrangements for backup
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0745Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in an input/output transactions management context
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • G06F11/1451Management of the data involved in backup or backup restore by selection of backup contents
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a backup method, a device, equipment and a storage medium of a basic input/output system, which are applied to the backup field, wherein the method comprises the following steps: acquiring a basic input/output system chip to be backed up; taking a partial area in the basic input/output system chip to be backed up as a backup area; and writing the data content of the basic input output system in the basic input output system chip to be backed up into a backup area. The application can realize the backup operation of the basic input/output system from software without depending on hardware, and can complete the backup operation of the basic input/output system by using one basic input/output system chip, thereby saving the chip cost and reducing the design difficulty.

Description

Backup method, device, equipment and storage medium for basic input/output system
Technical Field
The present application relates to the field of backup, and in particular, to a method, an apparatus, a device, and a storage medium for backing up a basic input/output system.
Background
The basic input/output system (BIOS, basic Input Output System) is firmware used by a system (e.g., a computer) when performing booting to initialize various hardware interfaces, and is used to provide various services to the system when the system is operating, and the BIOS of the electronic device stores configuration data set by a current user, when the BIOS is damaged in software, the computer cannot complete a boot operation, and after re-burning the BIOS, the configuration data stored by the user before cannot be recovered.
Therefore, the BIOS needs to be backed up, in the current general method for backing up the BIOS, two BIOS chips are set on the hardware, one of the two BIOS chips is used as the backup BIOS chip, when the BIOS is damaged and cannot be started, the hardware can be switched to a good backup BIOS for starting, but the cost of the chip is high, so that the cost of the chip and the motherboard can be increased, and a certain difficulty exists in designing a hardware circuit.
Disclosure of Invention
Therefore, the application aims to provide a basic input/output system backup method, a device, equipment and a storage medium, which solve the problems of high backup cost and difficult design of the basic input/output system in the prior art.
In order to solve the above technical problems, the present application provides a backup method for a basic input/output system, including:
acquiring a basic input/output system chip to be backed up;
taking a part of the area in the basic input/output system chip to be backed up as a backup area;
and writing the data content of the basic input output system in the basic input output system chip to be backed up into the backup area.
Optionally, before writing the data content of the bios in the bios chip to be backed up to the backup area, the method further includes:
reading the capacity of the basic input/output system chip to be backed up;
judging whether the capacity meets the requirement of storing one original basic input/output system image or not;
if yes, executing the step of writing the data content of the basic input/output system in the basic input/output system chip to be backed up into the backup area;
if not, executing the alternative backup operation.
Optionally, an alternative backup operation is performed, including:
and writing the data content of the basic input/output system in the basic input/output system chip to be backed up into a storage component for backup.
Optionally, after writing the BIOS data content in the BIOS chip to be backed up into the backup area, the method further includes:
monitoring the basic input/output system chip to be backed up;
and when the change of the data content of the basic input/output system in the basic input/output system chip to be backed up is monitored, updating the data of the basic input/output system in the backup area.
Optionally, the monitoring the basic input/output system chip to be backed up includes:
and monitoring the basic input and output system chip to be backed up in real time.
Optionally, the writing the data content of the bios in the bios chip to be backed up to the backup area includes:
acquiring a preset backup priority;
determining the writing sequence of the data content of the basic input/output system in the backup basic input/output system chip according to the backup priority;
and writing the data content of the basic input/output system in the basic input/output system chip to be backed up into the backup area according to the writing sequence.
Optionally, the taking the partial area in the basic input/output system chip to be backed up as a backup area includes:
and taking a half area of the basic input/output system chip to be backed up as the backup area.
The application also provides a backup device of the basic input/output system, which comprises:
the acquisition module is used for acquiring the basic input/output system chip to be backed up;
the backup area setting module is used for taking the partial area in the basic input/output system chip to be backed up as a backup area;
and the writing module is used for writing the data content of the basic input/output system in the basic input/output system chip to be backed up into the backup area.
The application also provides a backup device of the basic input/output system, which comprises:
a memory for storing a computer program;
and the processor is used for realizing the steps of the basic input/output system backup method when executing the computer program.
The application also provides a storage medium, wherein the storage medium stores a computer program, and the computer program realizes the steps of the basic input/output system backup method when being executed by a processor.
Therefore, the basic input/output system chip to be backed up is obtained; taking a partial area in the basic input/output system chip to be backed up as a backup area; and writing the data content of the basic input output system in the basic input output system chip to be backed up into a backup area. The application can realize the backup operation of the basic input/output system from software without depending on hardware, and can complete the backup operation of the basic input/output system by using one basic input/output system chip, thereby saving the chip cost and reducing the design difficulty.
In addition, the application also provides a basic input/output system backup device, equipment and a storage medium, and the basic input/output system backup device and the storage medium have the same beneficial effects.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a backup method of a basic input/output system according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating a backup method of a basic input/output system according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a backup device of a bios according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a backup device for a bios according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
BIOS stores the most important basic input and output program of computer, and can interact with hardware equipment to obtain bottom information and transfer hardware parameters to system. BIOS plays a key role in the whole computer system, and is an indispensable key link. In addition, the BIOS interface has a plurality of functional options for the user to set according to the own requirements, when the BIOS stores the current user setting value of the user, once the BIOS is damaged in software, the computer can be in a condition of being unable to be started, and generally only one BIOS chip is arranged in hardware, in this case, the starting operation can only be recovered by re-burning the BIOS, and the configuration content of the user can not be recovered before. In order to save cost after mass production of the main board, a socket (socket, which is a convention or a mode for communication between computers) is generally canceled by the BIOS ROM, a chip is directly welded on the main board, when certain areas of the BIOS mirror image are damaged and can not be started, the chip can only be blown down by an air gun to burn BIOS files again and then welded on, the BIOS chip needs to be removed from a case to be burned again and then reinstalled again, and the operation of a user is very troublesome; in addition, the BIOS chip may be directly welded on the motherboard, and when the motherboard is disassembled for burning, the motherboard needs to be manufactured again, so that the user cannot operate the motherboard by himself, and the customer service is very troublesome to maintain and can only replace the motherboard for the customer.
The BIOS is required to realize the backup function, at the present stage, two BIOS chips are usually arranged on hardware, one of the BIOS chips can be used as a backup BIOS chip, and when the hardware is damaged, the backup BIOS is switched to be started, so that the purpose of backing up BIOS data is achieved, but the backup method has the advantage that the cost of the chip is usually higher, and the design cost of the system is correspondingly increased by adopting the two BIOS chips to store the BIOS data content; in addition, in order to ensure that two BIOS chips can communicate with each other, in terms of hardware circuit design, circuit structures corresponding to the two BIOS chips need to be designed for the two chips respectively, so that difficulty and cost of hardware design will be increased. Therefore, the method for backing up the BIOS data content by adopting two BIOS chips has the technical problem of high design and manufacturing cost, and aiming at the technical problem, the embodiment of the application provides a basic input output system backing up method which realizes the backing up of the BIOS data content by adopting one BIOS chip, thereby reducing the design and manufacturing cost.
The following describes the core technical ideas of the basic input/output system backup method provided by the embodiment of the application:
the basic input/output system backup method provided by the embodiment of the application comprises the steps of obtaining a basic input/output system chip to be backed up; taking a partial area in the basic input/output system chip to be backed up as a backup area; and writing the data content of the basic input output system in the basic input output system chip to be backed up into a backup area. Compared with the prior art that two chips are adopted to backup BIOS data content, the method provided by the embodiment of the application is based on automatic firmware backup realized by BIOS from software, so that complex operation that the BIOS can be recovered only by reproducing the main board chip and recording the BIOS under the condition that the BIOS is damaged and cannot be started normally is avoided, and meanwhile, the method provided by the application avoids that the backup is realized by designing two BIOS chips through hardware as main BIOS, thereby reducing the cost of main board design, effectively reducing the maintenance cost of products, greatly improving the usability maintainability of the products and bringing more convenience to users.
In order to further understand the above-mentioned basic input/output system backup method provided by the embodiment of the present application, please refer to fig. 1, and fig. 1 is a flowchart of a basic input/output system backup method provided by the embodiment of the present application. The method may include:
s101: and acquiring a basic input/output system chip to be backed up.
The execution body of the embodiment is a BIOS. In this embodiment, the BIOS chip to be backed up is a basic input/output system chip to be backed up, and the BIOS data content is a BIOS data content. In this embodiment, the BIOS chip is not limited, and may be, for example, a BIOS chip of a domestic desktop; or the BIOS chip of the domestic server; or the BIOS chip of the domestic notebook computer; or the BIOS chip of the domestic integrated machine.
Because there are 8M and 16M capacity BIOS chips on some projects at the same time, for 8M BIOS chips, if the BIOS backs up a part of the image, the size of the BIOS image becomes 16M, which results in a failure to burn into 8M BIOS chips, resulting in BIOS damage and a failure to boot. There is a need for a mechanism or method for the BIOS to identify the size of the BIOS chip to determine whether to copy a BIOS image into the BIOS chip, thereby allowing for compatibility between 8M size chips and 16M size chips.
Furthermore, in order to ensure that the BIOS chips with different sizes of the product can be compatible, before writing the data content of the BIOS to be backed up in the BIOS chip into the backup area, the method may further include the following steps:
step 21: reading the capacity of a basic input/output system chip to be backed up;
step 22: judging whether the capacity meets the requirement of storing one original basic input/output system image or not;
step 23: if yes, executing the step of writing the data content of the basic input/output system in the basic input/output system chip to be backed up into a backup area;
step 24: if not, executing the alternative backup operation.
It can be understood that before the capacity of the BIOS chip to be backed up is read, the electronic device needs to be powered on, that is, the capacity of the BIOS chip to be backed up is read, whether the capacity of the BIOS chip to be backed up is supported to store an original BIOS image is judged, if so, a related reading function is called to read the data content of the BIOS chip to be backed up, and the data content in the BIOS chip to be backed up is written into the area to be backed up; if the backup operation is not supported, the system is started normally, and the data content in the BIOS chip to be backed up is not backed up, so that the BIOS chip can meet the normal starting function, or alternative backup operation can be executed, namely, the data content in the BIOS chip to be backed up is backed up on the premise of ensuring that the BIOS chip to be backed up is not damaged.
Further, in order to backup the BIOS chip whose capacity does not satisfy the requirement of storing the original BIOS image, the performing an alternative backup operation may include the following steps:
and writing the data content of the basic input/output system in the basic input/output system chip to be backed up into the storage component for backup.
The present embodiment is not limited to the storage section. For example, the BIOS data content in the BIOS chip to be backed up may be written into the usb disk for backup; or the BIOS data content in the BIOS chip to be backed up can be written into the mobile hard disk for backup.
Further, in order to backup the user updated/reset setting value, after writing the bios data content in the bios chip to be backed up into the backup area, the method may further include the following steps:
step 41: monitoring a basic input/output system chip to be backed up;
step 42: and when the change of the data content of the basic input/output system in the basic input/output system chip to be backed up is monitored, updating the data of the basic input/output system in the backup area.
In this embodiment, after the user updates the configuration stored before or after the user reconfigures the original data, the user monitors the BIOS chip to be backed up, and when it is found that the BIOS data content in the BIOS chip to be backed up is changed, updates and backs up the changed content in time. The frequency of monitoring is not limited in this embodiment. For example, monitoring may be performed at preset time intervals; or may also be monitored in real time. The present embodiment does not limit the preset time interval. For example, it may be monitored once in 2 seconds; or may be monitored once in 1 s.
Further, in order to timely backup the changed data content, the above-mentioned monitoring of the basic input/output system chip to be backed up may include the following steps:
and monitoring the basic input/output system chip to be backed up in real time.
In the embodiment, the BIOS chip to be backed up is monitored in real time, so that the change condition of the BIOS data content in the BIOS chip is known in time, and the backup is performed in time.
S102: and taking the partial area in the basic input/output system chip to be backed up as a backup area.
The partial area is not limited in this embodiment. For example, may be a front-end region of a BIOS chip; or may also be a back-end region of the BIOS chip; or may also be a half area of the BIOS chip; or may be an area greater than half of the BIOS chip.
Further, in order to better utilize the space, the above-mentioned taking the partial area in the basic input/output system chip to be backed up as the backup area may include the following steps:
and taking a half area of the basic input/output system chip to be backed up as a backup area.
The present embodiment does not limit a half area. For example, the first half region of the BIOS chip, or the second half region of the BIOS chip.
S103: and writing the data content of the basic input output system in the basic input output system chip to be backed up into a backup area.
The present embodiment does not limit the writing order of the BIOS data contents. For example, BIOS data content may be written to the backup area simultaneously; or the priority can be set, the writing sequence of the BIOS data content is set according to the priority, and the BIOS data content is written into the backup area according to the sequence.
Further, in order to efficiently and accurately write the BIOS data content into the backup area, the writing the BIOS data content in the BIOS chip to be backed up into the backup area may include the following steps:
step 61: acquiring a preset backup priority;
step 62: determining the writing sequence of the data content of the basic input/output system in the backup basic input/output system chip according to the backup priority;
step 63: and writing the data content of the basic input/output system in the basic input/output system chip to be backed up into a backup area according to the writing sequence.
The preset backup priority is not limited in this embodiment. For example, priority may be set according to the data type of the BIOS data content; or may be prioritized according to the frequency of change of the BIOS data content.
The basic input/output system backup method provided by the embodiment of the application is applied by acquiring the basic input/output system chip to be backed up; taking a partial area in the basic input/output system chip to be backed up as a backup area; and writing the data content of the basic input output system in the basic input output system chip to be backed up into a backup area. The application can realize the backup operation of the basic input/output system from software without depending on hardware, and can complete the backup operation of the basic input/output system by using one basic input/output system chip, thereby saving the chip cost and reducing the design difficulty. In addition, by judging whether the capacity of the BIOS chip meets the backup method, the BIOS chip is not damaged, and meanwhile, the BIOS chips with different sizes of products can be compatible; and the BIOS data content in the BIOS chip is written into the storage component for backup, so that the backup of the BIOS chip with capacity which does not meet the requirement of storing an original BIOS image is realized; in addition, the BIOS chip is monitored, so that the updated/reset setting value of the user can be backed up; in addition, by monitoring the BIOS chip to be backed up in real time, the change condition of the BIOS data content in the BIOS chip is known in time, and the BIOS chip is backed up in time; in addition, the half area of the basic input/output system chip to be backed up is used as a backup area, so that the space of the BIOS chip can be better utilized; and the writing sequence is determined according to the preset backup priority, so that the BIOS data content can be quickly, efficiently and accurately written into the backup area.
In order to facilitate understanding of the present application, referring to fig. 2 in detail, fig. 2 is a flowchart illustrating a basic input/output system backup method according to an embodiment of the present application, which may specifically include:
firstly, setting a backup area, namely taking the latter half area in the BIOS chip as the backup area, when a user presses a power key to start, reading the capacity of the BIOS chip by the BIOS, judging whether the capacity of the BIOS chip which is currently read supports backup and storage of an original BIOS mirror image in the backup area, if the capacity of the BIOS chip which is currently read supports backup and storage of the original BIOS mirror image, calling a related reading function by the BIOS to read the current BIOS data content, automatically writing the current BIOS data content into the backup area of the latter half of the BIOS chip, and normally starting the system after the backup is finished; if the current BIOS chip is not enough in size to support backup and save an original BIOS mirror image, the system is started normally.
The following describes a bios backup device provided by an embodiment of the present application, and the bios backup device described below and the bios backup method described above may be referred to correspondingly.
Referring to fig. 3 specifically, fig. 3 is a schematic structural diagram of a backup device for a bios according to an embodiment of the present application, which may include:
the acquisition module 100 is used for acquiring a basic input/output system chip to be backed up;
the backup area setting module 200 is configured to take a part of the area in the basic input/output system chip to be backed up as a backup area;
and the writing module 300 is configured to write the data content of the bios to be backed up in the backup area.
Based on the above embodiment, the above bios backup device may further include:
the capacity reading module is used for reading the capacity of the basic input/output system chip to be backed up;
the capacity judging module is used for judging whether the capacity meets the requirement of storing one original basic input/output system image or not;
the first judging result module is used for executing the step of writing the data content of the basic input output system in the basic input output system chip to be backed up into the backup area if the data content is yes;
and the second judging result module is used for executing the alternative backup operation if not.
Based on the above embodiment, the second judgment result module may include:
and the storage component backup unit is used for writing the data content of the basic input/output system in the basic input/output system chip to be backed up into the storage component for backup.
Based on the above embodiment, the above bios backup device may further include:
the monitoring module is used for monitoring the basic input/output system chip to be backed up;
and the updating module is used for updating the basic input/output system data in the backup area when the change of the basic input/output system data content in the basic input/output system chip to be backed up is monitored.
Based on the above embodiment, the monitoring module may include:
and the real-time monitoring module is used for monitoring the basic input/output system chip to be backed up in real time.
Based on the above embodiment, the writing module 300 may include:
the preset backup priority acquisition unit is used for acquiring the preset backup priority;
a writing sequence determining unit, configured to determine a writing sequence of data contents of a basic input/output system in the backup basic input/output system chip according to the backup priority;
and the basic input/output system data content writing unit is used for writing the basic input/output system data content in the basic input/output system chip to be backed up into the backup area according to the writing sequence.
Based on the above embodiment, the backup area setting module 200 may include:
and the backup area setting unit is used for taking a half area of the basic input/output system chip to be backed up as the backup area.
The basic input/output system backup device provided by the embodiment of the application is used for acquiring the basic input/output system chip to be backed up through the acquisition module 100; the backup area setting module 200 is configured to take a partial area in the basic input/output system chip to be backed up as a backup area; the writing module 300 is configured to write the data content of the bios to be backed up in the bios chip into the backup area. The application can realize the backup operation of the basic input/output system from software without depending on hardware, and can complete the backup operation of the basic input/output system by using one basic input/output system chip, thereby saving the chip cost and reducing the design difficulty. In addition, by judging whether the capacity of the BIOS chip meets the backup method, the BIOS chip is not damaged, and meanwhile, the BIOS chips with different sizes of products can be compatible; and the BIOS data content in the BIOS chip is written into the storage component for backup, so that the backup of the BIOS chip with capacity which does not meet the requirement of storing an original BIOS image is realized; in addition, the BIOS chip is monitored, so that the updated/reset setting value of the user can be backed up; in addition, by monitoring the BIOS chip to be backed up in real time, the change condition of the BIOS data content in the BIOS chip is known in time, and the BIOS chip is backed up in time; in addition, the half area of the basic input/output system chip to be backed up is used as a backup area, so that the space of the BIOS chip can be better utilized; and the writing sequence is determined according to the preset backup priority, so that the BIOS data content can be quickly, efficiently and accurately written into the backup area.
The following describes a bios backup device provided by an embodiment of the present application, where the bios backup device described below and the bios backup method described above may be referred to correspondingly to each other.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a backup device for a bios according to an embodiment of the present application, which may include:
a memory 10 for storing a computer program;
and a processor 20 for executing a computer program to implement the basic input output system backup method described above.
Memory 10, processor 20, communication interface 31, and communication bus 32. The memory 10, the processor 20, and the communication interface 31 all communicate with each other via a communication bus 32.
In the embodiment of the present application, the memory 10 is used for storing one or more programs, the programs may include program codes, the program codes include computer operation instructions, and in the embodiment of the present application, the memory 10 may store programs for implementing the following functions:
acquiring a basic input/output system chip to be backed up;
taking a partial area in the basic input/output system chip to be backed up as a backup area;
and writing the data content of the basic input output system in the basic input output system chip to be backed up into a backup area.
In one possible implementation, the memory 10 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, and at least one application program required for functions, etc.; the storage data area may store data created during use.
In addition, memory 10 may include read only memory and random access memory and provide instructions and data to the processor. A portion of the memory may also include NVRAM. The memory stores an operating system and operating instructions, executable modules or data structures, or a subset thereof, or an extended set thereof, where the operating instructions may include various operating instructions for performing various operations. The operating system may include various system programs for implementing various basic tasks as well as handling hardware-based tasks.
The processor 20 may be a central processing unit (Central Processing Unit, CPU), an asic, a dsp, a fpga or other programmable logic device, and the processor 20 may be a microprocessor or any conventional processor. The processor 20 may call a program stored in the memory 10.
The communication interface 31 may be an interface of a communication module for connecting with other devices or systems.
Of course, it should be noted that the structure shown in fig. 4 is not limited to the bios backup device in the embodiment of the present application, and the bios backup method device may include more or less components than those shown in fig. 4 or may be combined with some components in practical application.
The storage medium provided by the embodiment of the present application is described below, and the storage medium described below and the backup method of the basic input/output system described above may be referred to correspondingly.
The application also provides a storage medium, and the storage medium stores a computer program which realizes the steps of the basic input/output system backup method when being executed by a processor.
The storage medium may include: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, so that the same or similar parts between the embodiments are referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
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 elements and steps are described above generally in terms of functionality in order to clearly illustrate the 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 solution. 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.
Finally, it is further noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
The above description is provided for a basic input/output system backup method, device, equipment and storage medium, and specific examples are applied to illustrate the principles and embodiments of the present application, and the above description of the embodiments is only used to help understand the method and core idea of the present application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (10)

1. A basic input output system backup method, comprising:
acquiring a basic input/output system chip to be backed up;
taking a part of the area in the basic input/output system chip to be backed up as a backup area;
and writing the data content of the basic input output system in the basic input output system chip to be backed up into the backup area.
2. The bios backup method of claim 1, further comprising, prior to writing bios data content in the bios chip to be backed up to the backup area:
reading the capacity of the basic input/output system chip to be backed up;
judging whether the capacity meets the requirement of storing one original basic input/output system image or not;
if yes, executing the step of writing the data content of the basic input/output system in the basic input/output system chip to be backed up into the backup area;
if not, executing the alternative backup operation.
3. The bios backup method of claim 2, wherein performing an alternative backup operation comprises:
and writing the data content of the basic input/output system in the basic input/output system chip to be backed up into a storage component for backup.
4. The bios backup method as claimed in claim 1, further comprising, after said writing bios data contents in said bios chip to be backed up to said backup area:
monitoring the basic input/output system chip to be backed up;
and when the change of the data content of the basic input/output system in the basic input/output system chip to be backed up is monitored, updating the data of the basic input/output system in the backup area.
5. The bios backup method of claim 1, wherein the monitoring the bios chip to be backed up comprises:
and monitoring the basic input and output system chip to be backed up in real time.
6. The bios backup method of claim 1, wherein writing bios data content in the bios chip to be backed up to the backup area comprises:
acquiring a preset backup priority;
determining the writing sequence of the data content of the basic input/output system in the backup basic input/output system chip according to the backup priority;
and writing the data content of the basic input/output system in the basic input/output system chip to be backed up into the backup area according to the writing sequence.
7. The bios backup method according to claim 1, wherein the taking the partial area in the bios chip to be backed up as a backup area includes:
and taking a half area of the basic input/output system chip to be backed up as the backup area.
8. A basic input output system backup apparatus, comprising:
the acquisition module is used for acquiring the basic input/output system chip to be backed up;
the backup area setting module is used for taking the partial area in the basic input/output system chip to be backed up as a backup area;
and the writing module is used for writing the data content of the basic input/output system in the basic input/output system chip to be backed up into the backup area.
9. A basic input output system backup apparatus, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the basic input output system backup method according to any one of claims 1 to 7 when executing the computer program.
10. A storage medium having stored therein a computer program which when executed by a processor performs the steps of the basic input output system backup method of any one of claims 1 to 7.
CN202310498088.3A 2023-04-27 2023-04-27 Backup method, device, equipment and storage medium for basic input/output system Pending CN116627718A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310498088.3A CN116627718A (en) 2023-04-27 2023-04-27 Backup method, device, equipment and storage medium for basic input/output system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310498088.3A CN116627718A (en) 2023-04-27 2023-04-27 Backup method, device, equipment and storage medium for basic input/output system

Publications (1)

Publication Number Publication Date
CN116627718A true CN116627718A (en) 2023-08-22

Family

ID=87640886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310498088.3A Pending CN116627718A (en) 2023-04-27 2023-04-27 Backup method, device, equipment and storage medium for basic input/output system

Country Status (1)

Country Link
CN (1) CN116627718A (en)

Similar Documents

Publication Publication Date Title
US8453139B2 (en) Conditional startup process for a game apparatus and information processing apparatus
US20150186161A1 (en) Platform system, method for changing support hardware configuration of universal extensible firmware interface basic input output system and computer program product
JP5259714B2 (en) Execution order determination apparatus, execution order determination program, execution order determination circuit, and information processing apparatus
US8612553B2 (en) Method and system for dynamically purposing a computing device
US8924702B2 (en) Method for switching dual operating system on docking system
US20100235617A1 (en) System recovery method and embedded system with automatic recovery function
CN102135893A (en) Method for integrating operating system on BIOS (Basic Input Output System) chip and starting operating system on server
US8169939B2 (en) Mobile computation device and data packet reception method thereof
JP2004302991A (en) Backup method of interface bios for computer system
CN101996109A (en) Computer system, control method thereof and recording medium storing computer program thereof
CN111694585A (en) Method, system, terminal and storage medium for replacing system partition file
CN102654844A (en) Method for processing memory data and computer system capable of maintaining stability
US20050223209A1 (en) Apparatus for fast booting computer and method for the same
JP2002082810A (en) Device and method for processing information and semiconductor memory device
CN112905252A (en) Sequencing method and medium for server BIOS startup item sequence
CN116627718A (en) Backup method, device, equipment and storage medium for basic input/output system
CN114816491A (en) System upgrading method and device for multi-system mobile terminal and terminal
CN109634782B (en) Method and device for detecting system robustness, storage medium and terminal
CN111130856A (en) Server configuration method, system, equipment and computer readable storage medium
CN113849379B (en) Method, device, equipment and readable medium for collecting server asset information
TWI480801B (en) Method of installing the instant-on operation system
JPH1115809A (en) Storage medium having electronic circuit and computer system including the storage medium
CN112506574A (en) Method for modifying BIOS configuration options in ARM server based on CentOS in-band
WO1990006554A1 (en) Computer and starting-up process of said computer
KR100792786B1 (en) Method for os restoring of computer using backup image file

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