CN112230962B - BIOS configuration storage method and system for processor platform - Google Patents

BIOS configuration storage method and system for processor platform Download PDF

Info

Publication number
CN112230962B
CN112230962B CN202011170476.1A CN202011170476A CN112230962B CN 112230962 B CN112230962 B CN 112230962B CN 202011170476 A CN202011170476 A CN 202011170476A CN 112230962 B CN112230962 B CN 112230962B
Authority
CN
China
Prior art keywords
module
setting
firmware
bios
refreshing
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
CN202011170476.1A
Other languages
Chinese (zh)
Other versions
CN112230962A (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.)
Chaoyue Technology Co Ltd
Original Assignee
Chaoyue 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 Chaoyue Technology Co Ltd filed Critical Chaoyue Technology Co Ltd
Priority to CN202011170476.1A priority Critical patent/CN112230962B/en
Publication of CN112230962A publication Critical patent/CN112230962A/en
Application granted granted Critical
Publication of CN112230962B publication Critical patent/CN112230962B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping

Landscapes

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

Abstract

The invention discloses a BIOS configuration storage method and system for a processor platform, belonging to the field of computer processor refreshing; the method comprises the following specific steps: s1, activating a firmware update option; s2, generating a setting file according to the current firmware setting item by the CPU and storing the setting file; s3, performing a firmware refreshing operation through a BIOS; s4, reading a refreshing flag bit of the automatic setting module when the BIOS is restarted; the invention can ensure that the computer firmware is reset to the setting option of the original firmware after refreshing; the firmware setting module is called to realize automatic setting, so that manpower and material resources are saved, and the working efficiency is improved; the updated BIOS is set to be original by adding an automatic setting module under the firmware.

Description

