Configuration updating method and device, equipment, medium and program product

By synchronizing BIOS configuration change data in real time through the management controller and using the effective parameter updates, the problem of BIOS configuration parameter synchronization delay is solved, the reliability and efficiency of configuration updates are improved, and the real-time and traceability of system management are enhanced.

CN120743379AActive Publication Date: 2025-10-03INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202511186757.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-22
Publication Date
2025-10-03
Estimated Expiration
2045-08-22

AI Technical Summary

Technical Problem

In the prior art, real-time synchronization of BIOS configuration parameters is difficult to achieve, resulting in configuration update delays, difficulty in ensuring reliability and consistency, and low overall management efficiency.

Method used

The management controller responds to the configuration change operation initiated by the front-end interface, sends the configuration change data to the BIOS in real time, and after receiving the update success mark, uses the effective configuration parameters provided by the BIOS to update the configuration data at startup, and provides a prompt message of successful configuration update in combination with the front-end interface.

Benefits of technology

It realizes dynamic and accurate update of BIOS configuration, improves the reliability, execution efficiency and management efficiency of system configuration, ensures the integrity and consistency of configuration changes, and enhances the human-computer interaction experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120743379A_ABST
    Figure CN120743379A_ABST
Patent Text Reader

Abstract

The invention provides a configuration updating method and device, equipment, a medium and a program product, which can be applied to the technical field of computers. The configuration updating method comprises the following steps: in response to a configuration change operation initiated by a target object through a front-end interface, sending acquired configuration change data to a basic input / output system, so that the basic input / output system performs configuration updating according to the configuration change data; under the condition that an updating success identifier returned by the basic input and output system is received, updating configuration data issued when the basic input and output system is started by utilizing effective configuration parameters which are provided by the basic input and output system and are related to configuration change operation; and returning prompt information of successful configuration updating to the target object through the front-end interface under the condition of determining that the configuration data updating is completed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a configuration updating method, apparatus, device, medium and program product. Background Art

[0002] In server management systems, the Basic Input / Output System (BIOS) is responsible for hardware initialization, operating system loading, and low-level system configuration management. Related technologies typically rely on the server operating system's management unit to monitor and modify BIOS configuration parameters.

[0003] In the process of realizing the concept of the present invention, it was found that the relevant technology has at least the following problems: in the process of monitoring and modifying BIOS configuration parameters through the management unit, since the parameters are difficult to synchronize in real time, not only will it cause delays in configuration updates, but it will also be difficult to ensure the reliability and consistency of configuration changes, and the overall management efficiency is low. Summary of the Invention

[0004] In view of the above problems, the present invention provides a configuration update method, apparatus, device, medium and program product.

[0005] According to a first aspect of the present invention, a configuration update method is provided, comprising: in response to a configuration change operation initiated by a target object through a front-end interface, sending acquired configuration change data to a basic input / output system, so that the basic input / output system performs a configuration update according to the configuration change data; upon receiving an update success indication returned by the basic input / output system, updating configuration data issued when the basic input / output system is started using effective configuration parameters related to the configuration change operation provided by the basic input / output system; and upon determining that the configuration data update is complete, returning a prompt message indicating a successful configuration update to the target object through the front-end interface.

[0006] The second aspect of the present invention provides a configuration update device, comprising: a data sending module for sending the acquired configuration change data to a basic input / output system in response to a configuration change operation initiated by a target object through a front-end interface, so that the basic input / output system performs a configuration update according to the configuration change data; a configuration update module for, upon receiving an update success identifier returned by the basic input / output system, using effective configuration parameters related to the configuration change operation provided by the basic input / output system to update the configuration data issued when the basic input / output system is started; and an update prompt module for returning a prompt message of successful configuration update to the target object through the front-end interface upon determining that the configuration data update is completed.

[0007] A third aspect of the present invention provides an electronic device, comprising: one or more processors; and a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the above method.

[0008] The fourth aspect of the present invention further provides a computer-readable storage medium having a computer program or instructions stored thereon, which implements the steps of the above method when the computer program or instructions are executed by a processor.

[0009] The fifth aspect of the present invention further provides a computer program product, comprising a computer program or instructions, which implement the steps of the above method when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The above contents and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:

[0011] Figure 1 An application scenario diagram of the configuration update method, apparatus, device, medium, and program product according to an embodiment of the present invention is shown.

[0012] Figure 2 A flowchart of a configuration update method according to an embodiment of the present invention is shown.

[0013] Figure 3 A schematic diagram of data transmission of a configuration update method according to an embodiment of the present invention is shown.

[0014] Figure 4 A configuration modification flow chart of a configuration update method according to an embodiment of the present invention is shown.

[0015] Figure 5 A configuration new addition flow chart of a configuration update method according to an embodiment of the present invention is shown.

[0016] Figure 6 A schematic diagram of a front-end interface of a configuration update method according to an embodiment of the present invention is shown.

[0017] Figure 7 A structural block diagram of a configuration updating device according to an embodiment of the present invention is shown.

[0018] Figure 8 A block diagram of an electronic device suitable for implementing a configuration update method according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0019] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present invention. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of embodiments of the present invention. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concept of the present invention.

[0020] The terms used herein are only for describing specific embodiments and are not intended to limit the present invention. The terms "comprise", "include", etc. used herein indicate the presence of the features, steps, operations and / or components, but do not exclude the presence or addition of one or more other features, steps, operations or components.

[0021] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0022] When expressions such as "at least one of A, B, and C, etc." are used, they should generally be interpreted in accordance with the meaning commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0023] In the technical solution of the present invention, the data involved (including but not limited to data used for analysis, stored data, displayed data, etc.) are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with relevant laws, regulations and standards, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0024] An embodiment of the present invention provides a configuration update method, comprising: in response to a configuration change operation initiated by a target object through a front-end interface, sending acquired configuration change data to a basic input / output system, so that the basic input / output system performs a configuration update according to the configuration change data; upon receiving an update success identifier returned by the basic input / output system, using effective configuration parameters related to the configuration change operation provided by the basic input / output system to update the configuration data issued when the basic input / output system is started; and upon determining that the configuration data update is complete, returning a prompt message indicating that the configuration update is successful to the target object through the front-end interface.

[0025] Figure 1 An application scenario diagram of the configuration update method, apparatus, device, medium, and program product according to an embodiment of the present invention is shown.

[0026] like Figure 1 As shown, the application scenario according to this embodiment may include a management controller 101 and a basic input and output system 102. The management controller 101 includes a protocol layer 1011 and a communication layer 1012.

