CN108052353B - Method and equipment for improving synchronous speed of BIOS control module - Google Patents

Method and equipment for improving synchronous speed of BIOS control module Download PDF

Info

Publication number
CN108052353B
CN108052353B CN201711328557.8A CN201711328557A CN108052353B CN 108052353 B CN108052353 B CN 108052353B CN 201711328557 A CN201711328557 A CN 201711328557A CN 108052353 B CN108052353 B CN 108052353B
Authority
CN
China
Prior art keywords
setting
bios
type
control module
settings
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
CN201711328557.8A
Other languages
Chinese (zh)
Other versions
CN108052353A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201711328557.8A priority Critical patent/CN108052353B/en
Publication of CN108052353A publication Critical patent/CN108052353A/en
Application granted granted Critical
Publication of CN108052353B publication Critical patent/CN108052353B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/4401Bootstrapping

Abstract

The invention discloses a method and equipment for improving the synchronous speed of a BIOS control module, which comprises the following steps: setting BIOS into a first type of setting and a second type of setting, wherein the first type of setting is set to be autonomously constructed by a system of the BIOS, and the second type of setting is set to be provided by a third party adapter; dividing the first type of setting and the second type of setting into a plurality of subclasses respectively, wherein each subclass corresponds to a zone bit; the control module only detects that the setting of the subclass corresponding to the set zone bit is not changed, and if the setting is changed, new setting is acquired and synchronized to the BIOS. By adopting the method of the invention, the control module can be accurately scanned and synchronized for individual subclasses during synchronization by subdividing the BIOS into a plurality of subclasses, thereby improving the synchronization efficiency of the control module and reducing the starting operation and time consumption of the system.

Description

