BIOS option setting methods, devices, systems, storage media, and BIOS option setting terminals

By extracting BIOS option information from the human-machine interface infrastructure database, generating an adaptive settings interface and a standardized configuration file, the problems of complex BIOS configuration operations and difficult result verification in existing technologies are solved, achieving efficient and accurate BIOS option settings and detailed feedback.

CN123114583APending Publication Date: 2026-11-17NINGCHANG INFORMATION TECH (HANGZHOU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611517615.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-28
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

Existing remote BIOS configuration solutions cannot provide an intuitive correspondence between option names and ID identifiers, resulting in a high operational threshold and a high risk of errors. Furthermore, the results cannot be verified immediately after configuration modifications, which slows down the efficiency of batch maintenance.

Method used

By dynamically extracting BIOS option information from the human-machine interface infrastructure database, generating an adaptive settings interface, and generating a configuration file that conforms to a preset protocol standard based on the operation data, accurate settings and detailed feedback of BIOS options can be achieved.

Benefits of technology

It reduces the probability of user operation errors, improves configuration efficiency, ensures the accuracy of BIOS option settings and visual feedback, and reduces the need for manual data search.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123114583A_ABST
    Figure CN123114583A_ABST
Patent Text Reader

Abstract

This application discloses a BIOS option setting method, apparatus, system, storage medium, and BIOS option setting terminal. The method includes: obtaining BIOS option information from the human-machine interface infrastructure database of a computer device, and creating a BIOS setting interface based on the BIOS option information; receiving operation data for any BIOS option setting item, and determining the target BIOS option to be set and the option setting information of the target BIOS option based on the operation data; generating a target configuration file conforming to a preset protocol standard according to the target BIOS option and the option setting information; and performing information setting for the target BIOS option based on the target configuration file. This transforms identifiers that are difficult to correlate with options into a simple operation interface. Through the two steps of parsing data to generate the interface and automatically converting requests, maintenance personnel can operate without manually searching for data, reducing errors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a BIOS option setting method, apparatus, system, storage medium, and BIOS option setting terminal. Background Technology

[0002] As the underlying firmware interface between computer hardware and the operating system, the BIOS bears the core responsibilities of hardware initialization, power-on self-test, and system boot. Its configuration options directly determine the operating status, performance release, and functional compatibility of computer hardware. With the rapid iteration of hardware ecosystems in different scenarios such as consumer PCs, industrial control motherboards, and server workstations, users' demands for refined and visualized BIOS settings continue to increase. From ordinary users adjusting the boot order and enabling memory overclocking to industry developers debugging underlying hardware parameters and adapting to customized system environments, BIOS option configuration has become an indispensable basic link in the entire lifecycle operation and maintenance of computers. Its configuration efficiency and ease of operation directly affect the overall experience of hardware debugging and system deployment.

[0003] The current mainstream remote BIOS configuration process relies on the UEFI ecosystem and out-of-band management architecture: the BIOS side stores the metadata of all Setup interface options in a unified HII database, and each BIOS configuration item is bound to a unique MapStringId identifier; the BMC, as an intermediate forwarding layer between the Redfish client and the BIOS firmware, is responsible for receiving configuration requests from the outside, mapping the parameters in the request to instructions that the BIOS can recognize, and finally the BIOS matches the corresponding target option through MapStringId to complete the writing and updating of parameters. The whole process realizes the ability to remotely modify the BIOS configuration without local contact with the server.

[0004] This existing solution has revealed two significant shortcomings in real-world large-scale operation and maintenance scenarios: First, the system cannot provide operation and maintenance personnel with an intuitive and clear correspondence between MapStringId and actual BIOS option names. Operation and maintenance personnel can only initiate operations based on obscure ID identifiers, which not only significantly increases the operational threshold but also makes it prone to ID matching errors and accidental modification of non-target BIOS options. Second, after completing the configuration modification, it can only return simple success or failure status codes and cannot simultaneously return the option names, original parameter values, and updated target values ​​involved in the operation. Operation and maintenance personnel find it difficult to quickly verify the configuration results and need to jump to multiple interfaces to check them one by one, which seriously slows down the execution efficiency of batch operation and maintenance. Summary of the Invention

[0005] In view of this, embodiments of this application provide a BIOS option setting method, apparatus, system, storage medium, and BIOS option setting terminal.

[0006] According to one aspect of this application, a BIOS option setting method is provided, the method comprising: Obtain BIOS option information from the human-machine interface infrastructure database of the computer device, and create a BIOS settings interface based on the BIOS option information, wherein the BIOS settings interface includes at least one BIOS option setting item; Receive operation data for any BIOS option setting item, and determine the target BIOS option to be set and the option setting information of the target BIOS option based on the operation data; Based on the target BIOS options and the option settings information, generate a target configuration file that conforms to a preset protocol standard; The target BIOS options are configured based on the target configuration file.

[0007] The beneficial effects are as follows: By dynamically extracting BIOS option information from the human-machine interface infrastructure database and driving the generation of the settings interface, and through operation data capture, the accurate transmission of user setting intentions is ensured; by generating standardized target configuration files, differences in underlying storage interfaces are masked and potential mutual exclusion risks are eliminated in advance, ensuring protocol consistency of settings operations for upper-layer applications. This transforms identifiers that are difficult to correlate with options into a simple operation interface. Through the two steps of parsing data to generate the interface and automatically converting requests, maintenance personnel can operate without manually searching for data, reducing errors.

[0008] In one optional embodiment, BIOS option information is obtained from the computer device's human-machine interface infrastructure database, and a BIOS setup interface is created based on the BIOS option information, including: During the BIOS boot process of a computer device, the human-machine interface infrastructure database of the computer device is parsed, and BIOS option information is extracted from the human-machine interface infrastructure database; The BIOS option information is parsed to obtain metadata for each BIOS option, wherein the metadata includes the identifier, name, and current value of the BIOS option. Based on the name and current value of each BIOS option, construct the corresponding setting item for each BIOS option, and associate the identifier of the BIOS option with the corresponding setting item; Create a BIOS setup interface that includes all BIOS option settings.

[0009] The beneficial effect is that, through the dynamic extraction and item-by-item parsing mechanism from the database, the BIOS setup interface can adapt to the option sets of different motherboards, avoiding the need to customize interface code for each platform.

[0010] In an optional embodiment, the metadata further includes optional value retrieval rules; based on the name and current value of each BIOS option, settings for each BIOS option are constructed, including: For any BIOS option, based on the optional value rules of the BIOS option, the setting item interface type of the BIOS option is determined. The optional value rules, name, and current value of the BIOS option are used to fill in the information of the interface template corresponding to the setting item interface type to obtain the setting item of the BIOS option. The optional value rules include the value range and the value requirements. The setting item is used to prompt the user to fill in the option setting information according to the value requirements within the value range.

[0011] The beneficial effect is that by driving the interface type inference and template filling mechanism through value rules, different types of BIOS options can be presented with controls that best match their value semantics, reducing the probability of user misoperation.

[0012] In an optional embodiment, the metadata further includes the BIOS variable name corresponding to the BIOS option, and the position information of the BIOS option in the binary data structure of the BIOS variable; based on the target BIOS option and the option setting information, a target configuration file conforming to a preset protocol standard is generated, including: Based on the identifier of the target BIOS option, determine the target BIOS variable corresponding to the target BIOS option; Obtain the binary data structure variable data of the target BIOS variable, and based on the position information of the target BIOS option in the binary data structure of the target BIOS variable, modify the corresponding position in the binary data structure variable data of the target BIOS variable to the option setting information, thereby obtaining the execution variable data corresponding to the target BIOS option; Based on the target BIOS variables and the execution variable data, a target configuration file conforming to a preset protocol standard is generated.

[0013] The beneficial effect is that the precise bit field modification mechanism guided by variable name and location information allows multiple BIOS options to share the same BIOS variable storage without interfering with each other. Each setting only updates the bit field corresponding to the target option, avoiding the risk of concurrent option value overwriting that may be caused by full variable rewriting.

[0014] In an alternative embodiment, after performing information settings for the target BIOS options based on the target configuration file, the method further includes: The system receives BIOS setting execution information generated after the target configuration file is executed. The BIOS setting execution information includes at least the identifier of the target BIOS option and execution status information. The execution status information is either execution success information or execution failure information and execution failure error code. The visual feedback interface displays detailed settings information for the target BIOS option. This detailed information includes the target BIOS option's name, identifier, execution status information, pre-setting option value, and post-setting option value. The pre-setting option value is obtained by acquiring the target BIOS option's current value before executing the target configuration file, or extracted from the BIOS setting execution information. The post-setting option value is determined by the target BIOS option's option setting information, or extracted from the BIOS setting execution information. When the execution status information is the execution failure information and the error code, the visual feedback interface also displays the error description information corresponding to the error code.

[0015] The beneficial effects are: it allows operators to clearly check the status and effectiveness of each BIOS option change at a glance; the textual mapping of error codes shortens the troubleshooting time when configuration failures occur and avoids repeated trial and error operations caused by missing information. In an optional embodiment, after receiving the BIOS setting execution information generated after the target configuration file is executed, the method further includes: When the execution status information of the target BIOS option is the execution success information, the current value in the metadata of the target BIOS option is updated based on the set option value corresponding to the target BIOS option, and the current value corresponding to the target BIOS option in the BIOS settings interface is also updated.

[0016] The beneficial effect is that it enables the BIOS setup interface to reflect the latest hardware status immediately after the configuration is successfully written, eliminating the operational misjudgment caused by the interface still displaying old values ​​even though the settings have taken effect.

[0017] In an optional embodiment, when the execution status information of the target BIOS option is the execution failure information and the error code, the detailed information of the target BIOS option is displayed in the visual feedback interface, further including: Based on the target BIOS option that failed to execute, a BIOS option setting retry control is created in the visual feedback interface; In response to the trigger command of the BIOS option setting retry control, a target configuration file is regenerated as a retry configuration file based on the target BIOS option and the option setting information, and the information settings of the retry BIOS option are executed based on the retry configuration file.

[0018] The beneficial effect is that by creating a retry control, the recovery operation after configuration failure can be completed directly in the feedback interface, eliminating the repetitive operation caused by locating the original settings and re-entering parameters.

[0019] In an optional embodiment, after receiving the BIOS setting execution information generated after the target configuration file is executed, the method further includes: Based on the BIOS settings execution information, generate and send BIOS option notification information.

[0020] The beneficial effects are as follows: by proactively notifying users of information, the BIOS configuration change results break through the passive mode of traditional polling and querying. Subscribers can perceive the configuration dynamics in real time and trigger related responses, ensuring that administrators can be informed of configuration faults that require manual intervention as soon as possible.

[0021] According to another aspect of this application, a BIOS option setting system is provided for performing the method as described above, the system comprising: BIOS option settings, board management controller, and basic input / output system; The BIOS option setting terminal is used to initiate a BIOS option information acquisition request to the basic input / output system through the baseboard management controller; The basic input / output system is used to parse the human-machine interface infrastructure database of the computer device during the BIOS startup process, extract BIOS option information from the human-machine interface infrastructure database and cache it, and when a BIOS option information retrieval request is received, feed back the cached BIOS option information to the BIOS option setting terminal through the baseboard management controller; The BIOS option setting terminal is also used to create a BIOS setting interface based on the BIOS option information, wherein the BIOS setting interface includes at least one BIOS option setting item; receive operation data for any BIOS option setting item, determine the target BIOS option to be set and the option setting information of the target BIOS option based on the operation data; generate a target configuration file conforming to a preset protocol standard according to the target BIOS option and the option setting information; and send the target configuration file to the baseboard management controller. The baseboard management controller is used to send the target configuration file to the basic input / output system; The basic input / output system is also used to perform information settings for the target BIOS options based on the target configuration file.

[0022] According to another aspect of this application, a BIOS option setting device is provided, the device comprising: The interface creation module is used to obtain BIOS option information from the human-machine interface infrastructure database of the computer device, and create a BIOS settings interface based on the BIOS option information, wherein the BIOS settings interface includes at least one BIOS option setting item; The option setting module is used to receive operation data for any BIOS option setting item, and determine the target BIOS option to be set and the option setting information of the target BIOS option based on the operation data; The file generation module is used to generate a target configuration file that conforms to a preset protocol standard based on the target BIOS options and the option setting information. The sending module is used to send the target configuration file to the baseboard management controller, so that the baseboard management controller can distribute the target configuration file to the basic input / output system, so that the basic input / output system can perform information settings for the target BIOS options based on the target configuration file.

[0023] According to another aspect of this application, a storage medium is provided that stores a computer program thereon, which, when executed by a processor, implements the above-described BIOS option setting method.

[0024] According to another aspect of this application, a computer device is provided, including a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor executes the program to implement the above-described BIOS option setting method.

[0025] By employing the above technical solutions, the BIOS option setting method, device, system, storage medium, and BIOS option setting terminal provided in this application dynamically extract BIOS option information from the human-machine interface infrastructure database and drive the generation of the setting interface. Through operation data capture, the accurate transmission of user setting intentions is ensured. By generating standardized target configuration files, differences in underlying storage interfaces are masked, and mutual exclusion risks are preemptively eliminated, ensuring protocol consistency of setting operations for upper-layer applications. This transforms identifiers that are difficult to correlate with options into a simple operation interface. Through the two steps of parsing data to generate the interface and automatically converting requests, maintenance personnel can operate without manually searching for data, reducing errors.

[0026] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description

[0027] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings: Figure 1 A flowchart illustrating a BIOS option setting method provided in an embodiment of this application is shown; Figure 2 A flowchart illustrating another BIOS option setting method provided in an embodiment of this application is shown; Figure 3 This paper shows a schematic diagram of the structure of a BIOS option setting system provided in an embodiment of this application; Figure 4 A flowchart illustrating another BIOS option setting method provided in an embodiment of this application is shown; Figure 5 This paper shows a schematic diagram of the structure of a BIOS option setting device provided in an embodiment of this application; Figure 6 This paper illustrates a schematic diagram of a BIOS option setting device provided in an embodiment of this application. Detailed Implementation

[0028] The present application will be described in detail below with reference to the accompanying drawings and embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in the embodiments of the present application can be combined with each other.

[0029] This embodiment provides a BIOS option setting method. The core process includes obtaining BIOS option information from the HII Database and creating a graphical settings interface; receiving user operation data on any option setting item on the interface to determine the target option and its new value; generating a target configuration file conforming to a preset protocol standard (such as Redfish) based on the target option and the new value; and finally, performing the actual information setting of the target BIOS option based on the configuration file. This method decouples the underlying identifier from the interface operation, enabling configuration modification based on option names. Figure 1 As shown, the method includes: Step 101: Obtain BIOS option information from the human-machine interface infrastructure database of the computer device, and create a BIOS settings interface based on the BIOS option information, wherein the BIOS settings interface includes at least one BIOS option setting item.

[0030] The Human-Machine Interface Infrastructure Database refers to a structured data set conforming to the UEFI Human-Machine Interface Infrastructure Protocol. It includes descriptive information such as form sets, string packets, fonts, and option constraints. This standardized organization allows BIOS options from different hardware platforms to be extracted in a unified format. The BIOS setup interface is a human-machine interaction interface generated based on option information, used to display configurable items to the user and receive intents.

[0031] In this step, the handle list is first traversed through the HII (Human Interface Infrastructure) database protocol interface provided by the UEFI firmware, all form sets are enumerated, and each problem node is converted into BIOS option information; or the VFR bytecode stored in the firmware file system is read directly and deserialized to obtain the option information. Based on the BIOS option information, a BIOS settings interface is created, displaying the settings items for each BIOS option.

[0032] In one optional embodiment, BIOS option information is obtained from the computer device's human-machine interface infrastructure database, and a BIOS settings interface is created based on the BIOS option information. This includes: during the BIOS startup process of the computer device, parsing the computer device's human-machine interface infrastructure database and extracting BIOS option information from the database; parsing the BIOS option information to obtain metadata for each BIOS option, wherein the metadata includes the identifier, name, and current value of the BIOS option; constructing settings items corresponding to each BIOS option based on the name and current value of each BIOS option, and associating the identifier of the BIOS option with the corresponding settings item; and creating a BIOS settings interface containing the settings items for each BIOS option.

[0033] In this embodiment, the HII Database is parsed during the BIOS startup process to extract BIOS option information. Metadata (including identifier, name, and current value) of each option is parsed from the information. Based on the name and current value, the corresponding settings for each option are constructed and the identifier is associated with the settings. Finally, a BIOS settings interface containing all settings is created.

[0034] Metadata refers to the structured description unit obtained after dereferencing BIOS option information. It contains the globally unique identifier MapStringId of the option, the user-visible name, and the current running value. This description unit decouples the upper-layer interface from the underlying storage space. Settings refer to the interactive controls in the interface that correspond one-to-one with individual BIOS options. For example, the name is rendered as a label, the current value is rendered as an adjustable state, and they are associated with the option identifier through internal handles.

[0035] In this embodiment, during the BIOS startup phase of the computer device, all handles are enumerated by traversing the HII database protocol interface to locate the form set containing the problem node and extract the original BIOS option information. The extracted information is then parsed item by item: a string package lookup function is called to convert indirect string references into user-visible names; the storage space is read to obtain the default value or saved value of the option as the current value; and the identifier is parsed by combining the constraint information in the option definition. For example, based on each piece of metadata, when constructing a setting item, the name is drawn as a left-side label or control title in the interface layout; the current value is converted into a switch state, a selected item in a drop-down list, or a numerical value and filled into the right-side operation area; simultaneously, the option identifier is filled into the context parameter of the control callback function, allowing subsequent operations to retrieve the target option through this identifier. After all setting items are constructed, they are arranged according to the original order of the form set or a preset priority to generate a window-style menu interface.

[0036] The beneficial effect is that, through the dynamic extraction and item-by-item parsing mechanism from the database, the BIOS setup interface can adapt to the option sets of different motherboards, avoiding the need to customize interface code for each platform.

[0037] In an optional embodiment, the metadata further includes optional value selection rules; based on the name and current value of each BIOS option, constructing setting items for each BIOS option includes: for any BIOS option, based on the optional value selection rules of the BIOS option, determining the setting item interface type of the BIOS option, and filling the interface template corresponding to the setting item interface type with the optional value selection rules, name, and current value of the BIOS option to obtain the setting item of the BIOS option; wherein, the optional value selection rules include a value range and a value requirement, and the setting item is used to prompt the user to fill in the option setting information according to the value requirement within the value range.

[0038] In this embodiment, the metadata also includes optional value rules (value range and value requirements). For each BIOS option, the setting item interface type (such as drop-down box, input box, etc.) is determined according to its value rules. Then, the optional value rules, name and current value are filled into the corresponding interface template to obtain the complete setting item, and the user is prompted to fill in the option setting information according to the value requirements within the value range.

[0039] The optional value selection rules refer to the constraints on the acceptable numerical values ​​of BIOS options, including two parts: the value range and the value requirements. These rules guide the interface on how adjustable options are presented and restrict user input. The value range specifies the legal boundaries of option values, such as a one-dimensional numerical range, a discrete enumeration set, or Boolean true / false pairs. The value requirements specify additional conditions that option values ​​must meet, such as integer step granularity, string regular expression patterns, or inter-option linkage constraints. The setting item interface type refers to the control form derived from the value selection rules, such as a spinner for numerical range rules, a drop-down list for enumeration set rules, and a checkbox for Boolean rules. The interface template refers to a pre-built visual control skeleton, reserving a name area, a current value area, an adjustment area, and a prompt label area, which can be reserved for metadata to form a complete setting item.

[0040] In this embodiment, for any BIOS option parsed from the human-machine interface infrastructure database, its selectable value rules are first read. For example, if the value range is a numerical interval and the value requirement includes a step value, the setting item interface type is determined to be a numerical adjustment control, and an interface template integrating a slider and a number input box is selected; the option name is filled into the template title, the current value is filled into the numerical display position, and the minimum, maximum, and step values ​​of the value range are written into the template's adjustment lower limit, upper limit, and step parameters, respectively; simultaneously, a value requirement prompt text is generated next to the control to guide the user to adjust within the interval according to the step value. If the value range is an enumerated value array, the interface type is determined to be a drop-down selection control, and an option list template is selected; the name is filled into the selection box's front label, the enumerated value array is traversed to generate option list items, and the option item corresponding to the current value is marked as selected; if the value requirement includes a mandatory selection constraint, the unselected state of the drop-down list is disabled. If the value selection rules include linkage constraints with other options as value selection requirements, then a linkage listener callback is embedded in the interface template of this setting item: when the value of the associated option changes, the value range or enable state of this option is dynamically adjusted according to the linkage constraint rules to prevent the user from selecting an invalid value under the current interface combination.

[0041] The beneficial effect is that by driving the interface type inference and template filling mechanism through value rules, different types of BIOS options can be presented with controls that best match their value semantics, reducing the probability of user misoperation.

[0042] Step 102: Receive operation data for any BIOS option setting item, and determine the target BIOS option to be set and the option setting information of the target BIOS option based on the operation data.

[0043] The target BIOS option refers to the specific configurable item mapped to the operation data, such as Hyper-Threading technology or boot order. Option setting information refers to the new value expected to be assigned to the target option, such as enabling / disabling or a specific device identifier.

[0044] In this step, user interaction data is received from the interface. For example, when a user selects an option and presses Enter in the BIOS setup interface, or clicks the save button via the web interface, the interaction event is intercepted, and the option handle of the currently focused control and the new value displayed on the page are extracted as interaction data. Based on the interaction data, the internal ID is searched in the mapping table between interface controls and options to determine the target BIOS option and its corresponding setting information.

[0045] Step 103: Generate a target configuration file that conforms to a preset protocol standard based on the target BIOS options and the option setting information.

[0046] The default protocol standard refers to the payload format specified in the UEFI Variable Service Specification or HII Configuration Routing Protocol, used to describe the structured expression of options and values. For example, Redfish is used as the default protocol standard. Redfish is a cross-vendor standardized remote management protocol for hardware such as servers, built on RESTful API and HTTP / HTTPS technologies. Its core function is to implement hardware status monitoring, configuration modification (such as BIOS option adjustment), and other maintenance operations. The target configuration file refers to a data unit generated according to the above standard, containing the identifier and new values ​​of the target BIOS options, for direct consumption by the firmware configuration module.

[0047] In this step, based on the UEFI global variable name and GUID corresponding to the target BIOS option, the option setting information is serialized into the binary payload required by the SetVariable interface, and encapsulated into a variable write request as the target configuration file. This standardized encapsulation in the protocol ensures that the target configuration file can be readily recognized by the underlying configuration processing program.

[0048] In an optional embodiment, the metadata further includes the BIOS variable name corresponding to the BIOS option and the position information of the BIOS option in the binary data structure of the BIOS variable; generating a target configuration file conforming to a preset protocol standard based on the target BIOS option and the option setting information includes: determining the target BIOS variable corresponding to the target BIOS option based on the identifier of the target BIOS option; obtaining the binary data structure variable data of the target BIOS variable, and modifying the corresponding position in the binary data structure variable data of the target BIOS variable to the option setting information based on the position information of the target BIOS option in the binary data structure of the target BIOS variable, thereby obtaining the execution variable data corresponding to the target BIOS option; and generating a target configuration file conforming to a preset protocol standard based on the target BIOS variable and the execution variable data.

[0049] In this embodiment, the metadata also includes the BIOS variable name corresponding to each BIOS option and the position information of the option in the variable binary data structure; when generating the configuration file, the target BIOS variable to which the target option belongs is determined according to the identifier of the target option, the complete binary data of the variable is obtained, the corresponding position is modified to a new value according to the position information to obtain the execution variable data, and then the configuration file is generated based on the target variable and the execution variable data.

[0050] The location information refers to the bit field offset and width description of the target BIOS option in the BIOS variable binary data structure. It is used to pinpoint the precise storage range of the option value within the variable's byte sequence, ensuring that local updates do not affect the storage bits of other options within the same variable. The binary data structure variable data refers to the original byte sequence of the variable read directly from NVRAM. Internally, it contains multiple option value fields densely arranged according to hardware definitions. This compact storage method saves firmware non-volatile storage space. The execution variable data refers to the new byte sequence obtained by replacing the option setting information with the corresponding bit fields of the variable data according to the location information. This sequence can be directly used as the data payload for variable write operations.

[0051] In this embodiment, the associated BIOS variable name and location information are first extracted from the metadata based on the identifier of the target BIOS option to determine the target BIOS variable. The UEFI runtime service GetVariable is called to read the current binary data structure variable data of the target BIOS variable, obtaining the complete original byte sequence. Based on the byte offset and bit field mask provided by the location information, the option setting information is converted into a binary value consistent with the bit field width. After clearing the corresponding mask area bit by bit, a bitwise OR operation is performed to embed the new value into the original byte sequence. When the location information indicates an integer byte field, a memory copy is directly used to overwrite the byte segment at the offset, and the modified data is then formed as the execution variable data. Finally, based on the target BIOS variable name and its identifier, the execution variable data is encapsulated into a variable write request conforming to a preset protocol standard as the target configuration file.

[0052] It's important to note that when retrieving BIOS option information, the BIOS extracts metadata for each option from the HII database, including its identifier, name, current value, optional value rules, variable name, and location information. Simultaneously, it reads the complete binary data of each BIOS variable based on its variable name and associates this complete binary data with the corresponding option identifier, then sends it back to the configuration client via the BMC. The configuration client receives this data and caches it according to the option identifier. When generating the target configuration file subsequently, the configuration client uses the target option identifier as an index to directly retrieve the complete binary data of the target BIOS variable, and then modifies the corresponding location with the option setting information based on the location information to obtain the execution variable data. Therefore, the configuration client does not need to request variable data from the BIOS again, ensuring data consistency and improving configuration file generation efficiency.

[0053] The beneficial effect is that the precise bit field modification mechanism guided by variable name and location information allows multiple BIOS options to share the same BIOS variable storage without interfering with each other. Each setting only updates the bit field corresponding to the target option, avoiding the risk of concurrent option value overwriting that may be caused by full variable rewriting.

[0054] Step 104: Perform information settings for the target BIOS options based on the target configuration file.

[0055] In this step, the UEFI runtime service `SetVariable` can be called to directly write the target configuration file to the NVRAM area. After successful writing, a variable change event is broadcast to notify the relevant driver to reload. Alternatively, the configuration file can be submitted to the `RouteConfig` callback implemented by the corresponding driver through the HII configuration routing protocol, and the driver will complete the hardware register update and ACPI table refresh. Under the management path involving the BMC, the configuration file is written to persistent storage and `SMI` is triggered via the `IPMI OEM` command. The final setup action is performed in the `SMI` handler.

[0056] By applying the technical solution of this embodiment, BIOS option information is dynamically extracted from the human-machine interface infrastructure database and used to drive the generation of the settings interface. Operational data capture ensures the accurate transmission of user setting intentions. Standardized target configuration file generation masks differences in underlying storage interfaces and preemptively eliminates mutual exclusion risks, ensuring protocol consistency of settings operations across upper-layer applications. This transforms difficult-to-match identifiers into a simple operation interface. Through data parsing to generate the interface and automatic request conversion, maintenance personnel can operate without manually searching for data, reducing errors.

[0057] Furthermore, as a refinement and extension of the specific implementation of the above embodiments, the BIOS setting execution information generated after execution (including at least the identifier and execution status of the target option, with the status being success or failure and an error code) is received, and detailed setting information (including option name, identifier, execution status, value before setting, and value after setting) is displayed in the visual feedback interface. The values ​​before and after setting can be obtained before execution, extracted from the execution information, or determined from the option setting information. In case of failure, an error description corresponding to the error code is also displayed. To fully illustrate the specific implementation process of this embodiment, another BIOS option setting method is provided, such as... Figure 2 As shown, the method includes: Step 201: Receive the BIOS setting execution information generated after the target configuration file is executed, wherein the BIOS setting execution information includes at least the identifier and execution status information of the target BIOS option, and the execution status information is either execution success information or execution failure information and execution failure error code.

[0058] The BIOS configuration execution information refers to the structured result data returned by the firmware after the BIOS configuration write operation is completed. It carries at least the identifier of the target BIOS option and execution status information. This returned data allows the configuration initiator to confirm the operation result without polling the memory space. The execution status information is a binary status flag. Successful execution indicates that the target configuration file has been completely written to non-volatile memory and the associated driver has adopted the new value. Failure information, combined with an error code, indicates the specific type of obstacle encountered during the write or activation process. The error code is a numeric or symbolic constant that encodes the reason for the failure, such as insufficient NVRAM space, denied variable write permission, hardware state conflict, or incorrect protocol format.

[0059] In this step, the return status can be synchronously obtained after calling the UEFI SetVariable service, and the return code and option identifier can be encapsulated together as BIOS setting execution information; or, after submitting the configuration file to the HII configuration route, the execution result and error code can be parsed from the return payload of the RouteConfig callback. For out-of-band management channels, BIOS setting execution information can also be extracted by the BMC through IPMI command response messages or the Task status returned by the Redfish Task Monitor. This allows the configuration initiator to promptly perceive the execution result of each BIOS option setting, providing a reliable data foundation for subsequent feedback and display.

[0060] Step 202: In the visual feedback interface, display the setting details of the target BIOS option; wherein, the detailed information includes the name, identifier, execution status information, pre-setting option value, and post-setting option value of the target BIOS option; the pre-setting option value is obtained by acquiring the current value of the target BIOS option before executing the target configuration file, or extracted from the BIOS setting execution information; the post-setting option value is determined by the option setting information of the target BIOS option, or extracted from the BIOS setting execution information; when the execution status information is the execution failure information and the error code, the visual feedback interface also displays the error description information corresponding to the error code.

[0061] The visual feedback interface refers to an interactive area that centrally presents the operation execution results in graphical or textual form. It aggregates and displays execution information from multiple settings, providing administrators with operation traceability capabilities. Detailed setting information includes the name, identifier, execution status information, pre-setting option value, and post-setting option value of the target BIOS option. This information comprehensively depicts the object of a single configuration change, its pre- and post-setting states, and the success or failure of the operation. The pre-setting option value refers to the current value of the option in the firmware before the target configuration file is executed; this can be actively cached before execution or carried from the execution information to avoid additional reading. The post-setting option value refers to the new value expected to be assigned in this operation; it is directly determined by the option setting information or extracted from the variable confirmation data after successful execution. Error description information refers to the readable text explanation corresponding to the error code, such as mapping error code 0x01 to insufficient NVRAM storage space. This mapping helps users quickly understand the cause of failure without consulting the technical manual.

[0062] In this step, after receiving the incoming BIOS setting execution information in the local graphical BIOS setup interface, the information is displayed so that users can easily view the BIOS setting execution status. For example, a feedback panel pops up at the bottom or side of the interface, displaying detailed information of each setting operation in a table format, row by row. When the execution status information is successful, a green checkmark icon is displayed at the beginning of the corresponding row, and the previous and subsequent option values ​​are filled into the same row. If the values ​​are the same, a "(unchanged)" prompt is added after the value. When the execution status information is failed, a red cross icon is displayed at the beginning of the row, and the error description information corresponding to the error code is searched from the firmware's built-in error code mapping table or HII string packet and displayed next to the status column. The target BIOS option is also highlighted so that users can quickly locate and retry. For the BMC-based web management interface, the feedback interface is a modal dialog box or notification bar within the webpage, using asynchronous request refresh to display detailed setting information, supporting filtering by time or status. The previous option value is extracted first from the execution information to reduce communication overhead with the BMC. If the execution information does not carry the value, the current value before execution of the target configuration file is read locally. If it still cannot be obtained, it is read back through an additional GetVariable request. When displayed in the serial terminal interface, the option [Hyper-Threading] is output as a line-by-line text message: Success, with the preceding value = Enabled and the following value = Disabled, etc. For failures, the error code and error description are printed together. If the error code lacks a corresponding description in the mapping table, an unknown error (0xNN) is displayed, and the original error code is recorded in the system event log to prevent information loss.

[0063] The visual feedback in this embodiment allows operators to clearly check the status and effectiveness of each BIOS option change at a glance; the textual mapping of error codes shortens the troubleshooting time when configuration fails and avoids repeated trial and error operations caused by missing information.

[0064] In an optional embodiment, after receiving the BIOS setting execution information generated after the target configuration file is executed, the method further includes: when the execution status information of the target BIOS option is the execution success information, updating the current value in the metadata of the target BIOS option based on the set option value corresponding to the target BIOS option, and updating the current value corresponding to the target BIOS option in the BIOS settings interface.

[0065] In this embodiment, when the execution status of the target option is successful, the current value in the metadata of the option is updated based on the set option value, and the current value display of the corresponding option in the BIOS settings interface is updated synchronously to ensure that the interface data is consistent with the underlying actual configuration.

[0066] Specifically, the system receives BIOS setup execution information generated after the target configuration file is executed. When the execution status information indicates successful execution, the system directly extracts the post-setting option value of the target BIOS option from the BIOS setup execution information. If the execution information only contains a success marker and does not carry the post-setting option value, the previously generated option setting information is used as the post-setting option value. First, metadata synchronization is performed: in the BIOS option metadata list in memory, the corresponding entry is located by the identifier of the target BIOS option, and the current value field of that entry is replaced with the post-setting option value. Simultaneously, interface synchronization is performed: the control tree of the BIOS setup interface is traversed, and the target setting item is matched according to the option identifier bound in the control context parameters. After a successful match, a differentiated value refresh is performed based on the setting item interface type. For example, for numeric adjustment controls, the slider position setting interface is called, and the text in the numeric input box is set to the post-setting option value; for drop-down selection controls, the selected index of the option list is set to the option item matching the new value; for checkbox controls, the checked state is switched to correspond to the new boolean value. After the refresh is completed, a partial interface redraw is triggered to ensure immediate visual responsiveness. When no matching item is found during the traversal of UI controls, it is determined that the current setting item is not rendered in the visible area. In this case, only metadata synchronization is performed, and the UI refresh operation is skipped to avoid the performance overhead of redrawing without a target. Subsequently, when the user scrolls or switches to a page containing the option, the UI framework rereads the current value from the metadata and automatically fills it in. If a new setting request occurs between the metadata update of the target BIOS option and the UI refresh, an update serial number comparison mechanism is introduced to overwrite the metadata only when the serial number matches, preventing the late success information of the old setting from overwriting the value of the new setting.

[0067] The beneficial effect is that it enables the BIOS setup interface to reflect the latest hardware status immediately after the configuration is successfully written, eliminating the operational misjudgment caused by the interface still displaying old values ​​even though the settings have taken effect.

[0068] In an optional embodiment, when the execution status information of the target BIOS option is the execution failure information and the error code, the detailed information of the target BIOS option is displayed in the visual feedback interface. The method further includes: creating a BIOS option setting retry control in the visual feedback interface based on the failed execution of the target BIOS option; responding to the trigger command of the BIOS option setting retry control, regenerating a target configuration file as a retry configuration file based on the target BIOS option and the option setting information, and performing information settings for the retry BIOS option based on the retry configuration file.

[0069] In this embodiment, when the target option fails to execute, a retry control is created for the failed option in the visual feedback interface; after the user triggers the control, the system automatically determines the target configuration file corresponding to the option as the retry configuration file and re-executes the information settings for the option.

[0070] The BIOS option setting retry control is an interactive element in the visual feedback interface bound to the failed BIOS option entry. It can take the form of a button, hyperlink, or triggerable command line. This control directly transforms the failure result into a re-execution entry point, reducing the steps required for the operator to switch interfaces and find the target option. The trigger command is a retry signal generated by the user through clicking, pressing Enter, or remote requests, carrying the identifier of the target BIOS option corresponding to the failed entry. The retry configuration file is a target configuration file that is directly reused from the original target configuration file or regenerated based on the latest option settings information in the current interface. This file continues the previously set value intent, ensuring that the retry operation is semantically consistent with the initial operation.

[0071] In this embodiment, when execution failure information is displayed in the visual feedback interface, a retry control is dynamically created for each failure entry. For example, in the graphical interface, a button marked "Retry" is generated at the end of the failure entry line, and the button's context parameter is bound to the target BIOS option identifier of the failure entry; in the web management interface, a reapply hyperlink is generated in the detailed information area of ​​the failure notification, and the link's request payload carries the option identifier and the original option setting information. Upon responding to the trigger command, a dual-path strategy is adopted for determining the retry configuration file: firstly, a configuration file matching the target BIOS option identifier is searched in the target configuration file cache temporarily stored in memory; if the cache is hit, it is directly reused as the retry configuration file, avoiding the overhead of re-parsing and encapsulation; if the cache has been cleared due to timeout or memory pressure, the complete process of steps 101 to 103 is re-executed to generate the retry configuration file. In this case, the set option values ​​retain the option setting information from the first attempt, and the user is no longer prompted to re-enter. Then, step 104 is called to set the information for the retry BIOS option, and the retry execution result is sent back to the visual feedback interface. The execution status information of the corresponding failed entry is updated. If the retry is successful, the entry status is switched to success and the retry control is removed. If it fails again, the retry control is retained and the error code and error description information are updated.

[0072] The beneficial effect is that by creating a retry control, the recovery operation after configuration failure can be completed directly in the feedback interface, eliminating the repetitive operation caused by locating the original settings and re-entering parameters.

[0073] In an optional embodiment, after receiving the BIOS setting execution information generated after the target configuration file is executed, the method further includes: generating and sending BIOS option notification information based on the BIOS setting execution information.

[0074] In this embodiment, BIOS option notification information is generated and sent based on BIOS setting execution information, realizing the proactive push of configuration modification results (such as email, Syslog, SNMP Trap, etc.).

[0075] Specifically, the system receives BIOS setting execution information generated after the target configuration file is executed, and generates BIOS option notification information based on this information. For example, the system extracts the identifier and execution status information of the target BIOS option from the execution information as the core notification payload. Simultaneously, it supplements the option values ​​before and after setting from the metadata cache or the execution information, and appends a timestamp provided by the firmware's real-time clock. The BIOS option notification information is then synchronized to the operation and maintenance log system, email notifications, or instant messaging tools to adapt to the non-real-time monitoring scenarios in remote operation and maintenance.

[0076] The beneficial effects are as follows: by proactively notifying users of information, the BIOS configuration change results break through the passive mode of traditional polling and querying. Subscribers can perceive the configuration dynamics in real time and trigger related responses, ensuring that administrators can be informed of configuration faults that require manual intervention as soon as possible.

[0077] Furthermore, as Figure 1 In terms of specific implementation, this application provides a BIOS option setting system, such as... Figure 3 As shown, the system includes: a BIOS option setting terminal, a baseboard management controller, and a basic input / output system; The BIOS option setting terminal is used to initiate a BIOS option information acquisition request to the basic input / output system through the baseboard management controller; The basic input / output system is used to parse the human-machine interface infrastructure database of the computer device during the BIOS startup process, extract BIOS option information from the human-machine interface infrastructure database and cache it, and when a BIOS option information retrieval request is received, feed back the cached BIOS option information to the BIOS option setting terminal through the baseboard management controller; The BIOS option setting terminal is also used to create a BIOS setting interface based on the BIOS option information, wherein the BIOS setting interface includes at least one BIOS option setting item; receive operation data for any BIOS option setting item, determine the target BIOS option to be set and the option setting information of the target BIOS option based on the operation data; generate a target configuration file conforming to a preset protocol standard according to the target BIOS option and the option setting information; and send the target configuration file to the baseboard management controller. The baseboard management controller is used to send the target configuration file to the basic input / output system; The basic input / output system is also used to perform information settings for the target BIOS options based on the target configuration file.

[0078] In an optional embodiment, the BIOS option setting terminal is further configured to: parse the computer device's human-machine interface infrastructure database during the BIOS startup process of the computer device, and extract BIOS option information from the human-machine interface infrastructure database; parse the BIOS option information to obtain metadata for each BIOS option, wherein the metadata includes the identifier, name, and current value corresponding to the BIOS option; construct setting items corresponding to each BIOS option based on the name and current value of each BIOS option, and associate the identifier of the BIOS option with the corresponding setting item; and create a BIOS setting interface containing the setting items of each BIOS option.

[0079] In an optional embodiment, the metadata further includes optional value selection rules; the BIOS option setting terminal is further configured to: for any BIOS option, based on the optional value selection rules of the BIOS option, determine the setting item interface type of the BIOS option, and fill the interface template corresponding to the setting item interface type with the optional value selection rules, name, and current value of the BIOS option to obtain the setting item of the BIOS option; wherein, the optional value selection rules include a value range and a value requirement, and the setting item is used to prompt the user to fill in the option setting information according to the value requirements within the value range.

[0080] In an optional embodiment, the metadata further includes the BIOS variable name corresponding to the BIOS option and the position information of the BIOS option in the binary data structure of the BIOS variable; the BIOS option setting terminal is further configured to: determine the target BIOS variable corresponding to the target BIOS option based on the identifier of the target BIOS option; obtain the binary data structure variable data of the target BIOS variable, and modify the corresponding position in the binary data structure variable data of the target BIOS variable to the option setting information based on the position information of the target BIOS option in the binary data structure of the target BIOS variable, thereby obtaining the execution variable data corresponding to the target BIOS option; and generate a target configuration file conforming to a preset protocol standard based on the target BIOS variable and the execution variable data.

[0081] In an optional embodiment, the basic input / output system is further configured to generate BIOS setting execution information based at least on the identifier and execution status information of the target BIOS option when the target configuration file execution ends, and send the BIOS setting execution information to the baseboard management controller, wherein the BIOS setting execution information includes at least the identifier and execution status information of the target BIOS option, and the execution status information is execution success information, or execution failure information and execution failure error code; The baseboard management controller is also used to send the BIOS setting execution information to the BIOS option setting terminal; The BIOS option setting terminal is also used to display detailed setting information of the target BIOS option in a visual feedback interface; wherein, the detailed information includes the name, identifier, execution status information, pre-setting option value, and post-setting option value of the target BIOS option; the pre-setting option value is obtained by acquiring the current value of the target BIOS option before executing the target configuration file, or extracted from the BIOS setting execution information; the post-setting option value is determined by the option setting information of the target BIOS option, or extracted from the BIOS setting execution information; when the execution status information is the execution failure information and the error code, the visual feedback interface also displays the error description information corresponding to the error code.

[0082] In an optional embodiment, the BIOS option setting terminal is further configured to: when the execution status information of the target BIOS option is the execution success information, update the current value in the metadata of the target BIOS option based on the set option value corresponding to the target BIOS option, and update the current value corresponding to the target BIOS option in the BIOS setting interface.

[0083] In an optional embodiment, the BIOS option setting terminal is further configured to: when the execution status information of the target BIOS option is the execution failure information and the error code, create a BIOS option setting retry control in the visual feedback interface according to the failed target BIOS option; in response to the triggering instruction of the BIOS option setting retry control, regenerate the target configuration file as a retry configuration file according to the target BIOS option and the option setting information; and send the retry configuration file to the baseboard management controller. The baseboard management controller is used to send the retry configuration file to the basic input / output system; The basic input / output system is also used to perform information settings for the target BIOS options based on the retry configuration file.

[0084] In an optional embodiment, the BIOS option setting terminal is further configured to: generate and send BIOS option notification information based on the BIOS setting execution information.

[0085] In a specific application scenario, combined with Figure 4 This article introduces the BIOS option settings system and the process of executing BIOS option settings: I. Overall Structure and Core Roles.

[0086] The diagram involves four core entities: Users (operations and maintenance personnel): Initiate BIOS option modification, query, and audit operations through the web or client interface.

[0087] Redfish Service Module (BIOS Option Settings): Deployed on the BMC side or a separate management node, it is responsible for data parsing, interface generation, configuration conversion, feedback visualization, and historical archiving.

[0088] BMC (Baseboard Management Controller): Acts as a bridge between Redfish and BIOS, responsible for pushing property files, configuration files, and forwarding modification requests.

[0089] BIOS (UEFI Firmware): Internally maintains the HII Database, which stores metadata for all BIOS Setup options (including: option identifier MapStringId, option name, current value, list of valid values, etc.) and performs the actual configuration modifications.

[0090] II. Graphical Configuration Section.

[0091] This section maps the abstract MapStringId to an intuitive BIOS Setup-style interface, allowing system administrators to complete operations without having to memorize or look up any internal identifiers.

[0092] 1. Data preparation and initialization (flow on the left side of the diagram).

[0093] Redfish module initialization: At startup, the Redfish service initiates a synchronization request to the BIOS through the BMC to obtain complete metadata of all BIOS options in the HII Database.

[0094] BMC pushes property files and current values: BMC pushes a property file containing information such as all options MapStringId, name, description, current value, and range of possible values, along with the current values ​​of each option, to the Redfish module.

[0095] BIOS Synchronization Settings: The BIOS responds to the BMC's request and returns complete HII data.

[0096] 2. Interface generation and configuration operations (left side of the Redfish box in the figure).

[0097] Parsing Redfish data: After receiving data pushed by BMC, the Redfish module parses it into structured internal objects.

[0098] Generate a BIOS Setup-like graphical interface: Based on the parsed option metadata, dynamically render a user-friendly web interface (such as drop-down menus, radio buttons, text boxes, etc.). Each control is bound to a corresponding MapStringId, but only human-readable option names (such as the boot mode ID, not the BootMode ID) are displayed on the interface.

[0099] Users can modify option values: Operations personnel can directly select or enter new values ​​on the interface without having to touch MapStringId at all.

[0100] Automatic configuration file generation: When a user submits changes, the Redfish module automatically converts the changes on the interface into a JSON configuration file that conforms to the Redfish protocol standard, which contains the MapStringId of the target option and the new value.

[0101] Pushing configuration files to the BIOS: After receiving the configuration file from the Redfish module, the BMC sends the configuration to the BIOS through an internal interface (such as PLDM, MCTP, or OEM commands). The BIOS matches and updates the corresponding options in the HII Database based on the MapStringId.

[0102] III. Visual Feedback Section.

[0103] After the configuration operation is completed, this section not only returns a status code, but also provides modification details, real-time push notifications, and historical traceability, improving the observability of operations and maintenance.

[0104] 1. Obtaining detailed information about the operation results (BMC → Redfish feedback process in the diagram).

[0105] After the BIOS completes the modification, the information returned to the BMC not only includes the status code, but this solution also extends the return structure to additionally carry the MapStringId of the modified option, the option name, the original value and the new value (or query it from the local cache by the BMC).

[0106] BMC encapsulates this detailed information and pushes it to the Redfish module.

[0107] 2. Generation of the visual feedback interface (right side of the Redfish box in the figure).

[0108] A visual feedback interface is generated based on the detailed information of the modified options: The Redfish module parses the received detailed results and generates a clear result display page, such as a table listing the option name, original value, new value, operation time, status (success / failure and error code) of each modification record, and highlights exceptions.

[0109] Users can immediately see all the details of the operation on the interface, not just whether it was a success or a failure.

[0110] 3. Historical archiving and auditing (below the Redfish box in the image).

[0111] Archived to historical modification structured logs: All operation records (including operator, time, values ​​before and after modification, status, request source IP, etc.) are persistently stored in a database or log system, forming a structured modification history.

[0112] Users can query, trace, and audit historical modifications: Operations and maintenance personnel can use the interface to search and view any historical modification records by time, option name, status, and other conditions, meeting the needs of compliance auditing and troubleshooting.

[0113] 4. Multi-channel push (not shown directly in the diagram).

[0114] In addition to the interface display, the solution can also push feedback information to the operation and maintenance platform via email, Syslog, SNMP Trap, etc., to achieve real-time alarms and notifications.

[0115] Ultimately, this solution abstracts the underlying MapStringId into an easy-to-understand interface through graphical configuration, reducing the operational threshold and the risk of misoperation. Visual feedback upgrades the rudimentary status codes into detailed modification reports and establishes a complete historical traceability system. The overall architecture is based on the Redfish protocol, utilizes the BMC as a relay, and fully leverages the data advantages of the BIOS HII Database to achieve easy-to-use, accurate, and auditable remote configuration management of server BIOS. Operations personnel do not need to remember or look up MapStringIds; they can complete configurations using intuitive names. Modification results are visible in real time, improving operational accuracy and shortening troubleshooting time. This achieves standardized configuration and traceable feedback for BIOS modification operations, meeting the standardized operational needs of large-scale server clusters and reducing communication costs across teams.

[0116] Furthermore, as Figure 1 In terms of specific implementation of the method, this application provides a BIOS option setting device, such as... Figure 5 As shown, the device includes: The interface creation module is used to obtain BIOS option information from the human-machine interface infrastructure database of the computer device, and create a BIOS settings interface based on the BIOS option information, wherein the BIOS settings interface includes at least one BIOS option setting item; The option setting module is used to receive operation data for any BIOS option setting item, and determine the target BIOS option to be set and the option setting information of the target BIOS option based on the operation data; The file generation module is used to generate a target configuration file that conforms to a preset protocol standard based on the target BIOS options and the option setting information. The sending module is used to send the target configuration file to the baseboard management controller, so that the baseboard management controller can distribute the target configuration file to the basic input / output system, so that the basic input / output system can perform information settings for the target BIOS options based on the target configuration file.

[0117] In an optional embodiment, the interface creation module is specifically configured to: during the BIOS startup process of a computer device, parse the human-machine interface infrastructure database of the computer device, extract BIOS option information from the human-machine interface infrastructure database; parse the BIOS option information to obtain metadata for each BIOS option, wherein the metadata includes the identifier, name, and current value corresponding to the BIOS option; construct settings items corresponding to each BIOS option based on the name and current value of each BIOS option, and associate the identifier of the BIOS option with the corresponding settings item; and create a BIOS settings interface containing the settings items of each BIOS option.

[0118] In an optional embodiment, the metadata further includes optional value selection rules; the interface creation module is specifically used to: for any BIOS option, based on the optional value selection rules of the BIOS option, determine the setting item interface type of the BIOS option, and fill the interface template corresponding to the setting item interface type with the optional value selection rules, name, and current value of the BIOS option to obtain the setting item of the BIOS option; wherein, the optional value selection rules include a value range and a value requirement, and the setting item is used to prompt the user to fill in the option setting information according to the value requirements within the value range.

[0119] In an optional embodiment, the metadata further includes the BIOS variable name corresponding to the BIOS option and the position information of the BIOS option in the binary data structure of the BIOS variable; the file generation module is specifically used for: determining the target BIOS variable corresponding to the target BIOS option based on the identifier of the target BIOS option; obtaining the binary data structure variable data of the target BIOS variable, and modifying the corresponding position in the binary data structure variable data of the target BIOS variable to the option setting information based on the position information of the target BIOS option in the binary data structure of the target BIOS variable, thereby obtaining the execution variable data corresponding to the target BIOS option; and generating a target configuration file conforming to a preset protocol standard based on the target BIOS variable and the execution variable data.

[0120] In an optional embodiment, the interface creation module is further configured to: The system receives BIOS setting execution information generated after the target configuration file is executed. The BIOS setting execution information includes at least the identifier of the target BIOS option and execution status information. The execution status information is either execution success information or execution failure information and execution failure error code. The visual feedback interface displays detailed settings information for the target BIOS option. This detailed information includes the target BIOS option's name, identifier, execution status information, pre-setting option value, and post-setting option value. The pre-setting option value is obtained by acquiring the target BIOS option's current value before executing the target configuration file, or extracted from the BIOS setting execution information. The post-setting option value is determined by the target BIOS option's option setting information, or extracted from the BIOS setting execution information. When the execution status information is the execution failure information and the error code, the visual feedback interface also displays the error description information corresponding to the error code.

[0121] In an optional embodiment, the interface creation module is further configured to: When the execution status information of the target BIOS option is the execution success information, the current value in the metadata of the target BIOS option is updated based on the set option value corresponding to the target BIOS option, and the current value corresponding to the target BIOS option in the BIOS settings interface is also updated.

[0122] In an optional embodiment, the interface creation module is further configured to: when the execution status information of the target BIOS option is the execution failure information and the error code, create a BIOS option setting retry control in the visual feedback interface according to the failed target BIOS option; respond to the triggering instruction of the BIOS option setting retry control, regenerate the target configuration file as a retry configuration file according to the target BIOS option and the option setting information, and perform information settings for the retry BIOS option based on the retry configuration file.

[0123] In an optional embodiment, the sending module is further configured to: generate and send BIOS option notification information based on the BIOS setting execution information.

[0124] It should be noted that other corresponding descriptions of the functional units involved in the BIOS option setting device provided in this application embodiment can be found in [reference]. Figures 1 to 4 The corresponding descriptions in the method will not be repeated here.

[0125] This application also provides a BIOS option setting interface, which can be a personal computer, network device, etc. Figure 6As shown, the BIOS option setting terminal includes a bus, processor, memory, and communication interface, and may also include input / output interfaces and a display device. The processor of the BIOS option setting terminal provides computing and control capabilities. The memory of the BIOS option setting terminal includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the BIOS option setting terminal stores location information. The network interface of the BIOS option setting terminal is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements the steps in the various method embodiments.

[0126] Those skilled in the art will understand that Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0127] In one embodiment, a computer-readable storage medium is provided, which may be non-volatile or volatile, having stored thereon a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0128] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0129] It should be noted that the user personal information involved in the embodiments of this application is all authorized (with the knowledge and consent) by the relevant parties or fully authorized by all parties, and the executing entity can obtain it through various legal and compliant means. The collection, storage, use, processing, transmission, provision, and disclosure of the information, data, and signals involved all comply with the relevant laws and regulations of the relevant countries and regions, and do not violate public order and good morals. It should be noted that if any software tools or components other than those of this company appear in the embodiments of this application, they are merely illustrative examples and do not represent actual use.