[0027] The management controller 101 and the basic input / output system 102 can communicate and interact via an internal bus or a dedicated interface. The management controller 101 is responsible for system management functions, while its protocol layer 1011 handles communication protocols and its communication layer 1012 is responsible for data transmission. The basic input / output system 102 provides low-level hardware operation support.

[0028] It should be noted that the configuration updating method provided in the embodiment of the present invention is executed by the management controller 101. Accordingly, the configuration updating apparatus provided in the embodiment of the present invention is provided in the management controller 101.

[0029] It should be understood that Figure 1 The number of protocol layers and communication layers is merely illustrative. Any number of protocol layers and communication layers may be provided as required.

[0030] The following will be based on Figure 1 The scene described by Figures 2 to 6 The configuration updating method of the embodiment of the present invention is described in detail.

[0031] Figure 2 A flowchart of a configuration update method according to an embodiment of the present invention is shown.

[0032] like Figure 2 As shown, the configuration update method of this embodiment includes operations S210 to S230.

[0033] In operation S210 , in response to a configuration change operation initiated by a target object through a front-end interface, the acquired configuration change data is sent to a basic input / output system, so that the basic input / output system performs configuration update according to the configuration change data.

[0034] In operation S220, when an update success flag returned by the BIOS is received, the configuration data issued when the BIOS is started is updated using the effective configuration parameters related to the configuration change operation provided by the BIOS.

[0035] In operation S230 , when it is determined that the configuration data update is completed, a prompt message indicating that the configuration update is successful is returned to the target object through the front-end interface.

[0036] According to embodiments of the present invention, during computer system operation, the Basic Input / Output System (BIOS) plays a crucial role in hardware initialization and configuration management. Its configuration parameters directly impact the system's boot process, hardware compatibility, and operational performance. To meet user needs for customized system functionality or adapt to specific application scenarios, it's often necessary to allow users to adjust BIOS configurations through the management controller's front-end interface.

[0037] When a target initiates a configuration change through the front-end interface, the system retrieves the corresponding configuration change data. This data includes the configuration parameters added, modified, or deleted by the target. After confirming that the configuration change data meets system requirements, the system sends the configuration change data to the BIOS.

[0038] After sending the configuration change data to the BIOS, wait for the BIOS's processing result. Receiving a successful update indicator from the BIOS indicates that the configuration change has been completed at the BIOS level. At this point, the BIOS needs to retrieve the effective configuration parameters associated with this configuration change. These effective configuration parameters are the latest configuration parameters actually applied by the BIOS and may differ slightly from the parameters submitted by the target user through the front-end interface, such as compatibility values ​​automatically adjusted by the system.

[0039] Using the acquired effective configuration parameters, the configuration data in the local storage unit is updated. This local configuration data is typically distributed and cached during BIOS startup, used for front-end interface display and reference for subsequent operations. The update process must ensure data accuracy and integrity, which may involve data format conversion and storage structure adjustments to ensure that the local data remains consistent with the actual BIOS configuration.

[0040] After confirming that the local storage unit's configuration data has been updated, a prompt message indicating the successful configuration update is generated. This prompt message is presented to the target object in an intuitive manner through the front-end interface, which may include a pop-up prompt, an updated status label, or a success page display, clearly informing the target object that the configuration change has taken effect. It may also display the updated key configuration parameters to facilitate the target object to confirm the operation results.

[0041] By responding to configuration change operations initiated through the front-end interface, the acquired configuration change data is synchronized to the basic input and output system in real time, ensuring dynamic and accurate updates of the system configuration. Through the real-time parsing and processing of configuration change data by the basic input and output system, the coordinated optimization of configuration parameters at the hardware and software layers is effectively achieved, significantly improving the reliability and execution efficiency of system configuration updates. After receiving the update success indicator returned by the system, the startup configuration data is automatically refreshed based on the effective configuration parameters, which not only ensures the integrity and consistency of the configuration changes, but also enhances the real-time and traceability of system configuration management. The visual feedback mechanism triggered by the front-end interface provides the target object with clear confirmation of the operation results, improving the human-computer interaction experience and enhancing the efficiency of system configuration management.

[0042] According to an embodiment of the present invention, the acquired configuration change data is sent to the basic input / output system, including: when it is determined that the configuration change data passes the pre-verification of the front-end interface, the configuration change data is converted into an operation command, and the operation command is sent to the basic input / output system.

[0043] After the target object submits a configuration change through the front-end interface, a pre-verification mechanism is initiated. This process performs a real-time and comprehensive check of the configuration change data based on a pre-set rule base. This includes precise verification of parameter value ranges, intelligent determination of compatibility between different configuration items, and strict confirmation of operational permissions. During the pre-verification process, dynamic feedback on the verification progress and specific results is provided. For example, non-compliant configuration items are marked in real time on the front-end interface with correction suggestions. Pre-verification of configuration change data effectively guides the target object to adjust its input, ensuring that the changes comply with the fundamental constraints of system operation from the source.

[0044] After confirming that the configuration change data has passed pre-verification on the front-end interface, the front-end interface displays a status prompt indicating "Processing configuration commands." Based on the command formats and protocol specifications recognizable by the BIOS, the verified configuration change data is mapped to corresponding operation commands. This conversion process requires efficient data format adaptation, such as quickly converting key-value pairs passed by the front-end into binary commands or specific text commands that the BIOS can parse, and ensuring that the commands contain the necessary operation identifiers and verification information to ensure the uniqueness and accuracy of the commands.

[0045] After the command is constructed, it is securely sent to the BIOS via a stable underlying communication channel. During this process, the front-end interface displays the "Sending command to system" status in real time, and a progress bar visually displays the progress of the command delivery. This communication process utilizes reliable hardware management protocols such as the Intelligent Platform Management Interface (IPMI) to ensure that the command is delivered intact and error-free to the BIOS.

[0046] The management controller also activates an intelligent timeout monitoring mechanism. If it fails to receive a BIOS confirmation within the specified time, it automatically triggers a limited number of retries and updates the retry status in real time on the front-end interface. If multiple retries fail, the specific cause of the communication anomaly and a suggested solution are clearly provided to the target user. This not only ensures the effective delivery of configuration change instructions, but also enhances the user experience through transparent process feedback.

[0047] According to an embodiment of the present invention, converting configuration change data into an operation command and sending the operation command to a basic input / output system includes: calling hardware management software to convert the configuration change data into an operation command through a hardware management protocol layer; transmitting the operation command to a hardware management interface through a communication interface layer, so that the hardware management interface sends the operation command to the basic input / output system.