Method and equipment for improving synchronous speed of BIOS control module
Technical Field
The invention relates to the field of BIOS, in particular to a method and equipment for improving the synchronization speed of a BIOS control module.
Background
At present, in the starting process of a server system BIOS, a control module detects whether external settings are changed, if yes, new OOB setting items are obtained and synchronized into the BIOS, and the BIOS is restarted to take effect; in this process, the control module scans all the settings of OOB for changes and performs the operations only in the later stage of the selective start-up equipment phase, which usually results in too slow a synchronization time and slow start-up time of the control module.
Aiming at the problems in the prior art, the method and the equipment for improving the synchronization speed of the BIOS control module have important significance.
Disclosure of Invention
To solve the above problems, the present invention provides a method and apparatus for increasing the synchronization speed of a BIOS control module.
In order to achieve the above object, the method for increasing the synchronization speed of the BIOS control module according to the present invention includes: setting BIOS into a first type of setting and a second type of setting, wherein the first type of setting is set to be autonomously constructed by a system of the BIOS, and the second type of setting is set to be provided by a third party adapter; dividing the first type of setting and the second type of setting into a plurality of subclasses respectively, wherein each subclass corresponds to a zone bit; the control module only detects whether the setting item of the subclass corresponding to the set zone bit is changed, if so, new setting is obtained and synchronized to the BIOS;
further, the subclass of the first type of setting specifically includes a memory, a processor, a power supply, a device, an interface, a startup item, and a system boot;
further, the subclasses of the second class setting are classified according to suppliers;
further, the obtaining new settings and synchronizing to the BIOS is further to: if the new setting obtained is the first type setting, then synchronization to the BIOS may occur late in the drive execution environment phase.
The invention also provides a device for improving the synchronous speed of the BIOS control module, which comprises: the system comprises a control module and a baseboard management controller, wherein the baseboard management controller comprises a memory module and an out-of-band data module; the memory module is used for storing BIOS settings, wherein the BIOS settings are divided into a first type of settings and a second type of settings, the first type of settings are autonomously constructed by a system of the BIOS, the second type of settings are provided by a third party adapter, the first type of settings and the second type of settings are respectively divided into a plurality of subclasses, and each subclass corresponds to a flag bit; the out-of-band data module is used for storing new settings; the control module is used for detecting the setting of the subclass corresponding to the set zone bit in the memory module and synchronizing the new setting in the out-of-band data module to the memory module;
further, the subclass of the first type of setting specifically includes a memory, a processor, a power supply, a device, an interface, a startup item, and a system boot;
further, the subclasses of the second class setting are classified by suppliers.
The invention relates to a method and equipment for improving the synchronous speed of a BIOS control module
The BIOS can be subdivided into a plurality of subclasses, so that the control module can accurately scan and synchronize individual subclasses during synchronization, the synchronization efficiency of the control module is improved, and the starting operation and the time consumption of a system are reduced.
Drawings
FIG. 1 is a schematic flow chart illustrating a method for increasing the synchronization speed of a BIOS control module according to the present invention;
FIG. 2 is a schematic diagram illustrating the classification of the BIOS according to the present invention;
fig. 3 is a schematic structural diagram of the device for increasing the synchronization speed of the BIOS control module according to the present invention.
Detailed Description
The structure, operation, and the like of the present invention will be further described with reference to the accompanying drawings.
As shown in fig. 1, fig. 1 is a schematic flow chart of the method of the present invention. The invention discloses a method for improving the synchronous speed of a BIOS control module, which comprises the following steps:
s1, dividing the BIOS settings into a first type of settings and a second type of settings, wherein the first type of settings are autonomously constructed by the BIOS system, and the second type of settings are provided by a third party adapter; generally, the BIOS is configured to be built internally (represented by type 0) independently of the system of the BIOS or provided by a third party manufacturer according to a third party adapter (represented by type 1) according to various components of the electronic device where the BIOS is located, including a motherboard, a CPU, a memory, a graphics card, a display or a memory, and the like.
S2, dividing the first type setting and the second type setting into a plurality of subclasses respectively, wherein each subclass corresponds to a zone bit; as shown in fig. 2, fig. 2 is a schematic diagram illustrating classification of BIOS according to the present invention. In a preferred embodiment of the present invention, the subclasses of the first type of setting specifically include a Memory (Memory), a Processor (Processor), a Power source (Power), Devices (Devices), an interface (IOPort), a boot entry, and a system boot (BootMode); the subclasses of the second class setting are classified by supplier.
S3, the control module (UCM) only detects that the setting of the subclass corresponding to the set flag bit is not changed, if yes, the control module acquires the new setting and synchronizes to the BIOS. In a preferred embodiment of the present invention, the obtaining new settings and synchronizing to the BIOS further comprises: if the new setting obtained is the first type setting, then synchronization to the BIOS may occur late in the drive execution environment phase.
The UEFI of the BIOS is divided into four phases SEC, PEI, DXE and BDS. The SEC phase is the first phase of platform initialization, and the system of the computer and other electronic equipment enters the SEC phase after being powered on or restarted; the PEI phase is used for preparing an execution environment for DXE, forming an HOB (HandaffBlock) list by information needing to be transmitted to DXE, and finally giving control right to DXE; the DXE phase executes most of the initialization work of the system, and the memory can be completely used, so that a great deal of complex work can be carried out in the DXE phase; the main function of the BDS phase is to enforce a boot policy, typically the BIOS boots the operating system and passes control to the operating system in this phase. Since the BDS phase is mainly responsible for executing the boot policy and booting the os by the BIOS and giving control to the os, but the BDS phase is very slow because of the large number of operations to be executed, the synchronization operation for the first type of setting (i.e. the setting represented by type 0) performed at the later stage of the BDS phase has a great influence on the synchronization efficiency of the control module.
In the BIOS, the setting of the system autonomous construction does not depend on the loading of a drive item, so that the synchronous operation can be executed in a DXE stage without consuming a large amount of operation; the setting provided by the third party adapter can execute the synchronous operation in the BDS phase only when the operation of the driver provided by the third party is required to be finished in the DXE phase, and cannot be executed in the DXE phase in advance; since the conventional BIOS does not distinguish and classify the settings of the system autonomous construction from those provided by the third-party adapter, and combines the settings of the system autonomous construction and the third-party adapter into a unified setting, the synchronization operation of the settings of the entire BIOS must be performed in the BDS phase, and therefore, the synchronization operation of the settings of the system autonomous construction only, i.e., the settings of the first type (i.e., the settings represented by type 0), is not performed in advance of the DXE phase, which wastes a huge amount of time and energy.
More importantly, in the synchronization operation for the setting built autonomously by the system, namely, the setting of the first type (i.e., the setting represented by type 0), in the conventional BIOS synchronization operation, since it must be performed in the BDS phase after the DXE phase, if a new setting problem or error (bug) updated in out-of-band data (OOB) is found once, it can only be reproduced by way of hardware power-off or hardware plugging, which is very cumbersome and complicated. In the present invention, when the synchronization operation of the first type of setting (i.e. the setting represented by type 0) is performed in advance to the phase of DXE, once a new setting problem or error (bug) updated in out-of-band data (OOB) is found, the synchronization operation can be directly cancelled or the setting content with the problem or error (bug) can be removed, and then the BDS phase is entered, so that the hardware power-off or the hardware plugging is no longer required to be duplicated.
In the method for improving the synchronization speed of the BIOS control module, which is provided by the invention, in the synchronization operation aiming at the setting which is independently constructed by the system, namely the first type setting (namely the setting represented by type 0), the synchronization efficiency of the control module is greatly improved, the starting time of the system is reduced, the forced power-off and plugging of hardware caused by the problem or error of the new setting updated in the out-of-band data (OOB) are avoided, and the protection and the synchronization efficiency of the hardware are undoubtedly greatly improved.
As shown in fig. 3, fig. 3 is a schematic structural diagram of the device for increasing the synchronization speed of the BIOS control module according to the present invention. The device for improving the synchronous speed of the BIOS control module specifically comprises: a control module 1(UCM) and a baseboard management controller 2(BMC) comprising a memory module 3 and an out-of-band data module 4; the control module 1 is electrically connected with the baseboard management controller 2, and the control module 1 is respectively electrically connected with the memory module 3 and the out-of-band data module 4. The memory module 3 is configured to store settings of the BIOS, where the settings of the BIOS are divided into a first type of settings and a second type of settings, the first type of settings are autonomously constructed by a system of the BIOS, the second type of settings are provided by a third party adapter, the first type of settings and the second type of settings are respectively divided into a plurality of subclasses, and each subclass corresponds to a flag bit; in a preferred embodiment of the present invention, the subclass of the first type of setting specifically includes a memory, a processor, a power supply, a device, an interface, a startup item, and a system boot; the subclasses of the second class setting are classified by supplier.
The out-of-band data module 4 is used for storing new settings;
the control module 1 is configured to detect a setting of a subclass corresponding to a set flag bit in the memory module 3, and synchronize a new setting in the out-of-band data module 4 to the memory module; in the technical solution of the present invention, the control module 1 is configured to detect whether a setting of a subclass corresponding to a set flag bit in the memory module 3 is changed, and synchronize a new setting of the out-of-band data module 4 to the changed setting of the corresponding subclass.
The foregoing is merely illustrative of the present invention, and it will be appreciated by those skilled in the art that various modifications may be made without departing from the principles of the invention, and the scope of the invention is to be determined accordingly.