[0130] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, graphics processors, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0131] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0132] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for setting BIOS options, characterized in that, The method includes: Obtain BIOS option information from the human-machine interface infrastructure database of the computer device, and create a BIOS settings interface based on the BIOS option information, wherein the BIOS settings interface includes at least one BIOS option setting item; Receive operation data for any BIOS option setting item, and determine the target BIOS option to be set and the option setting information of the target BIOS option based on the operation data; Based on the target BIOS options and the option settings information, generate a target configuration file that conforms to a preset protocol standard; The target BIOS options are configured based on the target configuration file.

2. The method according to claim 1, characterized in that, Retrieve BIOS option information from the computer device's human-machine interface infrastructure database, and create a BIOS setup interface based on this information, including: During the BIOS boot process of a computer device, the human-machine interface infrastructure database of the computer device is parsed, and BIOS option information is extracted from the human-machine interface infrastructure database; The BIOS option information is parsed to obtain metadata for each BIOS option, wherein the metadata includes the identifier, name, and current value of the BIOS option. Based on the name and current value of each BIOS option, construct the corresponding setting item for each BIOS option, and associate the identifier of the BIOS option with the corresponding setting item; Create a BIOS setup interface that includes all BIOS option settings.

3. The method according to claim 2, characterized in that, The metadata also includes optional value selection rules; Based on the names and current values ​​of each BIOS option, construct the settings for each BIOS option, including: For any BIOS option, based on the optional value rules of the BIOS option, the setting item interface type of the BIOS option is determined. The optional value rules, name, and current value of the BIOS option are used to fill in the information of the interface template corresponding to the setting item interface type to obtain the setting item of the BIOS option. The optional value rules include the value range and the value requirements. The setting item is used to prompt the user to fill in the option setting information according to the value requirements within the value range.