[0048] The management controller first triggers a call to the hardware management software, which acts as an intermediate processing layer, connecting front-end configuration data with the underlying hardware instruction system. During this call, the pre-verified configuration change data is fully transmitted to the hardware management software, including the specific configuration items modified for the target object, the target parameter values, and relevant context information, ensuring that the hardware management software accurately understands the intended configuration adjustment.

[0049] After receiving configuration change data, the hardware management software invokes the built-in protocol conversion module to convert the configuration change data into operation commands through the hardware management protocol layer. This process strictly adheres to specific hardware management protocol specifications, such as IPMI or vendor-defined protocols, mapping structured configuration change data into protocol-compliant operation commands. The conversion process includes padding protocol fields, data type adaptation, and secondary verification of command validity to ensure that the generated operation commands can be correctly recognized and parsed by the underlying hardware interface.

[0050] After generating the operation command, the communication interface layer establishes a connection with the hardware management interface. This layer may use a physical connection method such as a network interface, selecting the optimal transmission path based on the hardware architecture. During the data transmission phase, the communication interface layer encapsulates the operation command and adds necessary transmission control information and checksums to ensure the integrity and security of the command during transmission.

[0051] Finally, the communication interface layer sends the encapsulated operation command to the hardware management interface. As a bridge for direct interaction with the BIOS, the hardware management interface forwards the received operation command to the configuration processing module within the BIOS according to the firmware communication specification, thereby triggering the BIOS to update the corresponding configuration parameters, completing the complete chain from user configuration operation to hardware firmware parameter adjustment.

[0052] Figure 3 A schematic diagram of data transmission of a configuration update method according to an embodiment of the present invention is shown.

[0053] like Figure 3 As shown, during the configuration update process, a complete data exchange link is established through the management controller 301, the preset communication channel 304, the basic input and output system 302, and the hardware management interface 303. Specifically, when the basic input and output system 302 is started, it sends the configuration data to the management controller 301 through the preset communication channel 304. After receiving the configuration data, the management controller 301 sends the corresponding configuration change data back to the basic input and output system 302 through the hardware management interface 303 based on the configuration change operation performed on the configuration data by the target object.

[0054] After the configuration update is completed, the basic input and output system 302 returns the update success flag and the effective configuration parameters to the management controller 301 through the hardware management interface 303, thereby achieving bidirectional synchronization of the configuration.

[0055] Through the intermediary role of the hardware management interface 303, an indirect interaction mode is formed between the management controller 301 and the basic input and output system 302. This mode effectively avoids the signal interference and permission conflicts that may be caused by direct connection between the two, and significantly improves the stability of system operation.

[0056] According to an embodiment of the present invention, the configuration update method also includes: upon receiving the configuration data sent down through a preset communication channel when the basic input and output system is started, performing an integrity check on the configuration data; if the check passes, performing a content comparison between the configuration data and the historical configuration in the local storage unit to obtain a comparison result; if the comparison result indicates a difference, backing up the historical configuration and writing the configuration data to the local storage unit.

[0057] When the BIOS is detected booting up and sending configuration data through the pre-set communication channel, the receiving mechanism is immediately triggered to ensure that the configuration data is received completely. After reception is complete, an integrity check process is immediately initiated, typically using a hash algorithm to verify data consistency. If the check fails, it indicates that the configuration data may be corrupted or transmitted abnormally, and the re-receiving mechanism is immediately triggered.

[0058] If the verification passes, the historical configuration in the local storage unit is automatically retrieved for content comparison. The comparison process combines block verification with targeted comparison of key fields, checking the consistency of the overall configuration structure and focusing on verifying the matching of core parameters.

[0059] If the comparison results confirm a discrepancy, the historical configuration is backed up. The historical configuration is compressed, encrypted, and stored locally in a specified path. A backup identifier containing a timestamp and version number is generated. The newly received configuration data is then written to the local storage unit according to a pre-set storage structure (e.g., JSON format), overwriting the original configuration while preserving version traceability information.

[0060] By comparing the configuration data received from the BIOS with the historical configuration after startup, and backing up the historical configuration and updating it if there are any differences, a closed-loop control of configuration data verification, comparison and update is achieved.

[0061] According to an embodiment of the present invention, the configuration parameters in the configuration data are selected from a candidate parameter set after analyzing the real-time operation load data and historical configuration operation records of the basic input and output system through a target algorithm.

[0062] After the server is powered on, the BIOS performs a power-on self-test (POST). At a specific point before the POST ends (for example, after all dynamically changing configuration parameters have been updated), it collects commonly used, modifiable configuration parameters for the target object. Specifically, the BIOS selects the configuration parameters from the candidate parameter set based on pre-defined rules.

[0063] The BIOS also collects real-time load data, including dynamic metrics like processor utilization, memory usage, hardware response speed, and power consumption. It also captures historical configuration operation records, including the details of each parameter adjustment, execution time, system status changes before and after the adjustment, and related feedback. Using artificial intelligence algorithms, these real-time load data and historical configuration operation records are fed into the target algorithm for in-depth analysis.

[0064] The targeted algorithm combines statistical analysis with intelligent learning models to extract features from real-time load data, identifying system bottlenecks, resource allocation status, and potential optimization opportunities. It also mines patterns in historical configuration operation records, summarizing the correlations between different configuration combinations and system performance, identifying the common characteristics of effective configuration strategies, and learning from user operating habits and preferences. This multi-dimensional analysis more accurately identifies areas of the system requiring optimization, identifies appropriate configuration parameter adjustments, and predicts potential user configuration needs.

[0065] After completing the data analysis, the targeting algorithm uses the analysis results to screen and evaluate candidate parameter sets encompassing the legal value ranges and combinations of all BIOS configurable items. Based on real-time load data, historical configuration operation records, and user operating habits, the targeting algorithm prioritizes those modifiable configuration parameters from the candidate set that are predicted to effectively improve current system performance, enhance stability, or reduce resource consumption, and that are consistent with user usage habits. This ensures both system compatibility and the convenience of user configuration operations.

[0066] According to an embodiment of the present invention, the configuration update method also includes: responding to a configuration display request triggered by the target object through the front-end interface, parsing the configuration data according to a preset encapsulation specification to obtain multiple option parameters; constructing a hierarchical directory based on the path identification field in each option parameter and the preset directory hierarchical logic of the basic input and output system, and displaying it in the front-end interface; wherein the hierarchical directory includes directory nodes at multiple levels, and each directory node is associated with a corresponding set of option parameters.