BIOS configuration storage method and system for processor platform
Technical Field
The invention discloses a BIOS configuration storage method and system for a processor platform, and relates to the technical field of computer processor refreshing.
Background
With the development of domestic processors, domestic platform computers have begun to be concerned with the daily life of the general public. With the development of computer technology, more efficient BIOS updating methods have also been invented, such as updating under firmware through a USB device or updating BIOS through a BMC. In either way, the updated BIOS does not retain the previous configuration, and the operator needs to reenter the firmware for setting to achieve his own purpose.
In general, it does not take much time to manually adjust the BIOS after the update. However, if the number of computers is relatively large and the number of configuration items is relatively large, manual configuration is very satisfactory. Therefore, it is more efficient to preserve the original BIOS configuration.
Therefore, the present invention provides a method and a system for saving BIOS configuration of a processor platform to solve the above-mentioned problems.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a BIOS configuration storage method and a system for a processor platform, and the adopted technical scheme is as follows: a BIOS configuration preservation method for a processor platform comprises the following specific steps:
s1, activating a firmware update option;
s2, generating a setting file according to the current firmware setting item by the CPU and storing the setting file;
s3, performing a firmware refreshing operation through a BIOS;
s4, reading a refresh zone bit of the automatic setting module when the BIOS is restarted.
And S2, generating a setting file through the CPU according to the current firmware setting item, and storing the setting file into a firmware setting module in the Flash chip.
The specific steps of the S3 for performing the brushing operation on the firmware through the BIOS are as follows:
s301, automatically refreshing through a BIOS;
s302, erasing the address where the BIOS is located through a CPU and writing the obtained solid file into a FLASH chip to realize firmware update;
s303, setting the refresh flag position in FLASH to be high;
s304 reboots the processor.
The specific steps of reading the refresh zone bit of the automatic setting module when the BIOS is restarted are as follows:
s401, reading a refresh zone bit of an automatic setting module when the BIOS is started;
s402, when the refresh flag bit is high, the firmware setting module is called to realize automatic setting of BIOS options, the refresh flag bit is low after setting is finished, and the processor is restarted.
S412 starts the system normally when the refresh flag bit is low.
A BIOS configuration save system for a processor platform, the system comprising a firmware update module, a settings save module, a firmware swipe module, and a settings read module:
firmware updating module: activating a firmware update option;
and (3) setting a storage module: generating a setting file according to the current firmware setting item by a CPU and storing the setting file;
firmware brushing module: the firmware is subjected to a brushing operation through a BIOS;
and (3) setting a reading module: and reading the refresh zone bit of the automatic setting module when the BIOS is restarted.
And the setting storage module generates a setting file according to the current firmware setting item through the CPU and stores the setting file into the firmware setting module in the Flash chip.
The firmware refreshing module specifically comprises a refreshing module, an updating module, a marking module and a restarting module:
and a refreshing module: automatic refreshing is carried out through BIOS;
and an updating module: the CPU erases the address where the BIOS is located and writes the obtained solid file into the FLASH chip to realize firmware update;
and a marking module: setting the refresh mark position in FLASH to be high;
and (3) restarting a module: the processor is restarted.
The setting and reading module specifically comprises a reading module, a high-order processing module and a low-order processing module:
and a reading module: reading a refreshing flag bit of the automatic setting module when the BIOS is started;
and the high-order processing module is used for: when the refresh flag bit is high, the firmware setting module is called to realize automatic setting of BIOS options, the refresh flag bit is low after setting is finished, and the processor is restarted.
The low-order processing module: and normally starting the system when the refresh flag bit is low.
The beneficial effects of the invention are as follows: the invention can ensure that the computer firmware is reset to the setting option of the original firmware after refreshing; the firmware setting module is called to realize automatic setting, so that manpower and material resources are saved, and the working efficiency is improved; setting the updated BIOS into the original setting by adding an automatic setting module under the firmware; the updated BIOS is configured into the original configuration by adding an automatic setting module under the firmware. After receiving the firmware refreshing function, the computer generates and stores a setting file, then invokes the refreshing function to refresh the firmware and set a flag bit, and finally invokes the setting function to realize the reconfiguration after the firmware refreshing.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it will be obvious that the drawings in the following description are some embodiments of the present invention, and that other drawings can be obtained according to these drawings without inventive effort to a person skilled in the art.
FIG. 1 is a flow chart of the method of the present invention; FIG. 2 is a schematic diagram of the system of the present invention; fig. 3 is a flow chart of an embodiment of the present invention.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and specific examples, which are not intended to be limiting, so that those skilled in the art will better understand the invention and practice it.
Embodiment one:
a BIOS configuration preservation method for a processor platform comprises the following specific steps:
s1, activating a firmware update option;
s2, generating a setting file according to the current firmware setting item by the CPU and storing the setting file;
s3, performing a firmware refreshing operation through a BIOS;
s4, reading a refreshing flag bit of the automatic setting module when the BIOS is restarted;
the invention aims to ensure that the computer firmware is reset to the setting options of the original firmware after refreshing,
the invention aims to ensure that the firmware of the computer is reset to the setting option of the original firmware after refreshing, firstly, the firmware updating option is activated according to S1, namely BMC is activated, or the firmware updating option can be activated under a firmware interface, then a setting file is generated and stored according to the current firmware setting item through a CPU according to S2, when the firmware updating function under the firmware is activated, the firmware is subjected to the refreshing operation through a BIOS according to S3, finally, the refreshing flag bit of an automatic setting module is read when the BIOS is restarted according to S4, the automatic setting is realized by calling the firmware setting module, the manpower and the material resources are saved, and the working efficiency is improved; setting the updated BIOS into the original setting by adding an automatic setting module under the firmware;
further, the S2 generates a setting file according to the current firmware setting item through the CPU and stores the setting file into a firmware setting module in the Flash chip;
further, the specific steps of the step S3 of performing the brushing operation on the firmware through the BIOS are as follows:
s301, automatically refreshing through a BIOS;
s302, erasing the address where the BIOS is located through a CPU and writing the obtained solid file into a FLASH chip to realize firmware update;
s303, setting the refresh flag position in FLASH to be high;
s304, restarting the processor;
firstly, according to S301, automatically refreshing by BIOS, according to S302, erasing the address of BIOS by CPU and writing the obtained solid file into FLASH chip to realize firmware updating, after updating, according to S303, setting the refreshing mark position in FLASH to be high, and then restarting the processor according to S304;
still further, the specific step of reading the refresh flag bit of the automatic setting module when the BIOS is restarted in S4 is as follows:
s401, reading a refresh zone bit of an automatic setting module when the BIOS is started;
s402, when the refresh flag bit is high, the firmware setting module is called to realize automatic setting of BIOS options, the refresh flag bit is low after setting is finished, and the processor is restarted.
S412 starts the system normally when the refresh flag bit is low.
When the BIOS is started, reading a refresh zone bit of the automatic setting module according to S401, when the refresh zone bit is high, calling the firmware setting module according to S402 to realize automatic setting of BIOS options, and after the setting is finished, resetting the processor when the refresh zone bit is low; when the refresh flag bit is low, the computer is restarted directly as per S412.
Embodiment two:
a BIOS configuration save system for a processor platform, the system comprising a firmware update module, a settings save module, a firmware swipe module, and a settings read module:
firmware updating module: activating a firmware update option;
and (3) setting a storage module: generating a setting file according to the current firmware setting item by a CPU and storing the setting file;
firmware brushing module: the firmware is subjected to a brushing operation through a BIOS;
and (3) setting a reading module: reading a refreshing flag bit of the automatic setting module when the BIOS is restarted;
the invention aims to ensure that the firmware updating option of the computer firmware is reset to be the setting option of the original firmware after refreshing, firstly, the firmware updating option is activated by utilizing the firmware updating module, namely BMC (baseboard management controller) is activated, or the firmware updating option can be activated under a firmware interface, then a setting file is generated and stored by utilizing the setting storage module through a CPU (central processing unit) according to the current firmware setting item, when the firmware updating function under the firmware is activated, the firmware is subjected to the refreshing operation by utilizing the firmware refreshing module through a BIOS, finally, the refreshing flag bit of the automatic setting module is read by utilizing the setting reading module when the BIOS is restarted, the automatic setting is realized by calling the firmware setting module, the manpower and the material resources are saved, and the working efficiency is improved; setting the updated BIOS into the original setting by adding an automatic setting module under the firmware;
further, the setting and saving module generates a setting file according to the current firmware setting item through the CPU and saves the setting file in the firmware setting module in the Flash chip;
further, the firmware refreshing module specifically includes a refreshing module, an updating module, a marking module and a restarting module:
and a refreshing module: automatic refreshing is carried out through BIOS;
and an updating module: the CPU erases the address where the BIOS is located and writes the obtained solid file into the FLASH chip to realize firmware update;
and a marking module: setting the refresh mark position in FLASH to be high;
and (3) restarting a module: restarting the processor;
firstly, the refreshing module is utilized to automatically refresh through the BIOS, the updating module is utilized to erase the address where the BIOS is located through the CPU and write the obtained solid file into the FLASH chip to realize firmware updating, after the updating is completed, the refreshing mark position in the FLASH is high through the marking module, and then the processor is restarted through the restarting module;
still further, the setting and reading module specifically includes a reading module, a high-order processing module and a low-order processing module:
and a reading module: reading a refreshing flag bit of the automatic setting module when the BIOS is started;
and the high-order processing module is used for: when the refresh flag bit is high, the firmware setting module is called to realize automatic setting of BIOS options, the refresh flag bit is low after setting is finished, and the processor is restarted.
The low-order processing module: and normally starting the system when the refresh flag bit is low.
When the BIOS is started, a reading module is used for taking a refreshing flag bit of an automatic setting module, when the refreshing flag bit is high, a high-order processing module is used for calling a firmware setting module to realize automatic setting of BIOS options, after the setting is finished, the refreshing flag bit is low, and the processor is restarted; when the refresh flag bit is low, the system is started normally directly when the refresh flag bit is low.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (2)

