A method, system, device and medium for configuring default values of an input / output system

CN116360841BActive Publication Date: 2026-09-15INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310132955.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-17
Publication Date
2026-09-15
Estimated Expiration
2043-02-17

AI Technical Summary

Technical Problem

[0004]虽然这种方式的确可以满足在一个BIOS镜像中根据套餐名信息来实现多套套餐配置的需求,但在执行F9按键进行Load Default操作时,却会出现一个异常情况,那就是BIOS会恢复成代码中原初的默认设置,而不是恢复成修改之后的套餐定义值,从而导致该功能无法满足需求,其中,Load Default为加载默认值

Benefits of technology

[0027] This invention proposes a method, system, device, and medium for configuring default values ​​for an input/output system. The method includes the following steps: after the input/output system performs a default value loading operation, a package flag variable is cleared, and then the server is restarted; after the server restarts, multiple package settings are executed, determining whether the flag variable has been set with a package customization value. If the flag variable has not been set with a package customization value, different packages are distinguished using information from the field replaceable unit, and the flag variable value is updated; input/output system configuration options are set according to the different package requirements. Based on this method for configuring default values ​​for an input/output system, a system for configuring default values ​​for an input/output system is also proposed. This invention solves the problem that the multi-package function malfunctions after startup and cannot be restored to the package definition value when loading default values. It utilizes a unified, extensible firmware interface mechanism, adding an operation point after the default value loading mechanism to clear the flag variable for this package attribute. Therefore, after the machine restarts, the package information from the field replaceable unit is retrieved again, and the corresponding input/output system configuration items are set according to the package information, thus achieving the result of restoring the configuration option value corresponding to the package after loading the configuration item.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116360841B_ABST
    Figure CN116360841B_ABST
Patent Text Reader

Abstract

The application provides a configuration method, system, device and medium for default values of an input / output system, which comprises the following steps: the input / output system adds zero clearing processing of a package flag variable after performing a loading default value operation, and then restarts a server; after the server is restarted, multiple package settings are performed, it is judged whether the package customization value is set for the flag variable, when the package customization value is not set for the flag variable, different packages are distinguished through information in a field replaceable unit, and the flag variable value is updated; and input / output system configuration options are set according to different package requirements. The input / output system becomes the corresponding package option value after the default value recovery when multiple configuration settings are performed. Based on the method, a configuration system for default values of an input / output system is also provided. The application is applicable to all AMD general-purpose computer system products, and more configuration settings can be processed more flexibly.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of input / output system configuration, and specifically relates to a method, system, device, and medium for configuring default values ​​of an input / output system. Background Technology

[0002] During startup, the BIOS uses a default set of configuration values ​​to initialize devices and boot the system. However, as customer needs become increasingly diverse, there is a growing demand for a single BIOS to accommodate multiple machine configurations simultaneously without functional conflicts. The BIOS addresses this need by implementing features specifically for this purpose. The BIOS (Basic Input Output System) is used to boot the system.

[0003] UEFI booting is mainly divided into seven stages. During the DXE stage of platform initialization, most system initialization functions are executed, and memory is fully utilized at this stage. Therefore, most BIOS drivers execute during this phase. UEFI (Unified Extensible Firmware Interface) and DXE (Driver Execution Environment) are the driver configuration environment execution stages, one of the UEFI boot stages. The ability to implement multiple configuration options with a single BIOS image is achieved during this stage. A flag variable A is set to determine if this is the first boot. If it is, different configuration names are read from the FRU to modify the flag variable, and the corresponding configuration option values ​​are modified. Finally, a reboot is performed to make the variables take effect. If the flag variable value is not 0, it indicates that it is not the first boot, and no configuration is modified, thus satisfying the needs of multiple configurations. FRU (Field Replacement Unit) is used to store important information.

[0004] While this method can indeed meet the need to configure multiple service packages based on the package name information within a single BIOS image, an anomaly occurs when executing the Load Default operation by pressing F9. The BIOS will revert to the original default settings in the code instead of the modified package definition values, thus preventing the function from fulfilling its requirements. Load Default loads the default values. Summary of the Invention

[0005] To address the aforementioned technical issues, this invention proposes a method, system, device, and medium for configuring default values ​​of input / output systems, applicable to all AMD general-purpose computer systems, and enabling more flexible processing of a wider range of configuration settings.

[0006] To achieve the above objectives, the present invention adopts the following technical solution:

[0007] A method for configuring default values ​​for an input / output system includes the following steps:

[0008] After the input / output system performs the default value loading operation, it adds a process to clear the package flag variable and then restarts the server;

[0009] After the server restarts, the multi-package settings are executed. It is determined whether the flag variable has been set with a package customization value. If the flag variable has not been set with a package customization value, different packages are distinguished by the information in the field replaceable unit, and the flag variable value is updated.

[0010] Configure input / output system options according to the different package requirements.

[0011] Furthermore, the method also includes not performing multiple package settings when the flag variable has already been set with a package customization value.

[0012] Furthermore, the process by which the input / output system performs the load default value operation includes:

[0013] After entering the configuration interface of the input / output system, press F9 to load the default values.

[0014] Furthermore, the method for adding the package flag variable is as follows: trigger the OemAfterLoadSetupDefaults function to obtain the flag variable, and add the flag variable clearing process.

[0015] Furthermore, the step of performing multi-package settings after server restart includes: performing multi-package settings through a multi-package setting function during the driver configuration environment execution phase after server restart.

[0016] Furthermore, the multi-package setting function adopts the PlatformReConfigOnFru function.

[0017] Furthermore, the method is used to enable the input / output system to restore the default value and change it to the corresponding package option value when multiple configurations are set.

[0018] This invention also proposes a configuration system for input / output system default values, including: an add module, an update module, and a set module;

[0019] The added module is used to add a clearing process for the package flag variable after the input / output system performs the load default value operation, and then restart the server;

[0020] The update module is used to perform multi-package settings after the server restarts, determine whether the flag variable has been set with a package customization value, and if the flag variable has not been set with a package customization value, distinguish different packages by using information in the field replaceable unit and update the flag variable value.

[0021] The settings module is used to set input / output system configuration options according to the different package requirements.

[0022] The present invention also proposes an apparatus comprising:

[0023] Memory, used to store computer programs;

[0024] A processor for implementing the steps of the method when executing the computer program.

[0025] The present invention also proposes a readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the method described.

[0026] The effects described in the invention are merely those of the embodiments, and not all the effects of the invention. One of the above technical solutions has the following advantages or beneficial effects:

[0027] This invention proposes a method, system, device, and medium for configuring default values ​​for an input / output system. The method includes the following steps: after the input / output system performs a default value loading operation, a package flag variable is cleared, and then the server is restarted; after the server restarts, multiple package settings are executed, determining whether the flag variable has been set with a package customization value. If the flag variable has not been set with a package customization value, different packages are distinguished using information from the field replaceable unit, and the flag variable value is updated; input / output system configuration options are set according to the different package requirements. Based on this method for configuring default values ​​for an input / output system, a system for configuring default values ​​for an input / output system is also proposed. This invention solves the problem that the multi-package function malfunctions after startup and cannot be restored to the package definition value when loading default values. It utilizes a unified, extensible firmware interface mechanism, adding an operation point after the default value loading mechanism to clear the flag variable for this package attribute. Therefore, after the machine restarts, the package information from the field replaceable unit is retrieved again, and the corresponding input / output system configuration items are set according to the package information, thus achieving the result of restoring the configuration option value corresponding to the package after loading the configuration item.

[0028] This invention is applicable to all AMD general-purpose computer systems and allows for more flexible handling of a wider range of configuration settings. Attached Figure Description

[0029] like Figure 1 This is a flowchart of a method for configuring default values ​​of an input / output system according to Embodiment 1 of the present invention;

[0030] like Figure 2 This is a schematic diagram of a configuration system for default values ​​of an input / output system according to Embodiment 2 of the present invention;

[0031] like Figure 3 This is a schematic diagram of a device according to Embodiment 3 of the present invention. Detailed Implementation

[0032] To clearly illustrate the technical features of this solution, the invention will be described in detail below through specific embodiments and in conjunction with the accompanying drawings. The following disclosure provides many different embodiments or examples for implementing different structures of the invention. To simplify the disclosure of the invention, components and arrangements of specific examples are described below. Furthermore, reference numerals and / or letters may be repeated in different examples. This repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed. It should be noted that the components illustrated in the drawings are not necessarily drawn to scale. Descriptions of well-known components, processing techniques, and processes are omitted in this invention to avoid unnecessarily limiting the invention.

[0033] Example 1

[0034] Embodiment 1 of this invention proposes a method for configuring default values ​​of input and output systems, which solves the problem in the prior art that when loading default values, the multi-package function malfunctions after startup and cannot be restored to the package definition value.

[0035] In Embodiment 1 of this invention, when the server input / output system supports multiple package configurations, the input / output system option configuration values ​​are restored to the corresponding package mode during the loading of default values. Specifically:

[0036] After the input / output system performs the default value loading operation, it adds a process to clear the package flag variable and then restarts the server;

[0037] After the server restarts, the multi-package settings are executed. It is determined whether the flag variable has been set with a package customization value. If the flag variable has not been set with a package customization value, different packages are distinguished by the information in the field replaceable unit, and the flag variable value is updated.

[0038] Configure input / output system options according to different package requirements.

[0039] like Figure 1This is a flowchart of a method for configuring default values ​​of an input / output system according to Embodiment 1 of the present invention;

[0040] In step S100, the process begins.

[0041] In step S101, the input / output system performs a load default value operation. After the BIOS enters the Setup interface, pressing F9 to execute the Load Default operation will write the native default values ​​defined in the code into each configuration variable.

[0042] In step S102, the package flag variable is cleared, and then the server is restarted. After this operation is completed in step S101, the OemAfterLoadSetupDefaults function is triggered. This function performs actions after the Load Default operation is completed. Therefore, we can obtain the flag variable A in this function, clear it to zero at this stage, and then restart the machine to complete the entire Load Default process. In Embodiment 1 of this invention, the flag variable is represented by A. The scope of protection of this invention is not limited to the representation listed in Embodiment 1, and those skilled in the art can make reasonable settings as needed.

[0043] In step S103, multi-package settings are performed after the server restarts. This application performs multi-package settings via a multi-package setting function during the driver configuration environment stage after the server restarts.

[0044] The multi-package setting function uses the PlatformReConfigOnFru function. The scope of protection of this invention is not limited to the functions listed in Embodiment 1; other methods capable of implementing multi-package setting functionality are also within the scope of protection.

[0045] In step S104, it is determined whether the flag variable A is 0. In this application, if the flag variable A is not 0, it means that the package customization value has been set; if the flag variable A is 0, it means that the package customization value has not been set. If the flag variable A is not 0, then step S105 is executed; otherwise, step S106 is executed.

[0046] In step S 105, the information in the FRU is used to distinguish different packages and update the value of the flag variable A, and then the BIOS configuration options are set according to the requirements of the package.

[0047] In step S106, the process ends. When the flag variable A is 0, the function processing is skipped. The reason for skipping the function processing is to ensure that the option values ​​can still be modified normally in the Setup menu after the package definition is completed. Otherwise, if this operation is performed every time the computer starts, the configuration value in the BIOS will only be the value that needs to be set in the package, instead of the value that is manually modified in the Setup interface, no matter how the user modifies it.

[0048] Embodiment 1 of this invention proposes a method for configuring default values ​​of input and output systems, which solves the problem in the prior art that when loading default values, the multi-package function malfunctions after startup and cannot be restored to the package definition value.

[0049] Embodiment 1 of this invention proposes a method for configuring default values ​​of input / output systems. It utilizes a unified extensible firmware interface mechanism and adds an operation point after loading the default value mechanism. The flag variable for this package attribute is cleared, so that after the machine restarts, the package information in the field replaceable unit is re-acquired, and the corresponding input / output system configuration items are set according to the package information. This achieves the result of restoring the configuration option value corresponding to the package after loading the configuration items.

[0050] Embodiment 1 of this invention proposes a method for configuring default values ​​of input / output systems, which is applicable to all AMD general-purpose computer system products and can thus be used to handle more configuration settings more flexibly.

[0051] Example 2

[0052] Based on the input / output system default value configuration method proposed in Embodiment 1 of this invention, Embodiment 2 of this invention proposes an input / output system default value configuration system, such as... Figure 2 This is a schematic diagram of a configuration system for default values ​​of an input / output system according to Embodiment 2 of the present invention; the system includes: an add module, an update module, and a set module;

[0053] Add a module to the input / output system to clear the package flag variable after performing the load default value operation, and then restart the server;

[0054] The update module is used to perform multi-package settings after the server restarts, determine whether the flag variable has been set with a package customization value, and if the flag variable has not been set with a package customization value, distinguish different packages by using the information in the field replaceable unit and update the flag variable value.

[0055] The settings module is used to configure input / output system options according to the different package requirements.

[0056] The process of adding a module includes: After entering the Setup interface in the BIOS, pressing F9 to execute the Load Default operation will write the native default values ​​in the code to various configuration variables. After this operation is completed, the OemAfterLoadSetupDefaults function will be triggered. This function does what happens after the Load Default operation is completed. In this function, we can get the flag variable A, clear it to zero at this stage, and then restart the machine to complete the entire Load Default process.

[0057] The update module implementation process includes: after the server restarts, multiple package settings are performed by setting multiple package settings functions during the driver configuration environment stage.

[0058] The multi-package setting function uses the PlatformReConfigOnFru function. This function performs different actions based on whether the flag variable A is 0. If it's not 0, it means a package customization value has already been set, and the function's processing is skipped. This is necessary because after defining the package, users should still be able to modify option values ​​in the Setup menu. Otherwise, if this operation is performed every time the computer starts, the configuration values ​​in the BIOS will only reflect the values ​​set in the package, not the values ​​manually modified in the Setup interface. If the flag variable A is 0, the function uses information from the FRU to distinguish between different packages and updates the value of the flag variable A accordingly.

[0059] Embodiment 2 of the present invention proposes a configuration system for input and output system default values, which solves the problem in the prior art that when loading default values, the multi-package function malfunctions after startup and cannot be restored to the package definition value.

[0060] Embodiment 2 of this invention proposes a configuration system for input / output system default values. It uses a unified extensible firmware interface mechanism and adds an operation point after loading the default value mechanism. The flag variable for this package attribute is cleared, so that after the machine restarts, the package information in the field replaceable unit is re-acquired, and the corresponding input / output system configuration items are set according to the package information. This achieves the result of restoring the configuration option value corresponding to the package after loading the configuration items.

[0061] Embodiment 2 of the present invention proposes a configuration system for input / output system default values, which is applicable to all AMD general-purpose computer system products and can be used to process more configuration settings more flexibly.

[0062] The input / output system default value configuration system proposed in Embodiment 2 of the present invention modularizes the process of implementing the input / output system default value configuration method disclosed in Embodiment 1. For a more detailed process, please refer to the input / output system default value configuration method proposed in Embodiment 1 of the present invention.

[0063] Example 3

[0064] The present invention also proposes a device, such as Figure 3 This is a schematic diagram of a device according to Embodiment 3 of the present invention, comprising:

[0065] Memory, used to store computer programs;

[0066] When a processor executes the computer program, the method steps are as follows:

[0067] After the input / output system performs the default value loading operation, it adds a process to clear the package flag variable and then restarts the server;

[0068] After the server restarts, the multi-package settings are executed. It is determined whether the flag variable has been set with a package customization value. If the flag variable has not been set with a package customization value, different packages are distinguished by the information in the field replaceable unit, and the flag variable value is updated.

[0069] Configure input / output system options according to different package requirements.

[0070] This is used to restore the input / output system option configuration value to the corresponding package mode when performing the default value loading operation when the server input / output system supports multiple package configurations.

[0071] like Figure 1 This is a flowchart of a method for configuring default values ​​of an input / output system according to Embodiment 1 of the present invention;

[0072] In step S100, the process begins.

[0073] In step S101, the input / output system performs a load default value operation. After the BIOS enters the Setup interface, pressing F9 to execute the Load Default operation will write the native default values ​​defined in the code into each configuration variable.

[0074] In step S102, the package flag variable is cleared, and then the server is restarted. After this operation is completed in step S101, the OemAfterLoadSetupDefaults function is triggered. This function performs actions after the Load Default operation is completed. Therefore, we can obtain the flag variable A in this function, clear it to zero at this stage, and then restart the machine to complete the entire Load Default process. In Embodiment 1 of this invention, the flag variable is represented by A. The scope of protection of this invention is not limited to the representation listed in Embodiment 1, and those skilled in the art can make reasonable settings as needed.

[0075] In step S103, multi-package settings are performed after the server restarts. This application performs multi-package settings via a multi-package setting function during the driver configuration environment stage after the server restarts.

[0076] The multi-package setting function uses the PlatformReConfigOnFru function. The scope of protection of this invention is not limited to the functions listed in Embodiment 1; other methods capable of implementing multi-package setting functionality are also within the scope of protection.

[0077] In step S104, it is determined whether the flag variable A is 0. In this application, if the flag variable A is not 0, it means that the package customization value has been set; if the flag variable A is 0, it means that the package customization value has not been set. If the flag variable A is not 0, then step S105 is executed; otherwise, step S106 is executed.

[0078] In step S 105, the information in the FRU is used to distinguish different packages and update the value of the flag variable A, and then the BIOS configuration options are set according to the requirements of the package.

[0079] In step S106, the process ends. When the flag variable A is 0, the function processing is skipped. The reason for skipping the function processing is to ensure that the option values ​​can still be modified normally in the Setup menu after the package definition is completed. Otherwise, if this operation is performed every time the computer starts, the configuration value in the BIOS will only be the value that needs to be set in the package, instead of the value that is manually modified in the Setup interface, no matter how the user modifies it.

[0080] Embodiment 3 of the present invention proposes a device that solves the problem in the prior art where, when loading default values, the multi-package function malfunctions after startup and cannot be restored to the package definition value.

[0081] Embodiment 3 of the present invention proposes a device that uses a unified extensible firmware interface mechanism. After loading the default value mechanism, an operation point is added, and the flag variable for this package attribute is cleared. Thus, after the machine restarts, the package information in the field replaceable unit is re-acquired, and the corresponding input / output system configuration items are set according to the package information. This achieves the result of restoring the configuration option value corresponding to the package after loading the configuration items.

[0082] Embodiment 3 of the present invention proposes a device applicable to all AMD general-purpose computer system products, and thereby allows for more flexible processing of a wider range of configuration settings.

[0083] It should be noted that the present invention also provides an electronic device, including: a communication interface capable of interacting with other devices such as network devices; and a processor connected to the communication interface to enable information interaction with other devices, used to execute a configuration method for input / output system default values ​​provided by one or more of the above technical solutions when running a computer program, wherein the computer program is stored in a memory. In practical applications, the various components of the electronic device are coupled together through a bus system. It is understood that the bus system is used to realize the connection and communication between these components. In addition to a data bus, the bus system also includes a power bus, a control bus, and a status signal bus. The memory in the embodiments of this application is used to store various types of data to support the operation of the electronic device. Examples of this data include any computer program used to operate on the electronic device. It is understood that the memory can be volatile memory or non-volatile memory, or both. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), ferromagnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM); magnetic surface memory can be disk storage or magnetic tape storage. Volatile memory can be random access memory (RAM), which is used as an external cache.By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), SyncLink Dynamic Random Access Memory (SLDRAM), and Direct Rambus Random Access Memory (DRRAM). The memories described in the embodiments of this application are intended to include, but are not limited to, these and any other suitable types of memory. The methods disclosed in the embodiments of this application can be applied to or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by integrated logic circuits in the processor hardware or by instructions in software. The processor can be a general-purpose processor, a DSP (Digital Signal Processing, i.e., a chip capable of implementing digital signal processing technology), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. A general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of this application can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software modules can be located in a storage medium, which is located in memory. The processor reads the program from the memory and, in conjunction with its hardware, completes the steps of the aforementioned method. When the processor executes the program, it implements the corresponding processes in the various methods of the embodiments of this application; for simplicity, these will not be elaborated further here.

[0084] Example 4

[0085] The present invention also proposes a readable storage medium on which a computer program is stored, wherein when the computer program is executed by a processor, the following method steps are implemented:

[0086] After the input / output system performs the default value loading operation, it adds a process to clear the package flag variable and then restarts the server;

[0087] After the server restarts, the multi-package settings are executed. It is determined whether the flag variable has been set with a package customization value. If the flag variable has not been set with a package customization value, different packages are distinguished by the information in the field replaceable unit, and the flag variable value is updated.

[0088] Configure input / output system options according to different package requirements.

[0089] This is used to restore the input / output system option configuration value to the corresponding package mode when performing the default value loading operation when the server input / output system supports multiple package configurations.

[0090] like Figure 1 This is a flowchart of a method for configuring default values ​​of an input / output system according to Embodiment 1 of the present invention;

[0091] In step S100, the process begins.

[0092] In step S101, the input / output system performs a load default value operation. After the BIOS enters the Setup interface, pressing F9 to execute the Load Default operation will write the native default values ​​defined in the code into each configuration variable.

[0093] In step S102, the package flag variable is cleared, and then the server is restarted. After this operation is completed in step S101, the OemAfterLoadSetupDefaults function is triggered. This function performs actions after the Load Default operation is completed. Therefore, we can obtain the flag variable A in this function, clear it to zero at this stage, and then restart the machine to complete the entire Load Default process. In Embodiment 1 of this invention, the flag variable is represented by A. The scope of protection of this invention is not limited to the representation listed in Embodiment 1, and those skilled in the art can make reasonable settings as needed.

[0094] In step S103, multi-package settings are performed after the server restarts. This application performs multi-package settings via a multi-package setting function during the driver configuration environment stage after the server restarts.

[0095] The multi-package setting function uses the PlatformReConfigOnFru function. The scope of protection of this invention is not limited to the functions listed in Embodiment 1; other methods capable of implementing multi-package setting functionality are also within the scope of protection.

[0096] In step S104, it is determined whether the flag variable A is 0. In this application, if the flag variable A is not 0, it means that the package customization value has been set; if the flag variable A is 0, it means that the package customization value has not been set. If the flag variable A is not 0, then step S105 is executed; otherwise, step S106 is executed.

[0097] In step S105, the information in the FRU is used to distinguish different packages and update the value of the flag variable A, and then the BIOS configuration options are set according to the requirements of the package.

[0098] In step S106, the process ends. When the flag variable A is 0, the function processing is skipped. The reason for skipping the function processing is to ensure that the option values ​​can still be modified normally in the Setup menu after the package definition is completed. Otherwise, if this operation is performed every time the computer starts, the configuration value in the BIOS will only be the value that needs to be set in the package, instead of the value that is manually modified in the Setup interface, no matter how the user modifies it.

[0099] Embodiment 4 of the present invention proposes a storage medium that solves the problem in the prior art where, when loading default values, the multi-package function malfunctions after startup and cannot be restored to the package definition value.

[0100] Embodiment 4 of this invention proposes a storage medium that uses a unified scalable firmware interface mechanism. After loading the default value mechanism, an operation point is added, and the flag variable for this package attribute is cleared. Thus, after the machine restarts, the package information in the field replaceable unit is re-acquired, and the corresponding input / output system configuration items are set according to the package information. This achieves the result of restoring the configuration option value corresponding to the package after loading the configuration items.

[0101] Embodiment 4 of the present invention proposes a storage medium that is applicable to all AMD general-purpose computer system products and can thus be processed more flexibly for a wider range of configuration settings.

[0102] This application also provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, such as a memory that stores a computer program, which can be executed by a processor to complete the steps described in the aforementioned method. The computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM.

[0103] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROM, RAM, magnetic disks, or optical disks. Alternatively, if the integrated units of this application are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause an electronic device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROM, RAM, magnetic disks, or optical disks.

[0104] For a description of the relevant parts of the processing device and storage medium for configuring the default value of an input / output system provided in this application embodiment, please refer to the detailed description of the corresponding part in the method for configuring the default value of an input / output system provided in embodiment 1 of this application, and will not be repeated here.

[0105] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that the elements inherent in a process, method, article, or apparatus that includes a list of elements are included. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element. Additionally, portions of the technical solutions provided in the embodiments of this application that are consistent with the implementation principles of corresponding technical solutions in the prior art have not been described in detail to avoid excessive elaboration.

[0106] While specific embodiments of the present invention have been described above in conjunction with the accompanying drawings, this is not intended to limit the scope of protection of the present invention. Those skilled in the art can make other modifications or variations based on the above description. It is neither necessary nor possible to exhaustively describe all embodiments here. Various modifications or variations that can be made by those skilled in the art without creative effort based on the technical solutions of the present invention are still within the scope of protection of the present invention.

Claims

1. A method of configuring default values of an input / output system, characterized by, Includes the following steps: After the input / output system performs the default value loading operation, it adds a process to clear the package flag variable and then restarts the server; After the server restarts, the multi-package settings are executed. It is determined whether the flag variable has been set with a package customization value. If the flag variable has not been set with a package customization value, different packages are distinguished by the information in the field replaceable unit, and the flag variable value is updated. The process of setting up multiple packages after the server restarts includes: setting up multiple packages through a function to configure the multiple packages during the driver configuration environment stage after the server restarts. Configure input / output system options according to the different package requirements; The method is used to enable the input / output system to restore the default value to the corresponding package option value when multiple configurations are set; By employing a unified and extensible firmware interface mechanism, an operation point is added after the default value loading mechanism to clear the flag variable for the package attribute. This allows the package information in the field replaceable unit to be retrieved again after the machine restarts, and the corresponding input / output system configuration items to be set according to the package information. This achieves the result of restoring the configuration option value corresponding to the package after loading the configuration items.

2. The method of claim 1, wherein The method also includes not performing multiple package settings if the flag variable has already been set with a package customization value.

3. The method of claim 1, wherein The process of the input / output system performing the load default value operation includes: After entering the configuration interface of the input / output system, press F9 to load the default values.

4. The method of claim 1, wherein The method for adding the package flag variable is as follows: trigger the OemAfterLoadSetupDefaults function to obtain the flag variable, and add the flag variable clearing process.

5. The method of claim 1, wherein The multi-package setting function uses the PlatformReConfigOnFru function.

6. A configuration system of input / output system default values for carrying out the configuration method of input / output system default values according to any one of claims 1 to 5, characterized in that include: Add modules, update modules, and configure modules; The added module is used to add a clearing process for the package flag variable after the input / output system performs the load default value operation, and then restart the server; The update module is used to perform multi-package settings after the server restarts, determine whether the flag variable has been set with a package customization value, and if the flag variable has not been set with a package customization value, distinguish different packages by using information in the field replaceable unit and update the flag variable value. The settings module is used to set input / output system configuration options according to the different package requirements.

7. A configuration device for input / output system default values, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the steps of the method as described in any one of claims 1 to 5.

8. A configuration-readable storage medium for input / output system default values, characterized in that, The readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • System capable of loading BIOS preset configuration and method for loading BIOS preset configuration

    CN115113941A