[0067] When the target object triggers a configuration display request through the front-end interface, the front-end interface will display a loading status and a prompt saying "Loading configuration options." The management controller performs structured parsing of the configuration data in the local storage unit according to the preset packaging specifications, breaking the complete configuration data set into multiple independent option parameters. Each option parameter includes complete attributes such as path identifier, parameter name, current value, optional range, and description information. If any data format anomalies are found during the parsing process, fault tolerance processing will be automatically performed and logs will be recorded in the background to ensure that the front-end display is not affected.

[0068] After the parsing is completed, the construction of the hierarchical directory is started based on the path identification field in each option parameter and the directory classification logic preset by the BIOS. The path identification field usually records the hierarchical relationship of the parameters in a format similar to the file path, such as "Advanced Settings / Processor Configuration / Virtualization Technology". The path hierarchy is split by identifying the separator, and then compared with the standard directory structure of the BIOS (such as the first-level directories such as basic settings, advanced settings, security settings, and the sub-fields under each first-level directory), a complete directory tree from the root node to the last-level node is automatically established. During the construction process, the directory nodes will be deduplicated and merged to ensure that the same category nodes at the same level are only displayed once to avoid interface redundancy.

[0069] Once the hierarchical directory is constructed, the front-end interface displays this structure in the form of a navigation tree or folding panel. Each directory node will be displayed with the corresponding configuration parameter quantity, such as "Processor Configuration (8)", which helps the target user quickly understand the scale of options contained in each node. When the target user clicks a directory node, the front-end interface will display the set of option parameters associated with the directory node.

[0070] When a target triggers a configuration change by browsing the hierarchy, the front-end interface displays a status message indicating "Processing configuration instructions." The target can wait for the operation to complete. After the configuration change is complete, the corresponding node information in the hierarchy is updated to reflect the latest configuration parameters.

[0071] By building a hierarchical directory and displaying it in an intuitive way, it not only improves the navigation efficiency of target objects in complex configuration environments, but also enhances the transparency and ease of configuration management.

[0072] According to an embodiment of the present invention, the configuration update method further includes: upon receiving an update success identifier returned by the basic input / output system, updating option parameters in the hierarchical directory based on the updated configuration data to complete the refresh of the front-end interface.

[0073] When the BIOS returns a successful update indicator, the system retrieves the latest configuration data from the local storage unit, extracts all required option parameters, and updates the hierarchical directory accordingly. After completing the update of all relevant option parameters, the front-end interface is partially refreshed to ensure that the target user can immediately see the latest configuration status when browsing the corresponding directory node.

[0074] At the same time, the confirmation message "Configuration updated" is displayed at the top of the front-end interface, which makes it easier for the target object to know the result of the configuration parameter change, and effectively realizes the real-time linkage between configuration data update and front-end interface display.

[0075] According to an embodiment of the present invention, when it is determined that the configuration change operation is a modification operation, the obtained configuration change data is sent to the basic input and output system, including: when it is determined that the verification result of the configuration change data by the front-end interface indicates that the modified parameters are different from the current parameters, the configuration change data is sent to the basic input and output system, causing the basic input and output system to perform a system interrupt operation, and calling the configuration engine to update the configuration parameters based on the configuration change data.

[0076] When it is determined that the configuration change operation initiated by the target object is a modification operation, a targeted verification is performed on the configuration change data submitted to the front-end interface. Specifically, the modification parameters entered by the target object through the drop-down box or input box are compared with the values ​​of the current parameters, and a precise comparison at the field level is performed to determine whether there are substantial differences. If the verification result shows that the two are completely consistent, the front-end interface prompts "No parameter changes detected", and there is no need to execute the subsequent data sending process. If a difference is confirmed, the operation of sending the configuration change data to the BIOS is triggered.

[0077] After sending the configuration change data to the BIOS, the BIOS will immediately execute a system interrupt operation, suspend the current non-critical processes to prioritize the configuration update, and at the same time ensure that the processor allocates resources to the configuration modification task through the hardware interrupt signal.

[0078] The BIOS then calls the configuration engine to perform a second verification of the modified configuration parameters according to the preset parameter update rules to confirm that they meet the hardware's safety thresholds and compatibility requirements. The BIOS then performs the actual parameter write operation, overwriting the original configuration parameters. Throughout this process, the configuration engine records the modification steps and intermediate states in real time, ensuring that in the event of an anomaly, it can be traced back to the stable state before the modification, thus ensuring the security and reliability of the system configuration update. By verifying configuration change data, it can effectively reduce the waste of unnecessary resources and efficiently handle configuration change operations.

[0079] According to an embodiment of the present invention, effective configuration parameters related to configuration change operations provided by the basic input / output system are used to update the configuration data sent when the basic input / output system is started, including: based on the effective configuration parameters, performing an update operation on the target field in the configuration data, while maintaining the original state of other fields in the configuration data.

[0080] After obtaining the effective configuration parameters returned by the BIOS, the system performs a structured analysis of the effective configuration parameters, extracting the parameter identifiers, updated values, and related attribute information contained therein to identify the specific content that needs to be adjusted in the configuration data. Simultaneously, the storage area for the configuration data is locked to prevent data read and write conflicts during the update process and ensure the atomicity of the operation.

[0081] Based on the parameter identifier in the effective configuration parameters, the corresponding target field is accurately located in the configuration data. Specifically, this can be achieved by matching unique identifiers to ensure that each field that needs to be updated can be accurately found, avoiding incorrect operations caused by similar parameter names or paths. After finding the target field, only the value and related status information of the target field are updated, replacing them with the latest value in the effective configuration parameters, while retaining the basic attributes of the field (such as data type, description information, etc.) unchanged. In the process of updating the target field, other unrelated fields in the configuration data are strictly kept in their original state, neither changing their values ​​nor adjusting their storage locations or associations.

[0082] After the update is complete, an integrity check is performed on the configuration data to confirm that the target fields have been correctly updated and other fields have not been affected. If the check passes, the storage area is unlocked and a status record of the update completion is generated, providing a basis for subsequent interface refreshes and operation tracing. Through precise positioning and local update mechanisms, while ensuring the accuracy of configuration data, interference with the overall data structure is minimized, improving update efficiency.

[0083] Figure 4 A configuration modification flow chart of a configuration update method according to an embodiment of the present invention is shown.

[0084] like Figure 4 As shown, the configuration modification process of this embodiment includes operations S410 to S470.