Claims (7)

1. A method for improving the synchronous speed of a BIOS control module is characterized by comprising the following steps:
setting BIOS into a first type of setting and a second type of setting, wherein the first type of setting is set to be autonomously constructed by a system of the BIOS, and the second type of setting is set to be provided by a third party adapter;
dividing the first type of setting and the second type of setting into a plurality of subclasses respectively, wherein each subclass corresponds to a zone bit;
and the control module only detects that the setting of the subclass corresponding to the set zone bit is not changed, and if the setting is changed, the control module acquires new setting and synchronizes to the BIOS.
2. The method according to claim 1, wherein the subclasses of the first class of setting specifically include memory, processor, power, device, interface, boot item, and system boot.
3. The method for increasing BIOS control module synchronization speed of claim 1, wherein the subclass of the second class setting is classified by vendor.
4. The method of increasing BIOS control module synchronization speed of claim 1, wherein the obtaining new settings and synchronizing to the BIOS is further: if the new setting obtained is the first type setting, then synchronization to the BIOS may occur late in the drive execution environment phase.
5. An apparatus for increasing the synchronization speed of a BIOS control module, comprising: the system comprises a control module and a baseboard management controller, wherein the baseboard management controller comprises a memory module and an out-of-band data module;
the memory module is used for storing BIOS settings, wherein the BIOS settings are divided into a first type of settings and a second type of settings, the first type of settings are autonomously constructed by a system of the BIOS, the second type of settings are provided by a third party adapter, the first type of settings and the second type of settings are respectively divided into a plurality of subclasses, and each subclass corresponds to a flag bit;
the out-of-band data module is used for storing new settings;
the control module is used for detecting the setting of the subclass corresponding to the set zone bit in the memory module and synchronizing the new setting in the out-of-band data module to the memory module.
6. The apparatus for increasing synchronous speed of a BIOS control module of claim 5 wherein the subclasses of the first class of settings specifically include memory, processor, power supply, device, interface, boot item and system boot.
7. The apparatus for increasing BIOS control module synchronization speed of claim 5, wherein the subclass of the second class setting is classified by vendor.
CN201711328557.8A 2017-12-13 2017-12-13 Method and equipment for improving synchronous speed of BIOS control module Active CN108052353B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711328557.8A CN108052353B (en) 2017-12-13 2017-12-13 Method and equipment for improving synchronous speed of BIOS control module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711328557.8A CN108052353B (en) 2017-12-13 2017-12-13 Method and equipment for improving synchronous speed of BIOS control module