4. The method according to claim 2, characterized in that, The metadata also includes the BIOS variable name corresponding to the BIOS option, and the position information of the BIOS option in the binary data structure of the BIOS variable; Based on the target BIOS options and the option settings information, a target configuration file conforming to a preset protocol standard is generated, including: Based on the identifier of the target BIOS option, determine the target BIOS variable corresponding to the target BIOS option; Obtain the binary data structure variable data of the target BIOS variable, and based on the position information of the target BIOS option in the binary data structure of the target BIOS variable, modify the corresponding position in the binary data structure variable data of the target BIOS variable to the option setting information, thereby obtaining the execution variable data corresponding to the target BIOS option; Based on the target BIOS variables and the execution variable data, a target configuration file conforming to a preset protocol standard is generated.

5. The method according to any one of claims 1 to 4, characterized in that, After setting the target BIOS options based on the target configuration file, the method further includes: The system receives BIOS setting execution information generated after the target configuration file is executed. The BIOS setting execution information includes at least the identifier of the target BIOS option and execution status information. The execution status information is either execution success information or execution failure information and execution failure error code. The visual feedback interface displays detailed settings information for the target BIOS option. This detailed information includes the target BIOS option's name, identifier, execution status information, pre-setting option value, and post-setting option value. The pre-setting option value is obtained by acquiring the target BIOS option's current value before executing the target configuration file, or extracted from the BIOS setting execution information. The post-setting option value is determined by the target BIOS option's option setting information, or extracted from the BIOS setting execution information. When the execution status information is the execution failure information and the error code, the visual feedback interface also displays the error description information corresponding to the error code.