[0085] In operation S410, the parameters to be modified are determined. In operation S420, an operation instruction is sent. In operation S430, a system interrupt is performed. In operation S440, the configuration parameters are updated. In operation S450, an update success indicator is returned. In operation S460, the configuration data is backed up and updated. In operation S470, the front-end interface is refreshed.

[0086] According to an embodiment of the present invention, the management controller determines that parameters need to be modified based on the user's configuration change operation, and then sends an operation instruction containing parameter modification information to the basic input and output system, thereby starting the configuration update process.

[0087] After receiving the operation instruction, the BIOS will execute a system interrupt operation, pausing the current system operation to avoid data conflicts when updating configuration parameters and ensure the stability of the update environment. During the system interruption state, the BIOS will update the corresponding configuration parameters to modify the system configuration and ensure the accuracy of the configuration.

[0088] After completing the configuration parameter update, the Basic Input / Output System returns a successful update flag to the management controller. Upon receiving this flag, the management controller backs up the existing configuration data and performs the update, ensuring data security and preventing data loss due to update failures. Finally, the management controller refreshes the front-end interface, allowing users to intuitively view the results of the configuration update, improving the user experience.

[0089] According to an embodiment of the present invention, when it is determined that the configuration change operation is a new operation, the obtained configuration change data is sent to the basic input and output system, including: when it is determined that the verification result of the configuration change data by the front-end interface indicates that the new option conforms to a preset format, the configuration change data is sent to the basic input and output system so that the basic input and output system performs a system interrupt operation and verifies the validity of the new option. If it is determined to be valid, configuration parameters related to the new option are added.

[0090] When the configuration change operation initiated by the target object is determined to be a new operation, the configuration change data is formatted through the front-end interface. The verification process checks the parameter name, data type, value range, associated path, and other information of the newly added option based on the preset format specifications to ensure that they meet system requirements. For example, it verifies whether the parameter name contains illegal characters and whether the data type matches the configuration category to which it belongs. If the verification detects a format anomaly, the front-end interface will immediately prompt the specific error item and corrective suggestions. If the verification passes and confirms that the newly added option conforms to the preset format, the process of sending the configuration change data to the BIOS is triggered.

[0091] Upon receiving a new request, the BIOS immediately interrupts the system, suspending non-essential processes and prioritizing processing resources for the new configuration operation to ensure a timely response. The BIOS then verifies the validity of the new option. This process not only checks the compliance of the parameter format but also further verifies the compatibility of the new option with the existing configuration system. Specifically, it determines whether the new parameter conflicts with existing parameters, whether it conforms to the physical characteristics of the hardware device, and whether it will affect the stability of the system's core functions.

[0092] If the validity verification passes, the BIOS assigns a unique identifier and storage address to the newly added option. It also writes the default parameter value, configurable range, dependencies, and other information of the newly added option to the configuration storage area, and updates the configuration index table to include the access path of the new option. After the addition is complete, the BIOS generates confirmation data containing complete information about the newly added option, returns it to the management controller through the original communication channel, and displays it through the front-end interface, ensuring consistency between the newly added configuration at the firmware level and the front-end display level, thereby achieving compliance management and accurate configuration of the new option.

[0093] According to an embodiment of the present invention, the configuration update method further includes: upon receiving information returned by the basic input / output system indicating that the newly added option is invalid, returning a prompt message indicating that the addition failed to the target object through the front-end interface.

[0094] When receiving information returned by the BIOS indicating that a newly added option is invalid, the specific reasons contained in the information are immediately analyzed, such as conflict with existing configuration, non-compliance with hardware feature limitations, or exceeding the system support range, and these technical reasons are converted into natural language descriptions.

[0095] The front-end interface triggers a notification mechanism, displaying a pop-up window indicating the failed addition. In addition to the clear "Add configuration failed" prompt, the pop-up window also details the reason for the failure, such as "This option is incompatible with the current processor model" or "A configuration item with the same identifier already exists." It also provides targeted suggestions, such as "Please modify the option name or select other compatible parameters."

[0096] After detecting that the target object has closed the pop-up window, the front-end interface will automatically retain the information of the newly added options previously entered by the target object to avoid data loss, making it convenient for the target object to directly adjust the content according to the prompts and reducing the tediousness of repetitive operations.

[0097] According to an embodiment of the present invention, the configuration data issued when the basic input / output system is started is updated using the effective configuration parameters related to the configuration change operation provided by the basic input / output system, including: adding the mapping relationship between the newly added options and the corresponding effective configuration parameters to the configuration data.

[0098] After confirming that the BIOS has successfully added a new option and returned the corresponding effective configuration parameters, it constructs a mapping between the new option and the effective configuration parameters. This mapping includes metadata such as the new option's unique identifier, path information, and parameter name, as well as the specific value, data type, and effective status of the associated effective configuration parameters, ensuring a precise correspondence between the two.

[0099] Next, the local storage unit's configuration data is located in a specific area responsible for recording mappings. This area typically maintains the correspondence between all options and parameters in the form of key-value pairs or association tables. Before adding a new mapping, the area is checked for duplicate mappings to avoid data confusion caused by identifier conflicts. Once no conflicts are confirmed, the newly constructed mapping is formatted according to the configuration data storage specifications to ensure that it conforms to the overall data structure requirements.

[0100] After formatting is completed, this mapping relationship is written to the corresponding area of ​​the configuration data, while keeping other existing mapping relationships and infrastructure in the configuration data unchanged. After the addition operation is completed, a consistency check is performed on the configuration data to ensure that the newly added mapping relationship can be correctly identified and called, and does not interfere with the mapping logic of other configuration items. After the check passes, the version identifier and modification timestamp of the configuration data are updated to provide a basis for subsequent configuration management and traceability, ensuring that the newly added options can be accurately associated with their corresponding effective parameters in subsequent configuration display, modification and other operations, realizing the solidification of the relationship between the newly added configuration and the dynamic expansion of the configuration data.

[0101] Figure 5 A configuration new addition flow chart of a configuration update method according to an embodiment of the present invention is shown.

[0102] like Figure 5 As shown, the configuration newly added process of this embodiment includes operations S510 to S590.

[0103] In operation S510, the newly added option is determined. In operation S520, an operation instruction is sent. In operation S530, a system interrupt is executed. In operation S540, whether the newly added option is valid is determined. In operation S550, the effective configuration parameters are determined. In operation S560, an update success indicator is returned. In operation S570, the configuration data is backed up and updated. In operation S580, the front-end interface is refreshed. In operation S590, an error message is returned.