1. A BIOS configuration preservation method for a processor platform is characterized by comprising the following specific steps:
s1, activating a firmware update option;
s2, generating a setting file according to the current firmware setting item by the CPU and storing the setting file;
s3, performing a firmware refreshing operation through a BIOS;
s4, reading a refreshing flag bit of the automatic setting module when the BIOS is restarted;
s2, generating a setting file through a CPU according to the current firmware setting item, and storing the setting file into a firmware setting module in a Flash chip;
the specific steps of the S3 for performing the brushing operation on the firmware through the BIOS are as follows:
s301, automatically refreshing through a BIOS;
s302, erasing the address where the BIOS is located through a CPU and writing the obtained solid file into a FLASH chip to realize firmware update;
s303, setting the refresh flag position in FLASH to be high;
s304, restarting the processor;
the specific steps of reading the refresh zone bit of the automatic setting module when the BIOS is restarted are as follows:
s401, reading a refresh zone bit of an automatic setting module when the BIOS is started;
s402, when the refresh flag bit is high, calling a firmware setting module to realize automatic setting of BIOS options, and after the setting is finished, enabling the refresh flag bit to be low and restarting the processor;
s412 starts the system normally when the refresh flag bit is low.
2. The BIOS configuration storage system for the processor platform is characterized by comprising a firmware updating module, a setting storage module, a firmware refreshing module and a setting reading module:
firmware updating module: activating a firmware update option;
and (3) setting a storage module: generating a setting file according to the current firmware setting item by a CPU and storing the setting file;
firmware brushing module: the firmware is subjected to a brushing operation through a BIOS;
and (3) setting a reading module: reading a refreshing flag bit of the automatic setting module when the BIOS is restarted;
the setting and saving module generates a setting file according to the current firmware setting item through the CPU and saves the setting file into the firmware setting module in the Flash chip;
the firmware refreshing module specifically comprises a refreshing module, an updating module, a marking module and a restarting module:
and a refreshing module: automatic refreshing is carried out through BIOS;
and an updating module: the CPU erases the address where the BIOS is located and writes the obtained solid file into the FLASH chip to realize firmware update;
and a marking module: setting the refresh mark position in FLASH to be high;
and (3) restarting a module: restarting the processor;
the setting and reading module specifically comprises a reading module, a high-order processing module and a low-order processing module:
and a reading module: reading a refreshing flag bit of the automatic setting module when the BIOS is started;
and the high-order processing module is used for: when the refresh flag bit is high, a firmware setting module is called to realize automatic setting of BIOS options, the refresh flag bit is low after setting is finished, and the processor is restarted;
the low-order processing module: and normally starting the system when the refresh flag bit is low.
CN202011170476.1A 2020-10-28 2020-10-28 BIOS configuration storage method and system for processor platform Active CN112230962B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011170476.1A CN112230962B (en) 2020-10-28 2020-10-28 BIOS configuration storage method and system for processor platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011170476.1A CN112230962B (en) 2020-10-28 2020-10-28 BIOS configuration storage method and system for processor platform

