Configuration update methods, devices, equipment, media and program products
By managing the coordinated operation of the controller and BIOS, configuration change data is synchronized and verified in real time, solving the problems of BIOS configuration update delay and low reliability, and improving the efficiency and consistency of system configuration management.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- INSPUR SUZHOU INTELLIGENT TECH CO LTD
- Filing Date
- 2025-08-22
- Publication Date
- 2026-05-26
AI Technical Summary
Existing technologies suffer from problems such as configuration update delays, low reliability, and low management efficiency when monitoring and modifying BIOS configuration parameters through a management unit.
The management controller responds to configuration change operations initiated by the front-end interface, synchronizes the configuration change data to the BIOS in real time, and updates the configuration data at startup using the effective configuration parameters provided by the BIOS. Combined with pre-verification, communication protocols and interrupt mechanisms, the accuracy and consistency of the configuration data are ensured.
It enables real-time dynamic updates of BIOS configuration, improving the reliability, efficiency, and consistency of system configuration, and enhancing the human-computer interaction experience and the transparency of configuration management.
Smart Images

Figure CN120743379B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and more specifically to a configuration update method, apparatus, device, medium, and program product. Background Technology
[0002] In a server management system, the Basic Input / Output System (BIOS) is responsible for hardware initialization, operating system loading, and providing low-level system configuration management functions. 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 this invention, it was found that the related technology has at least the following problems: In the process of monitoring and modifying BIOS configuration parameters through the management unit, the parameters are difficult to synchronize in real time, which not only causes delays in configuration updates, but also makes it difficult to ensure the reliability and consistency of configuration changes, resulting in low overall management efficiency. 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 (PIS) so that the PIS updates its configuration based on the configuration change data; upon receiving an update success flag returned by the PIS, updating the configuration data issued by the PIS at startup using effective configuration parameters related to the configuration change operation provided by the PIS; and upon determining that the configuration data update is complete, returning a configuration update success message to the target object through the front-end interface.
[0006] A second aspect of the present invention provides a configuration update apparatus, comprising: a data sending module, configured to send acquired configuration change data to a basic input / output system (PIS) in response to a configuration change operation initiated by a target object through a front-end interface, so that the PIS updates its configuration based on the configuration change data; a configuration update module, configured to update the configuration data issued by the PIS at startup using effective configuration parameters related to the configuration change operation provided by the PIS upon receiving an update success flag returned by the PIS; and an update notification module, configured to return a configuration update success notification message to the target object through the front-end interface upon determining that the configuration data update is complete.
[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 method described above.
[0008] A fourth aspect of the present invention also provides a computer-readable storage medium having a computer program or instructions stored thereon, wherein the computer program or instructions, when executed by a processor, implement the steps of the above-described method.
[0009] A fifth aspect of the present invention also provides a computer program product, including a computer program or instructions that, when executed by a processor, implement the steps of the above-described method. Attached Figure Description
[0010] The above-described features, other objects, and advantages of the present invention will become clearer from the following description of embodiments of the invention with reference to the accompanying drawings, in which:
[0011] Figure 1 The diagram illustrates application scenarios of the configuration update method, apparatus, device, medium, and program product according to embodiments of the present invention.
[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 in a configuration update method according to an embodiment of the present invention is shown.
[0014] Figure 4 A flowchart illustrating the configuration modification process of the configuration update method according to an embodiment of the present invention is shown.
[0015] Figure 5 A flowchart illustrating the configuration update method according to an embodiment of the present invention is shown.
[0016] Figure 6 A schematic diagram of the front-end interface of the configuration update method according to an embodiment of the present invention is shown.
[0017] Figure 7 A structural block diagram of a configuration update apparatus 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 Implementation
[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 invention. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of the invention for ease of explanation. However, it will be apparent that one or more embodiments may be practiced without these specific details. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concept of the invention.
[0020] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the invention. The terms “comprising,” “including,” etc., as used herein indicate the presence of the stated 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 are to be interpreted in a manner consistent with the context of this specification, and not in an idealized or overly rigid way.
[0022] When using expressions such as "at least one of A, B and C", they should generally be interpreted in accordance with the meaning that is commonly understood by those skilled in the art (e.g., "a system having at least one of A, B and C" should include, but is not limited to, a system having A alone, a system having B alone, a system having C alone, a system having A and B, a system having A and C, a system having B and C, and / or a system having A, B and C, etc.).
[0023] In the technical solution of this invention, the data involved (including but not limited to data used for analysis, data stored, data displayed, etc.) are all information and data authorized by the user or fully authorized by all parties. The collection, storage, use, processing, transmission, provision, disclosure and application of related data all comply with relevant laws, regulations and standards, necessary confidentiality measures have been taken, and they do not violate public order and good morals. Corresponding operation entry points are provided 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 (PIS) so that the PIS updates the configuration based on the configuration change data; upon receiving an update success flag returned by the PIS, updating the configuration data issued by the PIS at startup using effective configuration parameters related to the configuration change operation provided by the PIS; and, upon determining that the configuration data update is complete, returning a configuration update success message to the target object through the front-end interface.
[0025] Figure 1 The diagram illustrates application scenarios of the configuration update method, apparatus, device, medium, and program product according to embodiments of the present invention.
[0026] like Figure 1 As shown, the application scenario according to this embodiment may include a management controller 101 and a basic input / 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; 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 update method provided in this embodiment of the invention is executed by the management controller 101. Accordingly, the configuration update device provided in this embodiment of the invention is located in the management controller 101.
[0029] It should be understood that Figure 1 The number of protocol layers and communication layers shown is merely illustrative. Depending on implementation needs, any number of protocol layers and communication layers can be included.
[0030] The following will be based on Figure 1 The described scene, through Figures 2-6 The configuration update method of the embodiments of the invention will be 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 the configuration change operation initiated by the target object through the front-end interface, the acquired configuration change data is sent to the basic input / output system so that the basic input / output system can update the configuration according to the configuration change data.
[0034] In operation S220, upon receiving a success notification from the Basic Input / Output System (PIS), the system updates the configuration data issued by the PIS at startup using the effective configuration parameters related to the configuration change operation provided by the PIS.
[0035] When operating S230, once the configuration data update is confirmed to be complete, a message indicating successful configuration update is returned to the target object through the front-end interface.
[0036] According to embodiments of the present invention, during the operation of a computer system, the Basic Input / Output System (BIOS) undertakes the critical responsibilities of hardware initialization and configuration management, and its configuration parameters directly affect the system's boot process, hardware compatibility, and operating performance. To meet users' personalized needs for system functions or adapt to specific application scenarios, it is usually necessary to allow users to adjust the BIOS configuration through the front-end interface of the management controller.
[0037] When the target object initiates a configuration change operation through the front-end interface, the corresponding configuration change data is obtained. This configuration change data includes various configuration parameters that the target object adds, modifies, or deletes. After confirming that the configuration change data meets system requirements, the configuration change data is sent to the BIOS.
[0038] After sending the configuration change data to the BIOS, wait for the BIOS to process it. When you receive a success notification from the BIOS, it means the configuration change has been completed at the BIOS level. At this point, you need to obtain the effective configuration parameters related to this configuration change operation from the BIOS. These effective configuration parameters are the latest configuration parameters actually used by the BIOS, and may have slight differences from the parameters submitted by the target object in the front-end interface, such as compatibility values automatically adjusted by the system.
[0039] The acquired effective configuration parameters are used to update the configuration data of the local storage unit. This local configuration data is typically issued and cached by the BIOS during startup, used for displaying the front-end interface and for reference in subsequent operations. The update process must ensure the accuracy and integrity of the data, which may involve data format conversion and storage structure adjustments to guarantee that the local data remains consistent with the actual BIOS configuration.
[0040] After confirming that the configuration data of the local storage unit has been updated, a message indicating that the configuration update was successful is generated. This message is presented to the target object in an intuitive way through the front-end interface, which may include pop-up prompts, updated status labels, or success page displays, clearly informing the target object that the configuration change has taken effect, and may also display the updated key configuration parameters to facilitate the target object's confirmation of the operation result.
[0041] By responding to configuration change operations initiated through the front-end interface, the acquired configuration change data is synchronized to the Basic Input / Output System (BIOS) in real time, ensuring dynamic and accurate updates of system configurations. The BIOS's immediate parsing and processing of configuration change data effectively achieves collaborative optimization of hardware and software layer configuration parameters, significantly improving the reliability and efficiency of system configuration updates. Upon receiving a successful update notification from the system, the system automatically refreshes and starts the configuration data based on the effective configuration parameters, ensuring not only the integrity and consistency of configuration changes but also enhancing the real-time nature and traceability of system configuration management. A visual feedback mechanism triggered by the front-end interface provides clear confirmation of operation results to the target audience, improving the human-computer interaction experience and enhancing the efficiency of system configuration management.
[0042] According to an embodiment of the present invention, sending the acquired configuration change data to the basic input / output system includes: if it is determined that the configuration change data has passed the pre-verification of the front-end interface, converting the configuration change data into an operation command, and sending the operation command to the basic input / output system.
[0043] After the target user submits a configuration change request through the front-end interface, a pre-validation mechanism is initiated. This process performs real-time and comprehensive checks on the configuration change data based on a preset rule base, including precise verification of parameter value ranges, intelligent judgment of compatibility between different configuration items, and strict confirmation of operation permissions. During the pre-validation process, the validation progress and specific results can be dynamically fed back, for example, by marking non-compliant configuration items on the front-end interface in real time and providing correction suggestions. By pre-validating the configuration change data, the target user can be effectively guided to adjust their input, ensuring that the changes comply with the basic constraints of system operation from the source.
[0044] Once the configuration change data passes the pre-verification of the front-end interface, the interface will display a "Processing configuration command" status message. Based on the BIOS-recognizable command format and protocol specifications, the verified configuration change data is mapped to the corresponding operation command. This conversion process requires efficient handling of data format adaptation, such as quickly converting key-value pairs transmitted from the front end into binary commands or specific text commands that the BIOS can parse, and ensuring that the command contains necessary operation identifiers and verification information to guarantee the uniqueness and accuracy of the command.
[0045] After the operation command is constructed, it is securely sent to the BIOS through a stable underlying communication channel. During this process, the front-end interface can display the status of "sending operation command to the system" in real time and intuitively show the progress of command transmission through a progress bar. The communication process adopts reliable hardware management protocols such as the Intelligent Platform Management Interface (IPMI) to ensure that the operation command can be transmitted to the BIOS completely and without error.
[0046] Simultaneously, the management controller activates an intelligent timeout monitoring mechanism. If no confirmation of acceptance is received from the BIOS within the specified time, a limited number of retry attempts will be automatically triggered, and the retry status will be updated in real time on the front-end interface. If multiple retries fail, the specific reasons for the communication anomaly and suggested solutions will be clearly communicated to the target, ensuring the effective delivery of configuration change commands and improving the user experience through transparent process feedback.
[0047] According to an embodiment of the present invention, converting configuration change data into operation commands and sending the operation commands to the basic input / output system includes: invoking hardware management software to convert configuration change data into operation commands through a hardware management protocol layer; and transmitting the operation commands to a hardware management interface through a communication interface layer, so that the hardware management interface sends the operation commands 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, responsible for connecting the front-end configuration data with the underlying hardware instruction system. During the call, pre-verified configuration change data is completely 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 can accurately understand the intent of the configuration adjustment.
[0049] After receiving configuration change data, the hardware management software invokes its 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 operation commands that conform to the protocol format. During the conversion process, protocol fields are filled in, data type is adapted, and secondary validation of command validity is performed to ensure that the generated operation commands can be correctly recognized and parsed by the underlying hardware interface.
[0050] After generating the operation command, a connection is established with the hardware management interface through the communication interface layer. The communication interface layer may use physical connection methods such as a network interface, selecting the optimal transmission path based on the hardware architecture. During data transmission, the communication interface layer encapsulates the operation command, adding 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 directly interacting with the BIOS, the hardware management interface, upon receiving the operation command, forwards it to the configuration processing module within the BIOS according to the firmware communication specification. This triggers the BIOS to update the corresponding configuration parameters, thus completing the entire process from user configuration to hardware firmware parameter adjustment.
[0052] Figure 3 A schematic diagram of data transmission in 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 interaction link is constructed through the management controller 301, the preset communication channel 304, the basic input / output system 302, and the hardware management interface 303. Specifically, the basic input / output system 302 sends configuration data to the management controller 301 through the preset communication channel 304 upon startup. After receiving the configuration data, the management controller 301, based on the configuration change operation performed by the target object, sends the corresponding configuration change data back to the basic input / output system 302 through the hardware management interface 303.
[0054] After the basic input / output system 302 completes the configuration update, it returns the update success flag and effective configuration parameters to the management controller 301 through the hardware management interface 303, thereby realizing bidirectional synchronization of the configuration.
[0055] Through the intermediary role of the hardware management interface 303, an indirect interaction mode is established between the management controller 301 and the basic input / output system 302. This mode effectively avoids signal interference and permission conflicts that may occur with direct connection between the two, significantly improving the stability of system operation.
[0056] According to an embodiment of the present invention, the configuration update method further includes: upon receiving configuration data sent through a preset communication channel when the basic input / output system starts up, performing an integrity check on the configuration data; if the check passes, comparing the configuration data with historical configurations 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 into the local storage unit.
[0057] When the BIOS boots up and sends configuration data through a preset communication channel, a receiving mechanism is immediately triggered to ensure the complete reception of the configuration data. After reception, an integrity verification process is initiated, typically using a hash algorithm to verify data consistency. If the verification fails, it indicates that the configuration data may be corrupted or transmitted abnormally, and a re-reception mechanism is immediately triggered.
[0058] If the verification passes, the system automatically retrieves historical configurations from the local storage unit for content comparison. The comparison process combines block-based verification with targeted comparison of key fields, checking both the consistency of the overall configuration structure and verifying the matching degree of core parameters.
[0059] When the comparison confirms a difference, the historical configuration is backed up. The historical configuration is compressed, encrypted, and stored in a specified local path, generating a backup identifier containing a timestamp and version number. Then, newly received configuration data is written to the local storage unit according to a preset storage structure (e.g., JSON format), overwriting the original configuration while retaining version tracking information.
[0060] By comparing the configuration data received from the BIOS startup with the historical configuration, and backing up and updating the historical configuration if there are differences, a closed-loop management system for the verification, comparison and updating of configuration data is achieved.
[0061] According to an embodiment of the present invention, the configuration parameters in the configuration data are selected from the candidate parameter set by analyzing the real-time operating load data and historical configuration operation records of the basic input / output system through a target algorithm.
[0062] After the server powers on, the BIOS, during its power-on self-test (POST), collects commonly used and modifiable configuration parameters of the target object at a specific point in time before the POST ends (e.g., after all dynamically changing configuration parameters have been updated). Specifically, the BIOS can filter the candidate parameter set based on preset rules to obtain the configuration parameters.
[0063] The BIOS can also collect real-time runtime load data, including dynamic indicators such as processor utilization, memory usage, hardware device response speed, and power consumption. It also acquires historical configuration operation records, including the specific details of each configuration parameter adjustment, execution time, system state changes before and after the adjustment, and related feedback information. Using artificial intelligence algorithms, the real-time runtime load data and historical configuration operation records are input into a target algorithm for in-depth analysis.
[0064] The target algorithm combines statistical analysis with intelligent learning models to extract features from real-time operational load data, identifying current system bottlenecks, resource allocation status, and potential optimization space. It also performs pattern mining on historical configuration operation records to summarize the correlation between different configuration combinations and system performance, identify common characteristics of effective configuration strategies, and learn user operating habits and preferences. Through this multi-dimensional analysis, it can more accurately pinpoint the aspects of the current system that need optimization, clarify the direction of appropriate configuration parameter adjustments, and predict potential user configuration needs.
[0065] After completing the data analysis, the target algorithm filters and evaluates the candidate parameter set, which includes the legal value ranges and combinations of all BIOS configurable items, based on the analysis results. According to real-time operating load data, historical configuration operation records, and user operating habits, the target algorithm prioritizes modifiable configuration parameters from the candidate parameter set that are predicted to effectively improve current system performance, enhance stability, or reduce resource consumption, and that conform to user habits. This ensures both system adaptability and improves the convenience of user configuration operations.
[0066] According to an embodiment of the present invention, the configuration update method further includes: responding to a configuration display request triggered by a target object through a front-end interface, parsing configuration data according to a preset encapsulation specification to obtain multiple option parameters; constructing a hierarchical directory based on the path identifier field in each option parameter and the preset directory hierarchy logic of the basic input / output system, and displaying it in the front-end interface; wherein, the hierarchical directory includes multiple levels of directory nodes, 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 be in a loading state and display a "Loading configuration options" message. The management controller performs structured parsing of the configuration data in the local storage unit according to the preset encapsulation specifications, breaking down the complete configuration dataset into multiple independent option parameters. Each option parameter contains complete attributes such as path identifier, parameter name, current value, optional range, and description information. If any data format abnormalities are found during the parsing process, automatic error handling will be performed and logs will be recorded in the background to ensure that the front-end display is not affected.
[0068] After parsing, based on the path identifier field in each option parameter and combined with the BIOS's preset directory hierarchy logic, the construction of the hierarchical directory is initiated. The path identifier field typically records the hierarchical relationship of the parameter in a format similar to a file path, such as "Advanced Settings / Processor Configuration / Virtualization Technology". The path hierarchy is split by recognizing delimiters, and then compared with the BIOS's standard directory structure (such as basic settings, advanced settings, security settings, etc., and the sub-categories under each first-level directory), a complete directory tree from the root node to the last-level node is automatically built. During the construction process, directory nodes are deduplicated and merged to ensure that nodes of the same category at the same level are displayed only once, avoiding interface redundancy.
[0069] Once the hierarchical directory structure is built, the front-end interface will display this structure as a navigation tree or a collapsible panel. Each directory node will display a number of corresponding configuration parameters, 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 on a directory node, the front-end interface will display the set of option parameters associated with that directory node.
[0070] When the target object triggers a configuration change operation by browsing the hierarchical directory, the front-end interface will display a "Processing configuration command" status message. The target object can wait for the operation to complete, and after the configuration change is completed, update the corresponding node information in the hierarchical directory to reflect the latest configuration parameters.
[0071] By building a hierarchical directory and displaying it in an intuitive way, we not only improve the navigation efficiency of target objects in complex configuration environments, but also enhance the transparency and ease of use of configuration management.
[0072] 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, updating the option parameters in the hierarchical directory based on the updated configuration data to complete the refresh of the front-end interface.
[0073] Upon receiving a successful update notification from the BIOS, the system retrieves the latest configuration data from local storage, extracts all necessary update options and parameters, and updates the hierarchical directories accordingly. After updating all relevant options and parameters, a partial refresh of the front-end interface ensures that the target user can instantly see the latest configuration status when browsing the corresponding directory node.
[0074] Meanwhile, a confirmation message "Configuration updated" is displayed at the top of the front-end interface, making it easy for the target audience to know the result of the configuration parameter change, effectively realizing 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, sending the acquired configuration change data to the 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 there is a difference between the modified parameters and the current parameters, sending the configuration change data to the basic input / output system, causing the basic input / 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 the configuration change operation initiated by the target object is determined to be a modification operation, the configuration change data submitted by the front-end interface is specifically validated. Specifically, the modified parameters entered by the target object through dropdown menus or input boxes are compared with the current parameter values, and a precise field-level comparison is used to determine if there are any substantial differences. If the validation result shows that the two are completely consistent, the front-end interface will display "No parameter change detected," and no further data sending process is required. If a difference is confirmed, the operation of sending configuration change data to the BIOS is triggered.
[0077] After sending configuration change data to the BIOS, the BIOS will immediately perform 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 a hardware interrupt signal.
[0078] Subsequently, the BIOS invokes the configuration engine to perform a secondary verification of the modified configuration parameters according to preset parameter update rules. This verifies that the parameters meet the hardware's safety thresholds and compatibility requirements before executing the actual parameter write operation, overwriting the original configuration parameters. Throughout the process, the configuration engine records the modification steps and intermediate states in real time, ensuring that in case of anomalies, it can revert to the stable state before the modification, guaranteeing the security and reliability of system configuration updates. By verifying configuration change data, unnecessary resource waste can be effectively reduced, thus efficiently handling configuration change operations.
[0079] According to an embodiment of the present invention, the configuration data issued when the basic input / output system starts is updated using effective configuration parameters related to configuration change operations provided by the basic input / output system, including: performing an update operation on the target field in the configuration data based on the effective configuration parameters, while maintaining the original state of other fields in the configuration data.
[0080] After obtaining the effective configuration parameters returned by the BIOS, the parameters are parsed in a structured manner to extract the parameter identifiers, updated values, and related attribute information, thus clarifying the specific content that needs to be adjusted in the configuration data. Simultaneously, the storage area of the configuration data is locked to prevent data read / write conflicts during the update process, ensuring the atomicity of the operation.
[0081] Based on the parameter identifier in the effective configuration parameters, the corresponding target field is precisely located in the configuration data. Specifically, this can be achieved by matching unique identifiers, ensuring that each field requiring updating can be accurately found, avoiding erroneous 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 preserving the field's basic attributes (such as data type, description information, etc.) unchanged. During the update of the target field, other fields in the configuration data not involved are strictly kept in their original state, without changing their values, storage locations, or relationships.
[0082] After the update is complete, an integrity check is performed on the configuration data to confirm that the target field has been correctly updated and other fields are unaffected. Once the check passes, the storage area is unlocked, and an update completion status record is generated, providing a basis for subsequent interface refreshes and operation traceability. Through precise positioning and partial update mechanisms, the accuracy of configuration data is ensured while minimizing interference with the overall data structure, thus improving update efficiency.
[0083] Figure 4 A flowchart illustrating the configuration modification process of the configuration update method according to an embodiment of the present invention is shown.
[0084] like Figure 4 As shown, the configuration modification process in this embodiment includes operations S410 to S470.
[0085] In operation S410, confirm the parameter modification. In operation S420, send the operation command. In operation S430, execute the system interrupt. In operation S440, update the configuration parameters. In operation S450, return a success message. In operation S460, back up the configuration data and update it. In operation S470, refresh the front-end interface.
[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 the parameter modification information to the basic input / output system, thereby initiating the configuration update process.
[0087] Upon receiving an operation command, the Basic Input / Output System (BIOS) will execute a system interrupt operation. This pauses the current system operation to avoid data conflicts during configuration parameter updates, ensuring a stable update environment. During the system interruption, the BIOS will update the corresponding configuration parameters, modifying the system configuration and ensuring its accuracy.
[0088] After the configuration parameters are updated, the Basic Input / Output System (PIS) returns a success message to the management controller. Upon receiving this message, the management controller backs up the existing configuration data and performs the update operation. This ensures data security and prevents data loss due to update failure. Finally, the management controller refreshes the front-end interface, allowing users to clearly see the configuration update results and 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, sending the acquired configuration change data to the 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 new option conforms to a preset format, sending the configuration change data to the basic input / output system so that the basic input / output system performs a system interrupt operation and verifies the validity of the new option; and when it is determined to be valid, adding configuration parameters related to the new option.
[0090] When it is determined that the configuration change operation initiated by the target object is a new operation, the configuration change data is validated in format through the front-end interface. The validation process, based on preset format specifications, checks whether the parameter name, data type, value range, and associated path of the new option meet system requirements. For example, it verifies whether the parameter name contains illegal characters and whether the data type matches its configuration category. If the validation finds a format anomaly, the front-end interface will immediately display the specific error and correction suggestions. If the validation passes, confirming that the new option conforms to the preset format, the process of sending the configuration change data to the BIOS is triggered.
[0091] Upon receiving a new configuration request, the BIOS immediately interrupts the system, suspending non-essential processes and prioritizing resource allocation for the new configuration operation to ensure timely response. Subsequently, the BIOS verifies the validity of the new option. This process not only checks the compliance of the parameter format but also thoroughly 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 core system functions.
[0092] If the validity verification passes, the BIOS assigns a unique identifier and storage address to the new option. Simultaneously, it writes the default parameter values, configurable range, and dependencies of the new 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 new option, returns it to the management controller via the original communication channel, and displays it through the front-end interface. This ensures consistency between the new configuration at the firmware level and the front-end display level, achieving compliant control 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 from the basic input / output system indicating that the newly added option is invalid, returning a prompt message indicating that the addition failed to add the option to the target object through the front-end interface.
[0094] When a message indicating that a new option is invalid is received from the BIOS, the specific reasons contained in the message are immediately analyzed, such as conflict with existing configuration, incompatibility with hardware characteristics, or exceeding the system's support range, and these technical reasons are converted into natural language descriptions.
[0095] The front-end interface will trigger a prompt mechanism, displaying a pop-up window to the target user with information about the failed addition. In addition to the explicit "Add configuration failed" message, the pop-up window will also provide a detailed explanation of 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," and will also provide targeted suggestions, such as "Please modify the option name or select other compatible parameters."
[0096] After the target object closes 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. This allows the target object to directly adjust the content according to the prompts and reduces the tedium of repetitive operations.
[0097] According to an embodiment of the present invention, the configuration data issued when the basic input / output system starts 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 new option and the corresponding effective configuration parameter to the configuration data.
[0098] After confirming that the BIOS has successfully added a new option and returned the corresponding effective configuration parameters, a mapping relationship between the new option and the effective configuration parameters is established. This mapping relationship includes metadata such as the unique identifier, path information, and parameter name of the new option, as well as information such as the specific value, data type, and effective status of the associated effective configuration parameters, ensuring that the two form a precise correspondence.
[0099] Next, the specific area in the local storage unit's configuration data responsible for recording mapping relationships is located. 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 relationship, it is checked whether there are duplicate mappings in this area to avoid data chaos caused by identifier conflicts. After confirming that there are no conflicts, the newly constructed mapping relationship is formatted according to the storage specifications of the configuration data to make it conform to the requirements of the overall data structure.
[0100] After formatting, this mapping relationship is written to the corresponding area of the configuration data, while keeping other existing mapping relationships and basic structures 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 invoked without interfering with the mapping logic of other configuration items. After successful verification, the version identifier and modification timestamp of the configuration data are updated to provide a basis for subsequent configuration management and traceability. This ensures that newly added options can be accurately associated with their corresponding effective parameters in subsequent configuration display, modification, and other operations, thus achieving the solidification of newly added configuration relationships and the dynamic expansion of configuration data.
[0101] Figure 5 A flowchart illustrating the configuration update method according to an embodiment of the present invention is shown.
[0102] like Figure 5 As shown, the configuration addition process in this embodiment includes operations S510 to S590.
[0103] In operation S510, confirm the added option. In operation S520, send the operation command. In operation S530, execute the system interrupt. In operation S540, determine if the added option is valid. In operation S550, confirm the effective configuration parameters. In operation S560, return an update success flag. In operation S570, back up the configuration data and update it. In operation S580, refresh the front-end interface. In operation S590, return an error message.
[0104] According to an embodiment of the present invention, after the management controller determines the new option, it sends an operation instruction to the basic input / output system (PIS) to initiate the configuration process. Upon receiving the instruction, the PIS executes a system interrupt, pausing the current system operation to avoid data conflicts during the processing of the new option and ensure the stability of the operating environment. Then, the PIS determines whether the new option is valid, preventing invalid options from entering the system configuration and ensuring the rationality of the system configuration.
[0105] If the newly added option is valid, the Basic Input / Output System (BIOS) determines the effective configuration parameters to ensure that the new option is correctly associated with the system configuration. Afterward, the BIOS returns a success message to the management controller.
[0106] Upon receiving a successful update notification, the management controller backs up the original configuration data and performs the update, ensuring data security and preventing data loss due to update failure. If the newly added option is invalid, the Basic Input / Output System (PIS) will return an error message to the management controller. Finally, the management controller refreshes the front-end interface, allowing users to clearly see the configuration update results or error messages for timely handling.
[0107] According to an embodiment of the present invention, when it is determined that the configuration change operation is a deletion operation, sending the acquired configuration change data to the basic input / output system includes: when it is determined that the front-end interface verifies the configuration change data and confirms the deletion option, sending the configuration change data 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; and when it is determined to be rational, deleting the configuration parameters related to the deletion option.
[0108] When it is determined that the configuration change operation initiated by the target object is a deletion operation, the configuration change operation is confirmed and verified through the front-end interface. The front-end interface will pop up a confirmation window containing detailed information about the deletion options, clearly displaying the name, path, and associated parameters of the option to be deleted, and also indicating the possible impact of the deletion operation, such as "Deleting this option will clear all associated configuration records, and this will be irreversible." The verification on the front-end interface will only be considered successful after the target object explicitly clicks the confirmation button; otherwise, the deletion process will be terminated and the original configuration state will be retained.
[0109] Once the verification is successful, 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 operation type marker, and sent to the BIOS through a secure communication channel. Upon receiving the deletion request, the BIOS immediately executes a system interrupt operation, suspending non-kernel processes to prioritize the processing of this request, ensuring that the deletion operation is responded to in a timely manner.
[0110] Subsequently, the BIOS initiates a validation of the reasonableness of the deleted option, focusing on whether the option is a necessary basic configuration item for the system, whether there are other active configurations that depend on the option, and whether deletion will cause abnormal system function. For example, if the option to be deleted is a processor virtualization technology on / off configuration, and there are processes in the current system that depend on virtualization functionality, the validation will determine it to be unreasonable.
[0111] If the validity verification passes, the BIOS removes all associated parameters for that option from the configuration storage area and releases the corresponding storage resources. After deletion, the BIOS generates a confirmation message indicating successful deletion and sends it to the management controller to ensure consistency of configuration changes at the firmware level.
[0112] According to an embodiment of the present invention, the method further includes: upon receiving information from the basic input / output system that the deletion option is a critical option, returning a deletion failure prompt message to the target object through the front-end interface.
[0113] When the system receives information from the BIOS indicating that the option to be deleted is a critical option, it will immediately parse the information to clarify the key role of the option in the system configuration. For example, it may be a necessary configuration item to ensure hardware initialization, system boot process or core function operation.
[0114] The front-end interface triggers a specific notification mechanism to display a message indicating deletion failure to the target user. Typically, a dialog box with a warning icon pops up, clearly stating "Deletion Failed" in the title, and the body explains the reason in detail, such as "This option cannot be deleted; it is a critical system configuration item, and deletion may cause the system to fail to start or run normally." It can also supplement the specific function of this critical option to help the target user understand its importance. By providing deletion failure notifications to the target user through the front-end interface, a closed-loop risk management system for critical configurations and deletion operations is achieved.
[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] Once the BIOS returns a successful update notification, 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 relationship between options and configuration parameters. This area maintains the association 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 is precisely retrieved in the mapping relationship data to ensure that the mapped record that perfectly matches the deletion operation is located. After confirming the target mapping entry, the deletion operation is performed to remove the entry from the mapping relationship data and release the storage resources it occupies. After deletion, the integrity of the entire configuration data is verified to check the continuity and consistency of the mapping relationship, ensuring that the deletion operation does not interfere with the mapping logic of other normal options or leave any invalid association fragments.
[0118] After successful verification, the version number and modification timestamp of the configuration data are updated to mark the status of this update. The updated configuration data is then rewritten to the local storage unit. The 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, and ensuring that subsequent configuration display and operations can proceed normally based on the latest mapping relationship.
[0119] Figure 6 A schematic diagram of the front-end interface of the configuration update method according to an embodiment of the present invention is shown.
[0120] like Figure 6 As shown, on the left side of the front-end interface, there is a vertically arranged hierarchical directory, and the configuration parameters in the directory consist of characters. On the right side of each directory item, there are three operation buttons: "Modify", "Add", and "Delete".
[0121] When operating, users first access the corresponding directory interface to view configuration parameters. When an operation is needed, they select the specific configuration parameter and click the corresponding operation button on its right. Clicking the "Modify" button may open a window for editing the directory entry. Clicking the "Add" button may open an input box or a new interface for entering the new directory entry. Clicking the "Delete" button may display a confirmation prompt; the corresponding directory entry will be deleted after user confirmation. After the operation is completed, the front-end interface will update accordingly.
[0122] Users can directly modify, add, or delete configuration parameters via operation buttons on the front-end interface, greatly improving operational efficiency. Furthermore, users can 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 that configuration change data is sent to the basic input / output system, if no response is received within a preset time period, returning a configuration update failure prompt message to the target object through the front-end interface.
[0124] After determining that configuration change data will be sent to the BIOS, a timing mechanism is initiated to monitor the response wait time. This timing mechanism is associated with a preset time period, which is usually set according to the normal response cycle of hardware communication. This ensures that there is enough time for the BIOS to process and return the result, while avoiding the target object's perception of delay due to excessive waiting time.
[0125] During a preset time period, the system continuously monitors for response information from the BIOS, including update success indicators, failure reasons, or other status feedback. If no response is received by the end of the timeout, it is determined that the communication has timed out or the BIOS processing has not been completed, and a failure message procedure is triggered.
[0126] At this point, the front-end interface will display a pop-up window to the target user indicating that 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 your hardware connection or try again later." This clear status feedback helps users effectively handle update failures and reduces the amount of work required.
[0127] Based on the above configuration update method, the present invention also provides a configuration update apparatus. The following will be combined with... Figure 7The device is described in detail.
[0128] Figure 7 A structural block diagram of a configuration update apparatus according to an embodiment of the present invention is shown.
[0129] like Figure 7 As shown, the configuration update device 700 of this embodiment includes a data sending module 710, a configuration update module 720, and an update prompt module 730.
[0130] The data sending module 710 is used to respond to a configuration change operation initiated by the target object through the front-end interface, and send the acquired configuration change data to the basic input / output system so that the basic input / output system can update its configuration according to the configuration change data. In one embodiment, the data sending module 710 can be used to perform the operation S210 described above, which will not be repeated here.
[0131] The configuration update module 720 is used to update the configuration data issued by the Basic Input / Output System (PIS) at startup, using the effective configuration parameters related to the configuration change operation provided by the PIS, upon receiving a success update flag returned by the PIS. In one embodiment, the configuration update module 720 can be used to perform the operation S220 described above, which will not be repeated here.
[0132] The update notification module 730 is used to return a notification message indicating successful configuration update to the target object through the front-end interface when it is determined that the configuration data update is complete. In one embodiment, the update notification module 730 can be used to perform the operation S230 described above, which will not be repeated here.
[0133] According to embodiments of the present invention, any plurality of modules among the data transmission module 710, configuration update module 720, and update notification module 730 may be combined into one module, or any one of these modules may be split into multiple modules. Alternatively, at least a portion of the functionality of one or more of these modules may be combined with at least a portion of the functionality of other modules and implemented in one module. According to embodiments of the present invention, at least one of the data transmission module 710, configuration update module 720, and update notification module 730 may be at least partially implemented as hardware circuitry, 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-package, an application-specific integrated circuit (ASIC), or any other reasonable means of integrating or packaging circuitry, or implemented in software, hardware, or firmware, or in any suitable combination of any of these three implementation methods. Alternatively, at least one of the data transmission module 710, configuration update module 720, and update notification module 730 may be at least partially implemented as a computer program module, which, when run, can perform corresponding functions.
[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 according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage portion 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 an associated chipset 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] RAM 803 stores various programs and data required for the operation of electronic device 800. Processor 801, ROM 802, and RAM 803 are interconnected via bus 804. Processor 801 executes various operations of the method flow according to embodiments of the present invention by executing programs in ROM 802 and / or RAM 803. It should be noted that programs may also be stored in one or more memories other than ROM 802 and RAM 803. Processor 801 may also execute various operations of the method flow according to embodiments of the present invention by executing programs stored in one or more memories.
[0137] According to an embodiment of the present invention, the electronic device 800 may further include an input / output (I / O) interface 805, which is also connected to a bus 804. The electronic device 800 may also include one or more of the following components connected to the input / output (I / O) interface 805: an input section 806 including a keyboard, mouse, etc.; an output section 807 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN card, modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the input / output (I / O) interface 805 as needed. A removable medium 811, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 810 as needed so that computer programs read from it can be installed into the 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 it may exist independently and not assembled 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 embodiments of the present invention, a computer-readable storage medium may be a non-volatile computer-readable storage medium, such as including, but not limited to: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, according to embodiments of the present invention, a computer-readable storage medium may include ROM 802 and / or RAM 803 and / or one or more memories other than ROM 802 and RAM 803 described above.
[0140] Embodiments of the present invention also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowchart. When the computer program product is run on a computer system, the program code is used to cause the computer system to implement the configuration update method provided in the embodiments of the present invention.
[0141] When the computer program is executed by the processor 801, it performs the functions defined in the system / apparatus of this invention. According to embodiments of the invention, the systems, apparatuses, modules, units, etc., described above can be implemented by computer program modules.
[0142] In one embodiment, the computer program may rely on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may also be transmitted and distributed in the form of signals over a network medium, and may be downloaded and installed via the communication section 809, and / or installed from a removable medium 811. The program code contained in the computer program can be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination thereof.
[0143] In such an embodiment, the computer program can be downloaded and installed from a network via communication section 809, and / or installed from removable medium 811. When the computer program is executed by processor 801, it performs the functions defined in the system of this embodiment of the invention. According to embodiments of the invention, the systems, devices, apparatuses, modules, units, etc., described above can be implemented by computer program modules.
[0144] According to embodiments of the present invention, program code for executing the computer programs provided in the embodiments of the present invention can be written in any combination of one or more programming languages. Specifically, these computational 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's computing device, partially on the user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0145] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0146] Those skilled in the art will understand that the features described in the various embodiments of the present invention can be combined and / or combined in various ways, even if such combinations or combinations are not explicitly described in the present invention. In particular, the features described in the various embodiments of the present invention can be combined and / or combined in various ways without departing from the spirit and teachings of the present invention. All such combinations and / or combinations fall within the scope of the present invention.
[0147] The embodiments of the present invention have been described above. However, these embodiments are merely illustrative and not intended to limit the scope of the invention. Although various embodiments have been described above, this does not mean that the measures in the various embodiments cannot be used advantageously in combination. Various substitutions and modifications can be made by those skilled in the art without departing from the scope of the invention, and all such substitutions and modifications should fall within the scope of the 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 acquired configuration change data is sent to the basic input / output system so that the basic input / output system can update its configuration according to the configuration change data; Upon receiving a success notification from the Basic Input / Output System (PIS), the system updates the configuration data that was issued and stored in the local storage unit of the management controller at startup, using the effective configuration parameters related to the configuration change operation provided by the PIS. Once the configuration data update is confirmed to be complete, a successful configuration update message is returned to the target object through the front-end interface. The step of updating the configuration data issued and stored in the local storage unit of the management controller at startup by utilizing 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 of the local storage unit, while maintaining the original state of other fields in the configuration data; If the configuration change operation is determined to be a modification operation, the step of sending the acquired configuration change data to the basic input / output system includes: If the front-end interface determines that the verification result of the configuration change data indicates that there is a difference between the modified parameters and 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. The hardware interrupt signal ensures that the processor allocates resources to the configuration modification task and calls the configuration engine to update the configuration parameters based on the configuration change data. The configuration data is sent to the management controller after the basic input / output system is powered on and before the power-on self-test is completed. The configuration parameters in the configuration data are selected from the candidate parameter set by analyzing the real-time operating load data, historical configuration operation records and user operation habits of the basic input / output system through a target algorithm.
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: If 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.
3. The method according to claim 2, characterized in that, The step of converting the configuration change data into operation commands and sending the operation commands to the basic input / output system includes: The hardware management software is invoked 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 / output system.
4. The method according to claim 1, characterized in that, The method further includes: Upon receiving the configuration data sent through a preset communication channel when the basic input / output system starts up, the integrity of the configuration data is verified. If the verification passes, the configuration data is compared with the historical configuration in the local storage unit to obtain the comparison result; If the comparison results show discrepancies, the historical configuration is backed up, and the configuration data is written to the local storage unit.
5. The method according to claim 1, characterized in that, The method further includes: In response to the configuration display request triggered by the target object through the front-end interface, the configuration data is parsed according to the preset encapsulation specification to obtain multiple option parameters; Based on the path identifier field in each of the option parameters and the preset directory hierarchy logic of the basic input / 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.
6. The method according to claim 5, characterized in that, The method further includes: Upon receiving a success notification from the basic input / output system, the option parameters in the hierarchical directory are updated based on the updated configuration data to refresh the front-end interface.
7. The method according to claim 1, characterized in that, If the configuration change operation is determined to be a new operation, the step of sending the acquired configuration change data to the basic input / output system includes: If the front-end interface verifies that the new option conforms to the 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 new option. If the new option is found to be valid, configuration parameters related to the new option are added.
8. The method according to claim 7, characterized in that, The method further includes: Upon receiving information from the basic input / output system indicating that the newly added option is invalid, a prompt message indicating failure to add the option is returned to the target object through the front-end interface.
9. The method according to claim 7, characterized in that, The step of updating the configuration data issued by the basic input / output system at startup 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.
10. The method according to claim 1, characterized in that, If the configuration change operation is determined to be a deletion operation, the step of sending the acquired configuration change data to the basic input / output system includes: If 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 to cause the basic input / output system to perform a system interrupt operation and verify the rationality of the deletion option. If the rationality is confirmed, the configuration parameters related to the deletion option are deleted.
11. The method according to claim 10, characterized in that, The method further includes: Upon receiving information from the basic input / output system that the deletion option is a critical option, a deletion failure message is returned to the target object through the front-end interface.
12. The method according to claim 10, characterized in that, The method further includes: Upon receiving a success notification from the basic input / output system, the mapping between the deletion option and the corresponding configuration parameter is removed from the configuration data to complete the update of the configuration data.
13. The method according to claim 1, characterized in that, The method further includes: After determining that the configuration change data has been sent to the basic input / output system, if no response is received within a preset time period, a configuration update failure message is returned to the target object through the front-end interface.
14. A configuration update device, characterized in that, The device, located in the management controller, includes: The data sending module is used to respond to the configuration change operation initiated by the target object through the front-end interface, and send the acquired configuration change data to the basic input / output system so that the basic input / output system can update its configuration according to the configuration change data; The configuration update module is used to update the configuration data issued and stored in the local storage unit of the management controller when the basic input / output system starts up, using the effective configuration parameters related to the configuration change operation provided by the basic input / output system, upon receiving an update success flag returned by the basic input / output system. The update notification module is used to return a notification message indicating successful configuration update to the target object through the front-end interface when it is determined that the configuration data update is complete. The configuration update module is further configured to perform an update operation on the target field in the configuration data of the local storage unit based on the effective configuration parameters, while maintaining the original state of other fields in the configuration data. The data sending module is further configured to, when determining that the front-end interface's verification result of the configuration change data indicates a difference between the modified parameters and the current parameters, send the configuration change data to the basic input / output system, causing the basic input / output system to perform a system interrupt operation, ensuring that the processor allocates resources to the configuration modification task through a hardware interrupt signal, and calling the configuration engine to update the configuration parameters based on the configuration change data; The configuration data is sent to the management controller after the basic input / output system is powered on and before the power-on self-test is completed. The configuration parameters in the configuration data are selected from the candidate parameter set by analyzing the real-time operating load data, historical configuration operation records and user operation habits of the basic input / output system through a target algorithm.
15. An electronic device comprising: One or more processors; Memory, used to store one or more computer programs. The characteristic feature is 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 13.
16. A computer-readable storage medium having a computer program or instructions stored thereon, characterized in that, When the computer program or instructions are executed by a processor, they implement the steps of the method according to any one of claims 1 to 13.
17. A computer program product, characterized in that, It includes a computer program that, when executed by a processor, implements the method according to any one of claims 1 to 13.