[0104] According to an embodiment of the present invention, after the management controller determines the newly added option, it sends an operation instruction to the BIOS, initiating the configuration process. Upon receiving the instruction, the BIOS executes a system interrupt, pausing the current system operation to avoid data conflicts when processing the newly added option and ensure a stable operating environment. The BIOS then determines whether the newly added option is valid, preventing invalid options from entering the system configuration and ensuring the rationality of the system configuration.

[0105] If the new option is valid, the BIOS determines the effective configuration parameters to ensure that the new option is correctly associated with the system configuration. After that, the BIOS returns an update success flag to the management controller.

[0106] After receiving the successful update indicator, the management controller backs up the original configuration data and performs the update to ensure data security and prevent data loss due to update failure. If the new option is invalid, the BIOS returns an error message to the management controller. Finally, the management controller refreshes the front-end interface, allowing users to intuitively see the configuration update results or error messages for timely resolution.

[0107] According to an embodiment of the present invention, when it is determined that the configuration change operation is a deletion operation, the obtained configuration change data is sent to the basic input and output system, including: when it is determined that the verification result of the configuration change data by the front-end interface is a confirmation of the deletion option, the configuration change data is sent to the basic input and output system so that the basic input and output system performs a system interrupt operation and verifies the rationality of the deletion option. When it is determined to be rational, the configuration parameters related to the deletion option are deleted.

[0108] If the target object determines that the configuration change is a deletion, the front-end interface confirms the change. A confirmation window will pop up with detailed information about the deletion option, clearly displaying the name, path, and associated parameters of the option to be deleted. It will also indicate the potential impact of the deletion, such as "Deleting this option will irreversibly delete all associated configuration records." The front-end interface will only confirm the change if the target object explicitly clicks the confirmation button. Otherwise, the deletion process will be terminated and the original configuration will be retained.

[0109] Once verification is complete, the configuration change data corresponding to the deletion operation is encapsulated, including key information such as the unique identifier of the option to be deleted, its path, and the operation type tag. This data is then sent to the BIOS via a secure communication channel. Upon receiving the deletion request, the BIOS immediately initiates a system interrupt, suspending non-core processes to prioritize the request and ensure a timely response to the deletion operation.

[0110] The BIOS then initiates a rationale check for the option being deleted, focusing on whether the option is a required basic system configuration item, whether other active configurations depend on the option, and whether deleting it will cause system malfunctions. For example, if the option to be deleted is the on / off configuration for processor virtualization technology, and there are processes in the system that rely on virtualization, the validation will determine it is unreasonable.

[0111] If the validation passes, the BIOS removes all associated parameters for the option from the configuration storage area and releases the corresponding storage resources. After the deletion is complete, the BIOS generates a confirmation message and sends it back to the management controller to ensure the consistency of the configuration change at the firmware level.

[0112] According to an embodiment of the present invention, the method further includes: upon receiving information returned by the basic input and output system that the deletion option is a key option, returning a prompt message indicating that the deletion has failed to the target object through the front-end interface.

[0113] When receiving information from the BIOS indicating that the option to be deleted is a critical option, the information will be immediately parsed to clarify the key role of the deleted option in the system configuration. For example, it may be a necessary configuration item to ensure hardware initialization, system startup process or core function operation.

[0114] The front-end interface triggers a specific prompt mechanism, displaying a deletion failure message to the target. This typically pops up a dialog box with a warning icon, clearly labeled "Delete Failed" in the title, and a detailed explanation of the cause, such as "This option cannot be deleted. It is a critical system configuration item. Deleting it may cause the system to not start or run properly." The specific function of the critical option may also be explained to help the target understand its importance. By providing the target with a deletion failure notification through the front-end interface, the target is protected and a closed-loop risk management system for deletion operations is implemented.

[0115] According to an embodiment of the present invention, the configuration update method further includes: upon receiving an update success flag returned by the basic input / output system, deleting the mapping relationship between the deletion option and the corresponding configuration parameter from the configuration data to complete the update of the configuration data.

[0116] After receiving the update success flag from the BIOS and confirming that the deletion operation has taken effect, the system retrieves the configuration data from the local storage unit and locates the storage area that records the mapping between options and configuration parameters. This area maintains the associated information of all configuration items in a structured manner, including the unique identifier of each option, the storage path of the corresponding parameter, and the association rules.

[0117] Based on the unique identifier of the deletion option, the corresponding entry in the mapping relationship data is accurately retrieved to ensure that the mapping record that exactly matches the deletion operation is located. After confirming the target mapping entry, the deletion operation is executed, removing the entry from the mapping relationship data and releasing the storage resources it occupied. After the deletion is complete, the entire configuration data is checked for integrity, verifying the continuity and consistency of the mapping relationship to ensure that the deletion operation has not interfered with the mapping logic of other normal options and has not left invalid association fragments.

[0118] After verification, the configuration data's version number and modification timestamp are updated to mark the status of the update, and the updated configuration data is then rewritten to the local storage unit. This entire process is achieved through precise positioning and local operations, ensuring the accuracy of the configuration data while minimizing the impact on the overall data structure, ensuring that subsequent configuration displays and operations can proceed normally based on the latest mapping relationships.

[0119] Figure 6 A schematic diagram of a front-end interface of a configuration update method according to an embodiment of the present invention is shown.

[0120] like Figure 6 As shown in the figure, on the left side of the front-end interface, there is a vertically arranged hierarchical directory. The configuration parameters in the hierarchical directory are composed of characters. There are three operation buttons on the right side of each directory item: "Modify", "Add" and "Delete".

[0121] When operating, users first enter the directory interface for that level to view the configuration parameters. When an operation is required, they select a specific configuration parameter based on their needs and click the corresponding action button to the right. If they click the "Edit" button, a modification window may pop up for the user to edit the directory item. After clicking the "Add" button, an input box or a new interface may appear for entering the content of the new directory item. If they click the "Delete" button, a confirmation prompt may pop up, and the corresponding directory item will be deleted after the user confirms. After completing the operation, the front-end interface will be updated accordingly.

[0122] Users can modify, add, or delete configuration parameters directly through the operation buttons on the front-end interface, greatly improving operational efficiency. Users can also clearly see each configuration parameter and its corresponding operation options, thus reducing operational errors.

[0123] According to an embodiment of the present invention, the configuration update method further includes: after determining to send the configuration change data to the basic input and output system, if no response is received within a preset period of time, returning a prompt message indicating that the configuration update failed to the target object through the front-end interface.