Publications (2)

Publication Number Publication Date
CN108052353A CN108052353A (en) 2018-05-18
CN108052353B true CN108052353B (en) 2021-05-18

Family

ID=62132186

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711328557.8A Active CN108052353B (en) 2017-12-13 2017-12-13 Method and equipment for improving synchronous speed of BIOS control module

Country Status (1)

Country Link
CN (1) CN108052353B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113032023B (en) * 2021-03-03 2022-08-19 联想(北京)有限公司 Electronic equipment processing method and device and electronic equipment
CN114528029B (en) * 2022-02-11 2023-08-08 苏州浪潮智能科技有限公司 Method, system, equipment and storage medium for realizing BIOS option setting

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473141A (en) * 2013-09-13 2013-12-25 浪潮电子信息产业股份有限公司 Method for out-of-band check and modification of BIOS (basic input/output system) setting options
CN105404525A (en) * 2014-09-08 2016-03-16 广达电脑股份有限公司 System and method for managing multiple bios default configurations
CN106603307A (en) * 2016-12-30 2017-04-26 北京奇艺世纪科技有限公司 Method and device of configuration modification
US9645954B2 (en) * 2014-06-05 2017-05-09 Lenovo (Singapore) Pte. Ltd. Embedded microcontroller and buses

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8370613B1 (en) * 2009-06-30 2013-02-05 Symantec Corporation Method and apparatus for automatically optimizing a startup sequence to improve system boot time
CN106951292B (en) * 2017-03-28 2020-06-23 联想(北京)有限公司 Method and device for modifying static options in BIOS
CN107145359A (en) * 2017-05-12 2017-09-08 郑州云海信息技术有限公司 A kind of BMC changes the optimization method of BIOS option

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473141A (en) * 2013-09-13 2013-12-25 浪潮电子信息产业股份有限公司 Method for out-of-band check and modification of BIOS (basic input/output system) setting options
US9645954B2 (en) * 2014-06-05 2017-05-09 Lenovo (Singapore) Pte. Ltd. Embedded microcontroller and buses
CN105404525A (en) * 2014-09-08 2016-03-16 广达电脑股份有限公司 System and method for managing multiple bios default configurations
CN106603307A (en) * 2016-12-30 2017-04-26 北京奇艺世纪科技有限公司 Method and device of configuration modification

Also Published As

Publication number Publication date
CN108052353A (en) 2018-05-18

Similar Documents

Publication Publication Date Title
CN107122321B (en) Hardware repair method, hardware repair system, and computer-readable storage device
US10496424B2 (en) Reconfiguring virtual machines
CN106445576B (en) Motherboard and its computer implemented method and the readable storage device of non-transient computer
US9910664B2 (en) System and method of online firmware update for baseboard management controller (BMC) devices
US10725770B2 (en) Hot-swapping operating systems using inter-partition application migration
US20140149644A1 (en) Electronic apparatus, method of updating firmware, and computer-readable recording medium
US20130138934A1 (en) Loading configuration information
EP2189906A1 (en) Method and apparatus for abnormality recovering of data card, and data card
US10817319B1 (en) Compatibility-based configuration of hardware with virtualization software
US10025587B2 (en) Method of bootup and installation, and computer system thereof
US9298371B1 (en) System and method of reducing write cycles and increasing longevity of non-volatile memory in baseboard management controller (BMC)
US20190042368A1 (en) System and Method to Enable Rapid Recovery of an Operating System Image of an Information Handling System after a Malicious Attack
CN103593281A (en) Test system and test method
CN108052353B (en) Method and equipment for improving synchronous speed of BIOS control module
US10204011B1 (en) Techniques for partially restarting a computing device in response to a configuration change
US20190205109A1 (en) Computer system, baseboard management controller, and os installation method
US20200349009A1 (en) Information Handling System And Method To Restore System Firmware To A Selected Restore Point
US9069909B2 (en) Server and identifier synchronization method
US20150212841A1 (en) Delayed population of advanced configuration and power interface (acpi) tables by hypervisor
TW202131170A (en) Firmware corruption recovery
US20220270538A1 (en) Display mode setting determinations
US10599412B2 (en) Operating system installation on a computing device with multiple redundant drives
US8918630B1 (en) System, apparatus, and method for initiating a reboot of a personal computer system by pressing a button on an attached storage device and causing the operating system on the attached storage device to be booted
CN107562466B (en) Method and equipment for installing computer operating system
CN109710319B (en) Method and system for identifying in-place hard disk of computer

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