6. The method according to claim 5, characterized in that, After receiving the BIOS setting execution information generated after the target configuration file is executed, the method further includes: When the execution status information of the target BIOS option is the execution success information, the current value in the metadata of the target BIOS option is updated based on the set option value corresponding to the target BIOS option, and the current value corresponding to the target BIOS option in the BIOS settings interface is also updated.

7. The method according to claim 5, characterized in that, When the execution status information of the target BIOS option is the execution failure information and the error code, the detailed information of the target BIOS option is displayed in the visual feedback interface, including: Based on the target BIOS option that failed to execute, a BIOS option setting retry control is created in the visual feedback interface; In response to the trigger command of the BIOS option setting retry control, a target configuration file is regenerated as a retry configuration file based on the target BIOS option and the option setting information, and the information settings of the retry BIOS option are executed based on the retry configuration file.

8. The method according to claim 5, characterized in that, After receiving the BIOS setting execution information generated after the target configuration file is executed, the method further includes: Based on the BIOS settings execution information, generate and send BIOS option notification information.

9. A BIOS option setting system, characterized in that, The system for performing the method as described in any one of claims 1 to 8 includes: BIOS option settings, board management controller, and basic input / output system; The BIOS option setting terminal is used to initiate a BIOS option information acquisition request to the basic input / output system through the baseboard management controller; The basic input / output system is used to parse the human-machine interface infrastructure database of the computer device during the BIOS startup process, extract BIOS option information from the human-machine interface infrastructure database and cache it, and when a BIOS option information retrieval request is received, feed back the cached BIOS option information to the BIOS option setting terminal through the baseboard management controller; The BIOS option setting terminal is also used to create a BIOS setting interface based on the BIOS option information, wherein the BIOS setting interface includes at least one BIOS option setting item; receive operation data for any BIOS option setting item, determine the target BIOS option to be set and the option setting information of the target BIOS option based on the operation data; generate a target configuration file conforming to a preset protocol standard according to the target BIOS option and the option setting information; and send the target configuration file to the baseboard management controller. The baseboard management controller is used to send the target configuration file to the basic input / output system; The basic input / output system is also used to perform information settings for the target BIOS options based on the target configuration file.

