CN113220358B - Multi-platform BIOS information storage method, system and medium - Google Patents

Multi-platform BIOS information storage method, system and medium Download PDF

Info

Publication number
CN113220358B
CN113220358B CN202110448952.XA CN202110448952A CN113220358B CN 113220358 B CN113220358 B CN 113220358B CN 202110448952 A CN202110448952 A CN 202110448952A CN 113220358 B CN113220358 B CN 113220358B
Authority
CN
China
Prior art keywords
information
setting
setting information
bios
condition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110448952.XA
Other languages
Chinese (zh)
Other versions
CN113220358A (en
Inventor
朱惠铭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Yingxin Computer Technology Co Ltd
Original Assignee
Shandong Yingxin 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 Shandong Yingxin Computer Technology Co Ltd filed Critical Shandong Yingxin Computer Technology Co Ltd
Priority to CN202110448952.XA priority Critical patent/CN113220358B/en
Publication of CN113220358A publication Critical patent/CN113220358A/en
Application granted granted Critical
Publication of CN113220358B publication Critical patent/CN113220358B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a multi-platform BIOS information storage method, which comprises the following steps: a configuration control unit that configures the first setting information based on the control unit; acquiring a first running state, acquiring second setting information based on the first running state, and storing the second setting information through a control unit; acquiring a second running state, and acquiring a third running state, platform information and third setting information based on the second running state; checking the third setting information and the second setting information, and setting a condition to be recovered based on a checking result, a third running state and platform information; executing a setting information recovery step based on the condition to be recovered, the first setting information and the second setting information; according to the invention, the prior BIOS setting can be kept and operated through new hardware design when the CMOS battery on the main board fails, the CPU is reinstalled or replaced, so that the storage of BIOS setting information under multiple platforms is more stable.

Description

Multi-platform BIOS information storage method, system and medium
Technical Field
The present invention relates to the field of BIOS information storage technologies, and in particular, to a method, a system, and a medium for storing multi-platform BIOS information.
Background
In the starting process of the server, the setting information of the BIOS (Basic Input/Output System) affects the function of the whole server, so that the storage of the BIOS setting information is particularly important.
In the prior art, BIOS setting information under an AMD (Advanced Micro Devices, semiconductor manufacturer) platform and an intel (intel, semiconductor manufacturer) platform are stored by a CMOS (Complementary Metal Oxide Semiconductor ) battery, and in general, once the battery fails or is abnormal, the BIOS setting information is reset uninterruptedly; however, because of the different battery location designs in the two platforms, the AMD platform also causes the BIOS settings to be lost and reset when the CPU (Central Processing Unit ) is replaced or reinstalled.
In summary, the existing BIOS setting information storage method is poor in stability and applicability, and user experience is reduced.
Disclosure of Invention
The invention mainly solves the problems that the existing BIOS setting information storage method is poor in stability and applicability and reduces user experience.
In order to solve the technical problems, the invention adopts a technical scheme that: the multi-platform BIOS information storage method comprises the following steps:
a configuration control unit configured to configure first setting information based on the control unit;
acquiring a first running state, acquiring second setting information based on the first running state, and storing the second setting information through the control unit;
acquiring a second running state, and acquiring a third running state, platform information and third setting information based on the second running state;
checking the third setting information and the second setting information, and setting a condition to be recovered based on a checking result, the third running state and the platform information;
and executing a setting information recovery step based on the condition to be recovered, the first setting information and the second setting information.
As an improvement, the step of configuring the first setting information based on the control unit further includes:
acquiring first equipment information and first BIOS setting information corresponding to the first equipment information, and creating a fixed information storage space in the control unit;
and storing the first device information and the first BIOS setting information through the setting information storage space to generate the first setting information.
As an improvement, the step of acquiring the first operation state, acquiring the second setting information based on the first operation state, and storing the second setting information by the control unit further includes:
acquiring the first running state of a system, and when the first running state is a shutdown triggering state, acquiring second equipment information and second BIOS setting information of the system, and integrating the second equipment information and the second BIOS setting information to acquire the second setting information;
and storing the second setting information through the information storage space.
As an improvement, the step of acquiring the second operation state, and acquiring the third operation state, the platform information, and the third setting information based on the second operation state further includes:
acquiring the second running state of the system, and acquiring third equipment information, third BIOS setting information, platform information and the third running state of power supply equipment of the system when the second running state is in a starting trigger state;
and integrating the third equipment information and the third BIOS setting information to obtain the third setting information.
As an improvement, the step of verifying the third setting information and the second setting information further includes:
checking whether the third device information matches the second device information;
if the verification result is not matched, setting the verification result as a first result;
if so, checking whether the third BIOS setting information corresponds to the second BIOS setting information; if not, setting the checking result as the first result; and if so, setting the verification result as a second result.
As an improved solution, the step of setting a condition to be recovered based on the verification result, the third running state and the platform information further includes:
identifying the platform information, and when the platform information is the first platform, judging whether the third running state is an abnormal state or not and identifying the verification result;
if the third running state is the abnormal state or the checking result is the first result, setting the condition to be recovered as needing to be recovered;
if the third running state is not the abnormal state and the verification result is the second result, setting the condition to be recovered as not needing to be recovered;
when the platform information is the second platform, judging whether the third running state is the abnormal state or not; if yes, setting the condition to be recovered as the condition to be recovered; if not, setting the condition to be recovered as the condition not to be recovered.
As an improvement, the step of performing the setting information restoring step based on the to-be-restored condition, the first setting information, and the second setting information further includes:
and when the condition to be recovered is that the recovery is needed, executing the setting information recovery step based on the first setting information and the second setting information.
As an improved solution, the setting information recovering step includes:
acquiring a starting requirement;
if the starting requirement is to restore the initial setting, extracting the first BIOS setting information corresponding to the third equipment information in the first setting information, setting the first BIOS setting information as a BIOS starting item, and restarting the system;
and if the starting requirement is to restore the storage setting, extracting the second BIOS setting information in the second setting information, setting the second BIOS setting information as the BIOS starting item, and restarting the system.
The invention also provides a multi-platform BIOS information storage system, comprising:
the system comprises an initialization module, an information control module, an information acquisition module, a condition setting module and a step execution module;
the initialization module is used for configuring a control unit and configuring first setting information based on the control unit;
the information control module is used for acquiring a first running state and acquiring second setting information based on the first running state, and the information control module calls the control unit to store the second setting information;
the information acquisition module is used for acquiring a second running state and acquiring a third running state, platform information and third setting information based on the second running state;
the condition setting module is used for checking the third setting information and the second setting information, and setting a condition to be recovered based on a checking result, the third running state and the platform information;
the step execution module is used for executing a setting information recovery step according to the condition to be recovered, the first setting information and the second setting information.
The present invention also provides a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps of the multi-platform BIOS information storage method.
The beneficial effects of the invention are as follows:
1. the multi-platform BIOS information storage method can keep and run the previous BIOS setting when the CMOS battery on the main board fails, the CPU is reinstalled or replaced through the new hardware design, so that the BIOS setting information under the multi-platform is more stable to store, and the applicability of the server and the experience of a user are improved.
2. According to the multi-platform BIOS information storage system, the initialization module, the information control module, the information acquisition module, the condition setting module and the step execution module are matched with each other, so that new hardware design is configured, and when a CMOS battery on a main board is invalid, a CPU is reinstalled or replaced, the former BIOS setting can still be reserved and operated, the storage of BIOS setting information under multiple platforms is more stable, and the applicability of a server and the experience of a user are improved.
3. The computer readable storage medium can realize the coordination of the guide initialization module, the information control module, the information acquisition module, the condition setting module and the step execution module, further realize that the BIOS setting before the operation can be reserved and operated still when the CMOS battery on the main board is invalid, the CPU is reinstalled or replaced through a new hardware design, ensure that the storage of BIOS setting information under multiple platforms is more stable, improve the applicability of a server and the experience of a user, and effectively improve the operability of the multi-platform BIOS information storage method.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a multi-platform BIOS information storage method according to embodiment 1 of the present invention;
FIG. 2 is a block diagram of a prior art AMD platform according to example 1 of the present invention;
FIG. 3 is a block diagram of an intel platform according to the prior art of embodiment 1 of the present invention;
FIG. 4 is a diagram of a multi-platform BIOS information storage method according to embodiment 1 of the present invention applied to the AMD platform;
FIG. 5 is a diagram illustrating an architecture of the multi-platform BIOS information storage method according to embodiment 1 of the present invention when applied to the intel platform;
FIG. 6 is a flowchart illustrating a method for storing multi-platform BIOS information according to embodiment 1 of the present invention;
FIG. 7 is a block diagram of a multi-platform BIOS information storage system according to embodiment 2 of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making clear and defining the scope of the present invention.
In the description of the present invention, it should be noted that the described embodiments of the present invention are some, but not all embodiments of the present invention; all other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the description of the present invention, it should be noted that the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In describing the present invention, it should be noted that:
intel is Intel, semiconductor manufacturer;
PCH (Platform Controller Hub) is an integrated south bridge;
CPU (Central Processing Unit), which is a central processing unit;
AMD (Advanced Micro Devices), semiconductor manufacturer;
BIOS (Basic Input/Output System), which is a Basic Input/Output System;
BMC (Baseboard Management Controller), which is a baseboard management controller;
CMOS (Complementary Metal Oxide Semiconductor), is a complementary metal oxide semiconductor.
Example 1
The present embodiment provides a multi-platform BIOS information storage method, as shown in fig. 1 to 6, including the following steps:
it should be noted that, in the present embodiment, the method is applied to an AMD platform and an Intel platform, which are just one implementation mode, and are not limited herein; specifically, in the prior art, the setting information of the BIOS is stored in the CMOS battery under the platform architecture, and when the CMOS battery is kept powered on, the setting information of the BIOS is stored in the CMOS battery, and if the CMOS battery is powered off, abnormal or damaged, the setting information of the BIOS is reset continuously; because the architecture designs of the AMD platform and the Intel platform are different, under the AMD platform, the CMOS battery is designed in the CPU, under the Intel platform, the CMOS battery is designed in the PCH chip of the motherboard, see fig. 2 and 3; under the architecture design, compared with an AMD platform, the condition that BIOS equipment information is reset when the CPU is replaced or reinstalled by the Intel platform is avoided, so that when the CPU is replaced by the AMD platform, the BIOS setting information stored in the original CPU is changed, the initial information corresponding to the BIOS setting information in the new CPU after installation is the initial information corresponding to the BIOS setting information in the original CPU, and when the CPU is reinstalled by the AMD platform, the original BIOS setting information is reset; the method described in this embodiment solves the above-mentioned problems:
s100, configuring a control unit, and configuring first setting information based on the control unit;
the step S100 specifically includes:
s110, considering the timeliness of system starting, in the embodiment, selecting a BMC which can be started simultaneously with the BIOS to perform new design of a hardware architecture, configuring the BMC, and connecting the BMC to a master socket connecting groove of a CPU on a main board through an IIC bus, so that the BMC can access the CPU in real time, and corresponding setting information and equipment information are acquired; correspondingly, considering the problem that the BIOS setting information can cause mismatching of information equipment or the problem that the hardware default optimal setting information is different when the BIOS setting information is automatically reset, acquiring a plurality of CPU models (namely first equipment information) and relatively stable first BIOS setting information corresponding to the CPU models;
s120, an information storage space which is used for storing the setting information is created in the BMC, and in the embodiment, the memory of the BMC is adopted, so that the processing speed can be increased, but the method is not limited;
and S130, storing the first device information and the first BIOS setting information based on the information storage space, and sorting to obtain the first setting information.
Through the step, the initial architecture is built, and corresponding measures are carried out according to different system running conditions.
S200, acquiring a first running state, acquiring second setting information based on the first running state, and storing the second setting information through the control unit;
the step S200 specifically includes:
s210, considering that each CPU change occurs after the system is shut down, the configuration is carried out, so that a first running state of the system is obtained, when the first running state is a shutdown triggering state, namely the system is shut down or just enters a preparation stage of shutdown, at the moment, the current equipment information (namely second equipment information) and the current BIOS setting information (namely second BIOS setting information) of the system are obtained through the BMC, and the BMC sorts the two information to obtain second setting information;
and S220, after the arrangement, the BMC places the second setting information into the information storage space and stores the second setting information.
By this step, the device information and the BIOS setting information before each shutdown can be stored, and the corresponding verification standard is used as a verification standard for the later information change.
S300, acquiring a second running state, and acquiring a third running state, platform information and third setting information based on the second running state;
the step S300 specifically includes:
s310, considering the same steps as the above, when the system is started, the obtained device information and BIOS setting information are updated and are the most accurate, so that a second running state of the system is obtained, when the second running state is in a starting triggering state, namely the system is triggered to start, or just in a starting stage, the BMC and the BIOS are also triggered to start, and the current device information (namely the third device information), the current BIOS setting information (namely the third BIOS setting information), the current platform model (namely the platform information) and the running state (namely the third running state) of a CMOS battery (namely the power supply device) under the current system are obtained through the BMC;
s320, the BMC collates the device information and the BIOS setting information obtained after the startup to obtain third setting information.
Through the step, the current equipment information and BIOS setting information can be acquired during each startup, the obtained verification standard and the current data can be obtained through the steps, and the corresponding verification step can be started to judge the conditions of the CPU and the CMOS.
S400, checking the third setting information and the second setting information, and setting a condition to be recovered based on a checking result, the third running state and the platform information;
the step S400 specifically includes:
s410, consider that there are two specific cases under the AMD platform: firstly, the CPU is reinstalled, secondly, the CPU is replaced, and both the CPU and the CPU reset BIOS setting information, but the verification and the processing efficiency of the hardware equipment information are considered to be higher and more visual, so that the verification is respectively carried out, and meanwhile, a user can know the corresponding situation; firstly checking whether the third device information is matched with the second device information;
s411, if the result is not matched, setting the verification result as a first result, and indicating CPU replacement;
s412, if the set information is matched with the second BIOS setting information, the CPU is not replaced, whether the third BIOS setting information corresponds to the second BIOS setting information is checked under the condition, and if the set information does not correspond to the second BIOS setting information, the check result is set to be the first result, and the CPU is reinstalled; if the result is corresponding to the second result, the second result is set to indicate that the CPU is not changed.
S420, considering that whether the condition of recovering BIOS setting is changed or not is changed according to different platforms, identifying the platform information, and when the platform information is a first platform, namely an AMD platform, considering the condition of CMOS and the condition of CPU, judging whether the third running state is an abnormal state or not and identifying and checking results; wherein the abnormal state herein includes, but is not limited to, CMOS power down, CMOS damage, CMOS error reporting, CMOS uninstalled, etc.;
s421, if the third running state is an abnormal state or the checking result is a first result, setting the condition to be recovered as needing to be recovered; namely, as long as one of a first result or a CMOS abnormality occurs, BIOS setting information recovery is required for the AMD platform;
s422, if the third running state is not an abnormal state and the verification result is a second result, setting the condition to be recovered as not needing to be recovered; namely, only when the CMOS is normal and the CPU is not replaced or reinstalled, the AMD platform does not need BIOS setting information recovery;
s430, judging whether the third running state is an abnormal state or not when the platform information is the second platform, namely the Intel platform; if yes, setting the condition to be recovered as the condition to be recovered; if not, setting the condition to be recovered as not needing to be recovered; that is, only when the CMOS is abnormal, the Intel platform needs to recover the BIOS setting information.
By the step, the condition that the recovery is required is preset, and whether the current system needs to recover BIOS setting information is finally determined according to the verification between the obtained data.
S500, executing a setting information recovery step based on the condition to be recovered, the first setting information and the second setting information;
the step S500 specifically includes:
s510, when the condition to be recovered is that recovery is needed, executing a setting information recovery step according to the first setting information and the second setting information; when the condition to be recovered is that recovery is not needed, continuing the starting-up flow;
s511, the step of recovering the setting information specifically comprises the following steps: after the two conditions to be recovered are obtained, the BMC informs a user, and recovers the corresponding BIOS setting information according to the selection of the user, and normally, the default value is recovered or the previous BIOS setting information is recovered; thus, a start-up requirement is obtained, which includes: restoring the initial setting, namely restoring the default value; restoring the storage setting, namely restoring the previous BIOS setting information;
A. if the starting requirement is to restore the initial setting, extracting first BIOS setting information corresponding to the third equipment information in the first setting information, setting the first BIOS setting information as a BIOS starting item, and restarting the system, wherein in the step, information matched with the current equipment is selected from a plurality of relatively stable BIOS setting information configured at the beginning, so that the stability of the system is further improved, and meanwhile, the discomfort of setting of automatic resetting of the system is avoided;
B. if the starting requirement is to restore the storage setting, extracting second BIOS setting information of the second setting information, setting the second BIOS setting information as the BIOS starting item, and restarting the system; in this step, after the system is restarted, the corresponding second BIOS setting information is read, and the set state before the last shutdown is returned.
By the multi-platform BIOS information storage method described in the embodiment 1, the information of the device on the current main board and the BIOS setting information can be accurately and efficiently confirmed, and further comparison and verification are performed, so that the BIOS setting information is prevented from being reset due to some conditions, the stability of the system is improved, the implementation is easy, and the operability is high, so that the defects of the prior art are overcome.
Example 2
The present embodiment provides a multi-platform BIOS information storage system, as shown in fig. 7, including: the system comprises an initialization module, an information control module, an information acquisition module, a condition setting module and a step execution module;
in the multi-platform BIOS information storage system, an initialization module is used for configuring a control unit and configuring first setting information based on the control unit;
specifically, the initialization module configures the BMC and connects the BMC to a mother seat connecting groove of the CPU on the main board through an IIC bus; the initialization module acquires a plurality of CPU models (namely first equipment information) and relatively stable first BIOS setting information corresponding to the CPU models; the initialization module creates an information storage space which is used for storing the setting information in the BMC independently, stores the first equipment information and the first BIOS setting information based on the information storage space, and collates the first equipment information and the first BIOS setting information to obtain the first setting information.
In the multi-platform BIOS information storage system, an information control module is used for acquiring a first running state and acquiring second setting information based on the first running state, and the information control module calls the control unit to store the second setting information;
specifically, the information control module acquires a first running state of the system, when the first running state is a shutdown trigger state, namely, the system is shutdown or just enters a preparation stage of shutdown, at this time, the information control module acquires current equipment information (namely, second equipment information) and current BIOS setting information (namely, second BIOS setting information) of the system through the BMC, and the information control module sorts the two information through the BMC to acquire second setting information; after the arrangement, the information control module puts the second setting information into the information storage space through the BMC and stores the second setting information.
In the multi-platform BIOS information storage system, an information acquisition module is used for acquiring a second running state and acquiring a third running state, platform information and third setting information based on the second running state;
specifically, the information acquisition module acquires a second running state of the system, when the second running state is in a starting trigger state, that is, the system is triggered to start, or is just in a starting stage, and at this time, the information acquisition module acquires current device information (that is, third device information) of the system, current BIOS setting information (that is, third BIOS setting information), current platform model (that is, platform information) and running state (that is, third running state) of a CMOS battery (that is, power supply device) under the current system through the BMC; the information acquisition module acquires third setting information by arranging the device information and the BIOS setting information acquired after the startup through the BMC.
In the multi-platform BIOS information storage system, a condition setting module is used for checking the third setting information and the second setting information and setting a condition to be recovered based on a checking result, the third running state and the platform information;
specifically, the condition setting module checks whether the third device information is matched with the second device information; if the third BIOS setting information and the second BIOS setting information are not matched, the condition setting module sets the checking result as a first result, if the third BIOS setting information and the second BIOS setting information are matched, the condition setting module sets the checking result as the first result; if the verification result is corresponding to the first result, the condition setting module sets the verification result as a second result;
specifically, the condition setting module identifies the platform information, and when the platform information is the first platform, namely the AMD platform, the condition setting module judges whether the third running state is an abnormal state or not and identifies the verification result; if the third running state is an abnormal state or the checking result is a first result, the condition setting module sets the condition to be recovered as needing to be recovered; if the third running state is not an abnormal state and the verification result is the second result, the condition setting module sets the condition to be recovered as not needing to be recovered;
specifically, when the platform information is the second platform, i.e. the Intel platform, the condition setting module judges whether the third running state is an abnormal state or not; if yes, the condition setting module sets the condition to be restored as the condition to be restored; if not, the condition setting module sets the condition to be restored as not needing to be restored;
in the multi-platform BIOS information storage system, a step execution module is used for executing a setting information recovery step according to the condition to be recovered, the first setting information and the second setting information;
specifically, when the condition to be recovered is that recovery is needed, the step execution module executes a setting information recovery step according to the first setting information and the second setting information; the setting information recovery step specifically includes: after the two conditions to be recovered are obtained, the step execution module informs a user through the BMC, and recovers the corresponding BIOS setting information according to the selection of the user: the step execution module obtains a starting requirement; if the starting requirement is to restore the initial setting, the step execution module extracts first BIOS setting information corresponding to the third equipment information in the first setting information, sets the first BIOS setting information as a BIOS starting item and restarts the system; if the starting requirement is to restore the storage setting, the step execution module extracts the second BIOS setting information of the second setting information, sets the second BIOS setting information as the BIOS starting item, and restarts the system.
Through the multi-platform BIOS information storage system described in this embodiment 2, the information of the device on the current motherboard and the BIOS setting information can be further confirmed accurately and efficiently through the cooperation of each module, so as to perform comparison and verification, prevent the BIOS setting information from being reset due to some conditions, increase the stability of the system, be easy to implement, and have high operability, and make up for the defects in the prior art.
Example 3
The present embodiment provides a computer-readable storage medium including:
the storage medium is used for storing computer software instructions for implementing the multi-platform BIOS information storage method described in the above embodiment 1, and includes a program for executing the above program set for the multi-platform BIOS information storage method; specifically, the executable program may be built in the multi-platform BIOS information storage system described in embodiment 2, so that the multi-platform BIOS information storage system may implement the multi-platform BIOS information storage method described in embodiment 1 by executing the built-in executable program.
Further, the computer readable storage medium provided in the present embodiment may be any combination of one or more readable storage media, where the readable storage media includes an electric, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof.
Compared with the prior art, the multi-platform BIOS information storage method, system and medium can be used for carrying out new hardware design on the main board through the conception of the method, so that the BIOS setting before the operation can be reserved and operated when the CMOS battery on the main board fails, the CPU is reinstalled or replaced, the effective technical support is provided for the method through the system, the storage of BIOS setting information under multiple platforms is more stable finally, and the applicability of the server and the experience of a user are improved.
The foregoing embodiment of the present invention has been disclosed with reference to the number of embodiments for the purpose of description only, and does not represent the advantages or disadvantages of the embodiments.
It will be appreciated by those of ordinary skill in the art that all or part of the steps of implementing the above embodiments may be implemented by hardware, or a program implemented by a program to instruct related hardware may be stored in a computer readable storage medium, where the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description is only illustrative of the present invention and is not intended to limit the scope of the invention, and all equivalent structures or equivalent processes or direct or indirect application in other related technical fields are included in the scope of the present invention.

Claims (6)

1. The multi-platform BIOS information storage method is characterized by comprising the following steps:
a configuration control unit configured to configure first setting information based on the control unit;
acquiring a first running state, acquiring second setting information based on the first running state, and storing the second setting information through the control unit;
acquiring a second running state, and acquiring a third running state, platform information and third setting information based on the second running state;
checking the third setting information and the second setting information, and setting a condition to be recovered based on a checking result, the third running state and the platform information;
executing a setting information recovery step based on the condition to be recovered, the first setting information and the second setting information;
the step of configuring the first setting information based on the control unit further includes: acquiring first equipment information and first BIOS setting information corresponding to the first equipment information, and creating a fixed information storage space in the control unit; storing the first device information and the first BIOS setting information through the setting information storage space to generate the first setting information;
the step of acquiring the first operation state, acquiring second setting information based on the first operation state, and storing the second setting information by the control unit further includes: acquiring the first running state of a system, and when the first running state is a shutdown triggering state, acquiring second equipment information and second BIOS setting information of the system, and integrating the second equipment information and the second BIOS setting information to acquire the second setting information; storing the second setting information through the information storage space;
the step of verifying the third setting information and the second setting information further includes: checking whether the third device information matches the second device information; if the verification result is not matched, setting the verification result as a first result; if so, checking whether the third BIOS setting information corresponds to the second BIOS setting information; if not, setting the checking result as the first result; if the verification result corresponds to the first result, setting the verification result as a second result;
the step of setting a condition to be recovered based on the verification result, the third running state and the platform information further includes: identifying the platform information, and when the platform information is the first platform, judging whether the third running state is an abnormal state or not and identifying the verification result; if the third running state is the abnormal state or the checking result is the first result, setting the condition to be recovered as needing to be recovered; if the third running state is not the abnormal state and the verification result is the second result, setting the condition to be recovered as not needing to be recovered; when the platform information is the second platform, judging whether the third running state is the abnormal state or not; if yes, setting the condition to be recovered as the condition to be recovered; if not, setting the condition to be recovered as the condition not to be recovered.
2. The multi-platform BIOS information storage method of claim 1, wherein the step of obtaining a second operating state, obtaining a third operating state, platform information, and third setting information based on the second operating state further comprises:
acquiring the second running state of the system, and acquiring third equipment information, third BIOS setting information, platform information and the third running state of power supply equipment of the system when the second running state is in a starting trigger state;
and integrating the third equipment information and the third BIOS setting information to obtain the third setting information.
3. The multi-platform BIOS information storage method of claim 1, wherein the step of performing a setting information restoring step based on the to-be-restored condition, the first setting information, and the second setting information further comprises:
and when the condition to be recovered is that the recovery is needed, executing the setting information recovery step based on the first setting information and the second setting information.
4. The multi-platform BIOS information storage method according to any one of claims 2 to 3, wherein the setting information recovery step includes:
acquiring a starting requirement;
if the starting requirement is to restore the initial setting, extracting the first BIOS setting information corresponding to the third equipment information in the first setting information, setting the first BIOS setting information as a BIOS starting item, and restarting the system;
and if the starting requirement is to restore the storage setting, extracting the second BIOS setting information in the second setting information, setting the second BIOS setting information as the BIOS starting item, and restarting the system.
5. A multi-platform BIOS information storage system, comprising: the system comprises an initialization module, an information control module, an information acquisition module, a condition setting module and a step execution module;
the initialization module is used for configuring a control unit and configuring first setting information based on the control unit; the initialization module acquires first equipment information and first BIOS setting information corresponding to the first equipment information, and creates a fixed information storage space in the control unit; the initialization module stores the first device information and the first BIOS setting information through the setting information storage space to generate the first setting information;
the information control module is used for acquiring a first running state and acquiring second setting information based on the first running state, and the information control module calls the control unit to store the second setting information; the information control module acquires the first running state of the system, and when the first running state is a shutdown triggering state, the information control module acquires second equipment information and second BIOS setting information of the system, and integrates the second equipment information and the second BIOS setting information to acquire the second setting information; the information control module stores the second setting information through the information storage space;
the information acquisition module is used for acquiring a second running state and acquiring a third running state, platform information and third setting information based on the second running state;
the condition setting module is used for checking the third setting information and the second setting information, and setting a condition to be recovered based on a checking result, the third running state and the platform information; the condition setting module checks whether the third device information is matched with the second device information; if the verification result is not matched with the first result, the condition setting module sets the verification result as a first result; if so, the condition setting module checks whether the third BIOS setting information corresponds to the second BIOS setting information; if not, the condition setting module sets the verification result as the first result; if the verification result is corresponding to the first result, the condition setting module sets the verification result as a second result; the condition setting module identifies the platform information, and when the platform information is the first platform, judges whether the third running state is an abnormal state or not and identifies the verification result; if the third running state is the abnormal state or the checking result is the first result, the condition setting module sets the condition to be recovered as needing to be recovered; if the third running state is not the abnormal state and the verification result is the second result, the condition setting module sets the condition to be recovered as not needing to be recovered; when the platform information is the second platform, the condition setting module judges whether the third running state is the abnormal state or not; if yes, the condition setting module sets the condition to be restored as the condition to be restored; if not, the condition setting module sets the condition to be recovered as the condition which does not need to be recovered;
the step execution module is used for executing a setting information recovery step according to the condition to be recovered, the first setting information and the second setting information.
6. A computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program when executed by a processor implements the steps of the multi-platform BIOS information storage method according to any one of claims 1 to 4.
CN202110448952.XA 2021-04-25 2021-04-25 Multi-platform BIOS information storage method, system and medium Active CN113220358B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110448952.XA CN113220358B (en) 2021-04-25 2021-04-25 Multi-platform BIOS information storage method, system and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110448952.XA CN113220358B (en) 2021-04-25 2021-04-25 Multi-platform BIOS information storage method, system and medium

Publications (2)

Publication Number Publication Date
CN113220358A CN113220358A (en) 2021-08-06
CN113220358B true CN113220358B (en) 2023-08-08

Family

ID=77088862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110448952.XA Active CN113220358B (en) 2021-04-25 2021-04-25 Multi-platform BIOS information storage method, system and medium

Country Status (1)

Country Link
CN (1) CN113220358B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598564A (en) * 2016-10-24 2017-04-26 郑州云海信息技术有限公司 Method for implementing BIOS capable of self-adapting to different main boards, BIOS, and main board
CN108920330A (en) * 2018-07-01 2018-11-30 安徽合软信息技术有限公司 A kind of alarm method that computer hardware configuration changes
CN108920331A (en) * 2018-06-29 2018-11-30 合肥微商圈信息科技有限公司 Alarm method for computer hardware configuration change
CN109684134A (en) * 2018-12-21 2019-04-26 联想(北京)有限公司 For the method and server that rapid deployment firmware is set between multiple equipment
CN110245495A (en) * 2018-03-09 2019-09-17 阿里巴巴集团控股有限公司 BIOS method of calibration, configuration method, equipment and system
CN110417619A (en) * 2019-07-23 2019-11-05 苏州浪潮智能科技有限公司 A kind of recording method, system and the storage medium of server exception state
CN111290918A (en) * 2020-02-26 2020-06-16 苏州浪潮智能科技有限公司 Server running state monitoring method and device and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10063434B1 (en) * 2017-08-29 2018-08-28 Extrahop Networks, Inc. Classifying applications or activities based on network behavior

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598564A (en) * 2016-10-24 2017-04-26 郑州云海信息技术有限公司 Method for implementing BIOS capable of self-adapting to different main boards, BIOS, and main board
CN110245495A (en) * 2018-03-09 2019-09-17 阿里巴巴集团控股有限公司 BIOS method of calibration, configuration method, equipment and system
CN108920331A (en) * 2018-06-29 2018-11-30 合肥微商圈信息科技有限公司 Alarm method for computer hardware configuration change
CN108920330A (en) * 2018-07-01 2018-11-30 安徽合软信息技术有限公司 A kind of alarm method that computer hardware configuration changes
CN109684134A (en) * 2018-12-21 2019-04-26 联想(北京)有限公司 For the method and server that rapid deployment firmware is set between multiple equipment
CN110417619A (en) * 2019-07-23 2019-11-05 苏州浪潮智能科技有限公司 A kind of recording method, system and the storage medium of server exception state
CN111290918A (en) * 2020-02-26 2020-06-16 苏州浪潮智能科技有限公司 Server running state monitoring method and device and computer readable storage medium

Also Published As

Publication number Publication date
CN113220358A (en) 2021-08-06

Similar Documents

Publication Publication Date Title
CN113064747B (en) Fault positioning method, system and device in server starting process
CN103748569A (en) System and methods for driverless operation of USB device
CN101882085A (en) System starting method and embedded equipment
CN116107819A (en) Server start-up fault detection system, method, device and medium
CN114116280B (en) Interactive BMC self-recovery method, system, terminal and storage medium
CN108345464A (en) A kind of the startup method and Android vehicle device of Android system
CN106980493B (en) Firmware management method and device
US20200394144A1 (en) Information processing system, information processing device, bios updating method for information processing device, and bios updating program for information processing device
CN111694760A (en) Server system, flash memory module and method for updating firmware mapping file
US10824517B2 (en) Backup and recovery of configuration files in management device
CN111966380A (en) BMC (baseboard management controller) firmware upgrading method, system, terminal and storage medium
CN111176897A (en) Closed BIOS self-repairing method, system, terminal and storage medium
CN113220358B (en) Multi-platform BIOS information storage method, system and medium
CN115562900B (en) AMD server system installation power-off processing method, device, equipment and medium
CN117130672A (en) Server start flow control method, system, terminal and storage medium
CN116185510A (en) Partition switch starting method, array server and computer readable storage medium
CN114237722B (en) System starting method, device, equipment and engineering vehicle
CN115951949A (en) Recovery method and device for configuration parameters of BIOS (basic input output System) and computing equipment
CN115827069A (en) Starting control method, system and device for server mainboard
CN114153503A (en) BIOS control method, device and medium
CN115098294A (en) Abnormal event processing method, electronic equipment and management terminal
CN115168146A (en) Anomaly detection method and device
CN113608939A (en) Server starting timing method, device, terminal and storage medium in performance test
TWI554876B (en) Method for processing node replacement and server system using the same
CN112380083B (en) Method and system for testing master-slave switching stability of BMC (baseboard management controller)

Legal Events

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