[0124] After confirming that the configuration change data has been sent to the BIOS, a timing mechanism is initiated to monitor the response wait time. This timing mechanism is associated with a preset period, which is typically set based on the typical response cycle of hardware communication. This ensures sufficient time for the BIOS to process and return the result, while also preventing delays in the target's perception due to excessive wait times.

[0125] During a preset period of time, the system continuously monitors the response information from the BIOS, including the update success flag, failure reason, or other status feedback. If no response is received at the end of the timer, it is determined that the communication has timed out or the BIOS processing is not complete, and the failure notification process is triggered.

[0126] At this point, the front-end interface will display a pop-up window indicating the configuration update failed. In addition to clearly stating "Configuration update failed," the pop-up window will also explain the specific reason, such as "Failed to receive a system response within the specified time. Please check the hardware connection or try again later." This clear status feedback can help users effectively respond to update failures and reduce the number of operations required.

[0127] Based on the above configuration update method, the present invention also provides a configuration update device. Figure 7The device is described in detail.

[0128] Figure 7 A structural block diagram of a configuration updating device according to an embodiment of the present invention is shown.

[0129] like Figure 7 As shown, the configuration updating apparatus 700 of this embodiment includes a data sending module 710 , a configuration updating module 720 and an update prompting module 730 .

[0130] The data sending module 710 is configured to, in response to a configuration change operation initiated by a target object via a front-end interface, send the acquired configuration change data to the basic input / output system, so that the basic input / output system performs a configuration update based on the configuration change data. In one embodiment, the data sending module 710 can be configured to perform the operation S210 described above, which will not be further described here.

[0131] Upon receiving an update success indication from the BIOS, the configuration update module 720 is configured to update the configuration data issued by the BIOS upon startup using the effective configuration parameters associated with the configuration change operation provided by the BIOS. In one embodiment, the configuration update module 720 may be configured to perform operation S220 described above, which will not be further described here.

[0132] The update prompt module 730 is used to return a prompt message indicating that the configuration data update is successful to the target object through the front-end interface when the configuration data update is determined to be completed. In one embodiment, the update prompt module 730 can be used to perform the operation S230 described above, which will not be repeated here.

[0133] According to an embodiment of the present invention, any multiple modules among the data sending module 710, the configuration update module 720, and the update notification module 730 may be combined into a single module, or any one of these modules may be split into multiple modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of other modules and implemented in a single module. According to an embodiment of the present invention, at least one of the data sending module 710, the configuration update module 720, and the update notification module 730 may be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or may be implemented in hardware or firmware through any other reasonable means of circuit integration or packaging, or may be implemented in any one of the three implementation methods of software, hardware, and firmware, or any appropriate combination of these. Alternatively, at least one of the data sending module 710, the configuration update module 720, and the update notification module 730 may be at least partially implemented as a computer program module that, when executed, performs the corresponding functionality.

[0134] Figure 8 A block diagram of an electronic device suitable for implementing a configuration update method according to an embodiment of the present invention is shown.

[0135] like Figure 8 As shown, an electronic device 800 according to an embodiment of the present invention includes a processor 801, which can perform various appropriate actions and processes based on programs stored in a read-only memory (ROM) 802 or programs loaded from a storage unit 808 into a random access memory (RAM) 803. The processor 801 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or related chipsets and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 801 may also include onboard memory for caching purposes. The processor 801 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present invention.

[0136] The RAM 803 stores various programs and data required for the operation of the electronic device 800. The processor 801, ROM 802, and RAM 803 are connected to each other via a bus 804. The processor 801 executes the programs in the ROM 802 and / or RAM 803 to perform the various operations of the method flow according to the embodiment of the present invention. It should be noted that the programs may also be stored in one or more memories other than the ROM 802 and RAM 803. The processor 801 may also execute the programs stored in one or more memories to perform the various operations of the method flow according to the embodiment of the present invention.

[0137] According to an embodiment of the present invention, electronic device 800 may further include an input / output (I / O) interface 805, which is also connected to bus 804. Electronic device 800 may also include one or more of the following components connected to I / O interface 805: an input section 806 including a keyboard, mouse, etc.; an output section 807 including devices such as a cathode ray tube (CRT), liquid crystal display (LCD), and speakers; a storage section 808 including a hard disk; and a communication section 809 including a network interface card such as a LAN card or modem. Communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to I / O interface 805 as needed. Removable media 811, such as a magnetic disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed in drive 810 as needed, so that computer programs read from the removable media can be installed into storage section 808 as needed.

[0138] The present invention also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments, or may exist independently and not incorporated into the device / apparatus / system. The computer-readable storage medium carries one or more programs, which, when executed, implement the method according to the embodiments of the present invention.

[0139] According to an embodiment of the present invention, a computer-readable storage medium may be a non-volatile computer-readable storage medium, and may include, for example, but not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, according to an embodiment of the present invention, a computer-readable storage medium may include the ROM 802 and / or RAM 803 described above, and / or one or more memories other than ROM 802 and RAM 803.

[0140] The embodiments of the present invention further include a computer program product, which includes a computer program containing program code for executing the method shown in the flowchart. When the computer program product is executed in a computer system, the program code is used to enable the computer system to implement the configuration update method provided by the embodiments of the present invention.

[0141] The computer program executes the above functions defined in the system / device of the embodiment of the present invention when executed by the processor 801. According to the embodiment of the present invention, the system, device, module, unit, etc. described above can be implemented by a computer program module.

[0142] In one embodiment, the computer program may be stored on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may be transmitted and distributed in the form of a signal on a network medium, downloaded and installed via the communication portion 809, and / or installed from a removable medium 811. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to wireless, wired, or any suitable combination thereof.

[0143] In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 809 and / or installed from a removable medium 811. When the computer program is executed by the processor 801, the above-described functions defined in the system of the embodiment of the present invention are performed. According to the embodiment of the present invention, the systems, devices, means, modules, units, etc. described above can be implemented by computer program modules.

[0144] According to an embodiment of the present invention, the program code for executing the computer program provided by the embodiment of the present invention can be written in any combination of one or more programming languages. Specifically, these computer programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, languages ​​such as Java, C++, Python, "C" or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect via the Internet).

[0145] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the above-mentioned module, program segment, or a part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0146] It will be understood by those skilled in the art that the features described in the various embodiments of the present invention may be combined and / or coupled in various ways, even if such combinations or couplings are not explicitly described in the present invention. In particular, the features described in the various embodiments of the present invention may be combined and / or coupled in various ways without departing from the spirit and teachings of the present invention. All such combinations and / or couplings fall within the scope of the present invention.

[0147] The above describes embodiments of the present invention. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present invention. Although each embodiment has been described separately above, this does not mean that the measures in each embodiment cannot be advantageously used in combination. Without departing from the scope of the present invention, those skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present invention.

Claims

1. A configuration update method, characterized in that: Applied to a management controller, the method includes: In response to a configuration change operation initiated by the target object through the front-end interface, the obtained configuration change data is sent to the basic input and output system, so that the basic input and output system performs configuration update according to the configuration change data; Upon receiving an update success flag returned by the basic input / output system, updating the configuration data issued when the basic input / output system is started using the effective configuration parameters related to the configuration change operation provided by the basic input / output system; When it is determined that the configuration data update is completed, a prompt message indicating that the configuration update is successful is returned to the target object through the front-end interface.

2. The method according to claim 1, characterized in that The step of sending the acquired configuration change data to the basic input / output system includes: When it is determined that the configuration change data passes the pre-verification of the front-end interface, the configuration change data is converted into an operation command, and the operation command is sent to the basic input and output system.

3. The method according to claim 2, characterized in that The converting the configuration change data into an operation command and sending the operation command to the basic input and output system includes: Calling hardware management software to convert the configuration change data into the operation command through the hardware management protocol layer; The operation command is transmitted to the hardware management interface through the communication interface layer, so that the hardware management interface sends the operation command to the basic input and output system.

4. The method according to claim 1, wherein The method further comprises: Upon receiving the configuration data sent via a preset communication channel when the basic input / output system is started, performing an integrity check on the configuration data; If the verification passes, the configuration data is compared with the historical configuration in the local storage unit to obtain a comparison result; In the case where the comparison result indicates that there is a difference, the historical configuration is backed up and the configuration data is written into the local storage unit.

5. The method according to claim 1, wherein The configuration parameters in the configuration data are selected from a candidate parameter set after analyzing the real-time operation load data and historical configuration operation records of the basic input and output system through a target algorithm.

6. The method according to claim 1, characterized in that The method further comprises: In response to a configuration display request triggered by the target object through the front-end interface, parsing the configuration data according to a preset packaging specification to obtain a plurality of option parameters; Based on the path identification field in each of the option parameters and the preset directory hierarchical logic of the basic input and output system, a hierarchical directory is constructed and displayed in the front-end interface; The hierarchical directory includes multiple levels of directory nodes, and each directory node is associated with a corresponding set of option parameters.

7. The method according to claim 6, characterized in that The method further comprises: When an update success flag is received from the basic input / output system, the option parameters in the hierarchical directory are updated based on the update configuration data to complete the refresh of the front-end interface.

8. The method according to claim 1, characterized in that When it is determined that the configuration change operation is a modification operation, sending the acquired configuration change data to a basic input / output system includes: When it is determined that the verification result of the configuration change data by the front-end interface indicates that the modified parameters are different from the current parameters, the configuration change data is sent to the basic input / output system, causing the basic input / output system to perform a system interrupt operation and call the configuration engine to update the configuration parameters based on the configuration change data.

9. The method according to claim 8, characterized in that The updating of the configuration data issued when the basic input / output system is started by using the effective configuration parameters related to the configuration change operation provided by the basic input / output system includes: Based on the effective configuration parameters, an update operation is performed on the target field in the configuration data while maintaining the original states of other fields in the configuration data.

10. The method according to claim 1, characterized in that When it is determined that the configuration change operation is a new operation, sending the acquired configuration change data to a basic input / output system includes: When it is determined that the verification result of the configuration change data by the front-end interface indicates that the newly added option conforms to a preset format, the configuration change data is sent to the basic input / output system so that the basic input / output system performs a system interrupt operation and verifies the validity of the newly added option. When it is determined to be valid, configuration parameters related to the newly added option are added.

11. The method according to claim 10, characterized in that The method further comprises: When receiving the information returned by the basic input and output system indicating that the newly added option is invalid, a prompt message indicating that the newly added option has failed is returned to the target object through the front-end interface.

12. The method according to claim 10, characterized in that The updating of the configuration data issued when the basic input / output system is started by using the effective configuration parameters related to the configuration change operation provided by the basic input / output system includes: The mapping relationship between the newly added options and the corresponding effective configuration parameters is added to the configuration data.

13. The method according to claim 1, wherein When it is determined that the configuration change operation is a delete operation, sending the acquired configuration change data to a basic input / output system includes: When it is determined that the front-end interface verifies the configuration change data and confirms the deletion option, the configuration change data is sent to the basic input / output system so that the basic input / output system performs a system interrupt operation and verifies the rationality of the deletion option. When it is determined to be rational, the configuration parameters related to the deletion option are deleted.

14. The method according to claim 13, characterized in that The method further comprises: When receiving information returned by the basic input and output system that the deletion option is a key option, a prompt message indicating that the deletion has failed is returned to the target object through the front-end interface.

15. The method according to claim 13, characterized in that The method further comprises: When an update success flag returned by the basic input / output system is received, the mapping relationship between the deletion option and the corresponding configuration parameter is deleted from the configuration data to complete the update of the configuration data.

16. The method according to claim 1, wherein The method further comprises: After determining to send the configuration change data to the basic input / output system, if no response is received within a preset period of time, a prompt message indicating that the configuration update has failed is returned to the target object through the front-end interface.

17. A configuration update device, characterized in that: The device comprises: a data sending module, configured to send the acquired configuration change data to the basic input / output system in response to a configuration change operation initiated by the target object through the front-end interface, so that the basic input / output system performs configuration update according to the configuration change data; a configuration update module configured to, upon receiving an update success flag returned by the basic input / output system, update the configuration data issued when the basic input / output system is started using the effective configuration parameters related to the configuration change operation provided by the basic input / output system; The update prompt module is used to return a prompt message indicating that the configuration data update is successful to the target object through the front-end interface when it is determined that the configuration data update is completed.

18. An electronic device comprising: one or more processors; a memory for storing one or more computer programs, It is characterized in that the one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 16.

19. A computer-readable storage medium having a computer program or instruction stored thereon, characterized in that: When the computer program or instructions are executed by a processor, the steps of the method according to any one of claims 1 to 16 are implemented.

20. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 16.

Citation Information

Patent Citations

  • External card parameter configuration method, equipment and system

    CN103412769A

  • Method, device, server and system for modifying configuration parameters of BIOS

    CN105005471A

  • Scheduling method and scheduling system

    CN110139289A

  • BIOS interface synchronization BMC setting method, system, device and medium

    CN115525349A

  • Basic input and output system configuration updating method, server and equipment

    CN118747080A