10. The system according to claim 9, characterized in that, The basic input / output system is further configured to generate BIOS setting execution information based at least on the identifier and execution status information of the target BIOS option when the target configuration file is executed, and send the BIOS setting execution information to the baseboard management controller. The BIOS setting execution information includes at least the identifier and execution status information of the target BIOS option, and the execution status information is execution success information, or execution failure information and execution failure error code. The baseboard management controller is also used to send the BIOS setting execution information to the BIOS option setting terminal; The BIOS option setting terminal is also used to display detailed setting information of the target BIOS option in a visual feedback interface; wherein, the detailed information includes the name, identifier, execution status information, pre-setting option value, and post-setting option value of the target BIOS option; the pre-setting option value is obtained by acquiring the current value of the target BIOS option before executing the target configuration file, or extracted from the BIOS setting execution information; the post-setting option value is determined by the option setting information of the target BIOS option, or extracted from the BIOS setting execution information; when the execution status information is the execution failure information and the error code, the visual feedback interface also displays the error description information corresponding to the error code.

11. A BIOS option setting device, characterized in that, The device includes: The interface creation module is used to obtain BIOS option information from the human-machine interface infrastructure database of the computer device, and create a BIOS settings interface based on the BIOS option information, wherein the BIOS settings interface includes at least one BIOS option setting item; The option setting module is used to receive operation data for any BIOS option setting item, and determine the target BIOS option to be set and the option setting information of the target BIOS option based on the operation data; The file generation module is used to generate a target configuration file that conforms to a preset protocol standard based on the target BIOS options and the option setting information. The sending module is used to send the target configuration file to the baseboard management controller, so that the baseboard management controller can distribute the target configuration file to the basic input / output system, so that the basic input / output system can perform information settings for the target BIOS options based on the target configuration file.

12. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 8.

13. A BIOS option setting terminal, comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, characterized in that, When the processor executes the computer program, it implements the following methods: Obtain BIOS option information from the human-machine interface infrastructure database of the computer device, and create a BIOS settings interface based on the BIOS option information, wherein the BIOS settings interface includes at least one BIOS option setting item; Receive operation data for any BIOS option setting item, and determine the target BIOS option to be set and the option setting information of the target BIOS option based on the operation data; Based on the target BIOS options and the option settings information, generate a target configuration file that conforms to a preset protocol standard; The target configuration file is sent to the baseboard management controller, which then distributes the target configuration file to the basic input / output system, so that the basic input / output system performs information settings for the target BIOS option based on the target configuration file.