Publications (2)

Publication Number Publication Date
CN112230962A CN112230962A (en) 2021-01-15
CN112230962B true CN112230962B (en) 2023-12-22

Family

ID=74109146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011170476.1A Active CN112230962B (en) 2020-10-28 2020-10-28 BIOS configuration storage method and system for processor platform

Country Status (1)

Country Link
CN (1) CN112230962B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113127883B (en) * 2021-04-26 2022-05-24 山东英信计算机技术有限公司 Locking method, device, equipment and medium for platform firmware protection recovery
CN113190256B (en) * 2021-05-27 2023-03-28 新华三技术有限公司 Upgrading method, device and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653299A (en) * 2014-11-12 2016-06-08 杭州华三通信技术有限公司 Firmware upgrade method device
CN106155745A (en) * 2016-07-08 2016-11-23 北京百度网讯科技有限公司 The upgrade method of basic input output system, device and system
CN106201612A (en) * 2016-07-07 2016-12-07 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN110119281A (en) * 2018-02-07 2019-08-13 河南许继仪表有限公司 A kind of electric energy meter software modularization upgrading method and electric energy meter system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI710952B (en) * 2018-08-28 2020-11-21 緯創資通股份有限公司 Firmware update method and computer system
CN110502296B (en) * 2019-08-09 2022-06-24 苏州浪潮智能科技有限公司 Method, equipment and storage medium for displaying firmware upgrading command

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653299A (en) * 2014-11-12 2016-06-08 杭州华三通信技术有限公司 Firmware upgrade method device
CN106201612A (en) * 2016-07-07 2016-12-07 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN106155745A (en) * 2016-07-08 2016-11-23 北京百度网讯科技有限公司 The upgrade method of basic input output system, device and system
CN110119281A (en) * 2018-02-07 2019-08-13 河南许继仪表有限公司 A kind of electric energy meter software modularization upgrading method and electric energy meter system

Also Published As

Publication number Publication date
CN112230962A (en) 2021-01-15

Similar Documents

Publication Publication Date Title
US9317299B2 (en) Method and device for cold starting android mobile terminal
KR101818599B1 (en) Non-volatile temporary data handling
TWI407300B (en) Method and controller for power management
CN112230962B (en) BIOS configuration storage method and system for processor platform
CN109582217A (en) Data storage device and method for writing data into memory device
KR101862112B1 (en) Accelerating boot time zeroing of memory based on non-volatile memory (nvm) technology
US20060224874A1 (en) Method for updating system management basic input output system (SMBIOS) data
TWI489466B (en) Memory erasing method, memory controller and memory storage apparatus
TW201248392A (en) System and method for recovering data of a NVRAM
CN113703799B (en) Computing device and BIOS updating method and medium thereof
US10564986B2 (en) Methods and apparatus to suspend and resume computing systems
US20180143886A1 (en) Method for Rebuilding a Mapping Table of a Solid State Disk
CN103955389B (en) A kind of system start method based on PCM
WO2021175194A1 (en) Method for timed startup of terminal, and terminal
CN107807870B (en) Method and system for testing power-down protection function of storage server mainboard
CN110825421B (en) Firmware upgrading method, system and readable storage medium
TW201933091A (en) A system and a method for testing a data storage device
WO2024087607A1 (en) Flash memory management algorithm debugging method, system and device, and readable storage medium
KR101620349B1 (en) Bootable volatile memory appratus, memory module having it, and processing system, and method for booting processing system using it
TW201327160A (en) Method for hibernation mechanism and computer system therefor
US11662944B2 (en) Method and apparatus for performing resuming management
US20220374216A1 (en) Method of manufacturing information processing apparatus and mobile computer
CN100511145C (en) Method of updating system for managing data of input / output system
US20150317181A1 (en) Operating system switching method
CN113646745A (en) Disabling software persistence

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
CB02 Change of applicant information

Address after: 250100 No. 2877 Kehang Road, Sun Village Town, Jinan High-tech District, Shandong Province

Applicant after: Chaoyue Technology Co.,Ltd.

Address before: 250100 No. 2877 Kehang Road, Sun Village Town, Jinan High-tech District, Shandong Province

Applicant before: SHANDONG CHAOYUE DATA CONTROL ELECTRONICS Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant