A method of configuring options of a computer system and a product

By setting modification restriction options in the BIOS and implementing modification judgment policies, the problem of server product BIOS option configuration not meeting the test environment due to misoperation is solved, ensuring the accuracy and stability of the configuration.

CN119025158BActive Publication Date: 2025-10-10INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411523921.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2025-10-10
Estimated Expiration
2044-10-29

AI Technical Summary

Technical Problem

In the BIOS option configuration of server products, due to the large number of options, it is easy for human errors or false triggers to cause the configuration to be inconsistent with the test environment.

Method used

A method for configuring computer system options is provided. By setting a modification restriction option in the BIOS, the user's modification operation on the setting options is restricted, and a modification judgment policy is used to determine whether the modification is allowed, thereby ensuring that the configuration complies with the test environment.

Benefits of technology

This effectively prevents the problem of BIOS option configuration not meeting the test environment due to misoperation or mis-triggering, and improves the accuracy and stability of the configuration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119025158B_ABST
    Figure CN119025158B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a computer system option configuration method and product, and belongs to the technical field of computer systems, the method comprises the following steps: in response to a user's configuration operation, configuring any setting option in the basic input and output system of the computer system as a target option configuration; when the configuration of any setting option in the basic input and output system is completed, starting a modification restriction option of the basic input and output system, and the modification restriction option is used to prohibit the user from configuring any setting option of the basic input and output system after being started. The embodiment of the present application aims to prevent the setting option of the BIOS from being changed due to misoperation or mistriggering.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of computer systems, and more particularly, to a method and product for configuring options for a computer system. Background Art

[0002] With the rapid advancement of science and technology, server product technology has also developed rapidly. Relying on powerful computing power, strong security and compatibility, and especially reliable operational stability and other advantages, it has taken a leading position in the field of science and technology. The stability and flexible operability of server products are crucial in the actual application process. In the actual application of server products, customers or testers will change BIOS options in the server's BIOS (basic input and output system) interface, or change BIOS options through the SCE (Setup Control Environment, command-line tool) tool to adapt to the options required by various test environments. However, due to the large number of BIOS options, it is easy for human errors or mis-triggers to cause changes in BIOS options, resulting in settings that meet the current BIOS options not meeting the test environment. Summary of the Invention

[0003] Embodiments of the present application provide a method and product for configuring options of a computer system, which are intended to prevent BIOS options from being changed due to misoperation or mis-triggering.

[0004] In a first aspect, an embodiment of the present application provides a method for configuring options of a computer system, the method comprising:

[0005] In response to a configuration operation by a user, configuring any setting option in a basic input and output system of the computer system as a target option configuration;

[0006] When any setting option in the basic input and output system is configured, the modification restriction option of the basic input and output system is enabled. After being enabled, the modification restriction option is used to prohibit the user from configuring any setting option of the basic input and output system.

[0007] Optionally, in response to a configuration operation by the user, before configuring any setting option in the basic input and output system of the computer system as a target option configuration, the method further includes:

[0008] After the computer system is powered on, obtaining the current configuration of all setting options in the setting interface of the basic input and output system;

[0009] The current configuration of all setting options in the setting interface of the basic input and output system is stored.

[0010] Optionally, in response to a configuration operation by a user, configuring any setting option in a basic input / output system of the computer system as a target option configuration includes:

[0011] In response to a first configuration operation by the user, any pop-up window type setting option in the basic input and output system is configured as a target option configuration.

[0012] Optionally, in response to a configuration operation by a user, configuring any setting option in a basic input / output system of the computer system as a target option configuration includes:

[0013] In response to a second configuration operation by the user, any option-type setting option in the basic input and output system is configured as a target option configuration.

[0014] Optionally, in response to a configuration operation by a user, configuring any setting option in a basic input / output system of the computer system as a target option configuration includes:

[0015] In response to a third configuration operation by the user, any input digital setting option in the basic input and output system is configured as a target option configuration.

[0016] Optionally, after any setting option in the basic input / output system is configured, enabling the modification restriction option of the basic input / output system includes:

[0017] When any setting option in the basic input and output system is configured, the modification restriction option of the basic input and output system is enabled in response to a modification restriction operation of the user.

[0018] Optionally, in response to a configuration operation by a user, configuring any setting option in a basic input / output system of the computer system as a target option configuration includes:

[0019] In response to a user's test environment configuration operation, determining an environment to be tested;

[0020] Determine the target option configuration strategy corresponding to the environment to be tested among the preset option configuration strategies corresponding to different test environments;

[0021] Execute the target option configuration policy corresponding to the environment to be tested, and configure each setting option corresponding to the environment to be tested as a target option configuration.

[0022] Optionally, after any setting option in the basic input / output system is configured, enabling the modification restriction option of the basic input / output system includes:

[0023] When each setting option corresponding to the test environment is configured as the target option configuration, a configuration confirmation pop-up window is displayed;

[0024] In response to a user confirmation operation on the configuration confirmation pop-up window, a modification restriction option of the basic input and output system is enabled.

[0025] Optionally, after any setting option in the basic input / output system is configured and the modification restriction option of the basic input / output system is enabled, the method further includes:

[0026] When the modification restriction option of the basic input / output system is turned on, setting all setting options of the basic input / output system except the modification restriction option to a non-modification state;

[0027] The current configuration of all setting options of the basic input and output system is stored.

[0028] Optionally, after any setting option in the basic input / output system is configured and the modification restriction option of the basic input / output system is enabled, the method further includes:

[0029] The current state of the access level option of the main page in the setting page of the basic input and output system is set to an unmodifiable state.

[0030] Optionally, after any setting option in the basic input / output system is configured and the modification restriction option of the basic input / output system is enabled, the method further includes:

[0031] In response to the user's default value restoration operation, a pop-up window displays that the default value cannot be restored.

[0032] Optionally, after enabling the modification restriction option of the basic input / output system, the method further includes:

[0033] When, under the basic input and output system or the operating system, in response to a modification operation on any setting option in the basic input and output system, a modification judgment strategy is executed to determine whether to modify the setting option.

[0034] Optionally, executing the modification judgment strategy includes:

[0035] In the basic input and output system or operating system, monitoring whether there is a modification operation on any setting option in the basic input and output system;

[0036] When there is a modification operation for any setting option in the basic input and output system, it is determined whether to execute a first modification strategy or a second modification strategy, wherein the first modification strategy is used to determine whether to modify the modification restriction option; and the second modification strategy is used to determine whether to modify all setting options of the basic input and output system except the modification restriction option.

[0037] Optionally, when there is a modification operation for any setting option in the basic input / output system, determining whether to execute the first modification strategy or the second modification strategy includes:

[0038] When there is a modification operation for any setting option in the basic input and output system, determining whether the modification operation for the setting option is a modification operation for the modification restriction option;

[0039] If the modification operation is for the modification restriction option, executing the first modification strategy;

[0040] If the modification operation is not for the modification restriction option, the second modification strategy is executed.

[0041] Optionally, after any setting option in the basic input / output system is configured and the modification restriction option of the basic input / output system is enabled, the method further includes:

[0042] Display the verification code pop-up window;

[0043] In response to the user's setting operation on the verification code pop-up window, a target verification code is obtained and stored, and the target verification code is used to verify whether the modification restriction option is allowed to be modified.

[0044] Optionally, executing the first modification strategy includes:

[0045] When there is a modification operation on any setting option in the basic input and output system that is a modification operation on the modification restriction option, displaying a verification pop-up window;

[0046] In response to a user input operation on the verification pop-up window, obtaining a verification code to be verified;

[0047] When the check code to be checked is consistent with the target check code, the current configuration of the modification restriction option is modified.

[0048] Optionally, executing a second modification strategy includes:

[0049] When there is a modification operation on any setting option in the basic input and output system that is not a modification operation on the modification restriction option, determining a current configuration of the modification restriction option;

[0050] When the modification restriction option is turned on, a pop-up window will display that modification is prohibited;

[0051] When the modification restriction option is turned off, the setting option to be modified is modified in response to the modification operation of the setting option.

[0052] In a second aspect, an embodiment of the present application provides a computer system, the computer system including a basic input and output system, and the computer system is used to execute the option configuration method of the computer system described in the first aspect of the embodiment.

[0053] In a third aspect, an embodiment of the present application provides a computer device comprising: at least one processor, and a memory, wherein the memory stores a computer program that can be run on the processor, wherein when the processor executes the computer program, the option configuration method of the computer system described in the first aspect of the embodiment is executed.

[0054] In a fourth aspect, an embodiment of the present application provides a non-volatile readable storage medium, wherein the non-volatile readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the option configuration method of the computer system described in the first aspect of the embodiment is executed.

[0055] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the option configuration method of the computer system described in the first aspect of the embodiment.

[0056] Beneficial effects:

[0057] After the computer system is powered on, in response to a configuration operation by a user, any setting option in a basic input / output system of the computer system is configured as a target option configuration; when the configuration of any setting option in the basic input / output system is completed, a modification restriction option of the basic input / output system is enabled, and after the modification restriction option is enabled, the modification restriction option is used to stop the user from configuring any setting option of the basic input / output system.

[0058] In the option configuration method provided by this method, the user can set the setting options in the basic input and output system, i.e., BIOS, after the computer system is powered on. After the setting is completed, the modification operation of the BIOS setting options can be restricted by turning on the modification restriction option. When a modification operation for any setting option of the BIOS occurs subsequently, the modification judgment strategy is executed to determine whether to modify the setting option, thereby preventing the configured BIOS setting options from being changed due to misoperation or mistriggered after the BIOS setting option configuration is completed, resulting in the configuration of the BIOS setting options not meeting the test environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following is a brief introduction to the drawings required for use in the embodiments or related technology descriptions.

[0060] Figure 1 A flowchart showing the steps of the option configuration method provided in an embodiment of the present application is shown;

[0061] Figure 2 A flowchart showing the steps of executing a modification determination strategy in a basic input / output system provided by an embodiment of the present application is shown;

[0062] Figure 3 A flowchart of the steps for executing a modification judgment strategy in an operating system provided by an embodiment of the present application is shown;

[0063] Figure 4 A schematic diagram illustrating an execution of the option configuration method provided in an embodiment of the present application is shown;

[0064] Figure 5 A functional module diagram of an option configuration device provided in an embodiment of the present application is shown;

[0065] Figure 6 A schematic diagram of a computer system provided by an embodiment of the present application is shown;

[0066] Figure 7 An architectural diagram of a computer system provided by an embodiment of the present application is shown;

[0067] Figure 8 A schematic diagram of a computer device provided in an embodiment of the present application is shown;

[0068] Figure 9 A schematic diagram of a non-volatile readable storage medium provided in an embodiment of the present application is shown;

[0069] Figure 10 A schematic diagram of a computer program product provided by an embodiment of the present application is shown. DETAILED DESCRIPTION

[0070] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0071] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, each embodiment of the present application will be described in detail below with reference to the accompanying drawings. However, it will be understood by those skilled in the art that in each embodiment of the present application, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solutions claimed in the present application can be implemented. The division of the following embodiments is for convenience of description and should not constitute any limitation on the specific implementation of the present application. The various embodiments can be combined with each other and referenced to each other under the premise of no contradiction.

[0072] CPU: Central Processing Unit, central processing unit;

[0073] RMT: rank margin tool, memory stability test;

[0074] BIOS: basic input output system, basic input output system;

[0075] RAID: Redundant Arrays of Independent Disks, Redundant Array of Independent Disks;

[0076] SCE: Setup Control Environment, a command-line tool that updates BIOS NVRAM variables under the operating system;

[0077] OS:Operating System,operating system;

[0078] NVRAM: Non-Volatile Random Access Memory, a type of random access memory that can retain data after power failure.

[0079] With the rapid advancement of science and technology, server product technology has also developed rapidly. Relying on powerful CPU computing power, strong security and compatibility, and especially reliable operational stability and other advantages, it has taken a leading position in the field of science and technology.

[0080] The stability and flexible operability of server products are crucial in actual applications. In the actual application of server products, customers or testers will change BIOS options in the server's BIOS interface or use the SCE tool to change BIOS options to adapt to the options required by various test environments.

[0081] For server products, some test environments are quite complex. For example, RMT testing and hard disk group RAID testing require not only the preparation of complex external devices, but also a large number of options to be modified in the BIOS interface. After changing the BIOS options, the correct setting and verification of various changed configurations are necessary conditions for users to verify and use related functions.

[0082] However, due to the large number of BIOS options, it is easy for BIOS options to be changed due to human error or mis-triggering, resulting in the settings that meet the current BIOS options not meeting the test environment.

[0083] Therefore, in order to prevent users from changing the configured BIOS options due to misoperation or mistriggered changes, an embodiment of the present application provides an option configuration method for a computer system.

[0084] Reference Figure 1 , shows a flowchart of a method for configuring options of a computer system provided by an embodiment of the present application. The method is applied to a computer system, and the method may include the following steps:

[0085] S101: In response to a configuration operation by a user, any setting option in a basic input / output system of the computer system is configured as a target option configuration.

[0086] Due to different application environments or test environments, users may need to adaptively modify the basic input and output system (BIOS) configuration options of computer systems such as servers. After the computer system is powered on, users can configure the target option configuration of any setting option in the BIOS setup interface, i.e., the Setup interface.

[0087] In actual implementation, before modifying any setting option in the basic input / output system of the computer system, the method further includes: after the computer system is powered on, obtaining the current configuration of all setting options in the setting interface of the basic input / output system; and storing the current configuration of all setting options in the setting interface of the basic input / output system.

[0088] Specifically, the BIOS Setup interface provides multiple setting option controls, including pop-up type, option type and number input type setting options. The gray controls displayed on the Setup interface represent setting options that are not allowed to be modified, and the non-gray controls represent setting options that are allowed to be modified.

[0089] In order to facilitate viewing and recording the configuration of BIOS setting options before and after modification, the current configuration of all BIOS setting options in the initial state can be stored. For example, it can be stored in NVRAM, which is a non-volatile random access memory that can ensure that data is not lost after power failure.

[0090] In a feasible implementation manner, in the process of configuring any setting option in the basic input / output system as a target option configuration, the following steps may be performed:

[0091] In response to a first configuration operation by the user, any pop-up window type setting option in the basic input and output system is configured as a target option configuration.

[0092] In response to a second configuration operation by the user, any option-type setting option in the basic input and output system is configured as a target option configuration.

[0093] In response to a third configuration operation by the user, any input digital setting option in the basic input and output system is configured as a target option configuration.

[0094] That is, the user may be allowed to configure any pop-up type setting option, option type setting option, and number input type setting option according to actual application requirements, thereby configuring any setting option as a target option configuration.

[0095] In another feasible implementation, in order to improve the efficiency of configuration, in the process of configuring any setting option in the basic input and output system as a target option configuration, the environment to be tested can also be determined in response to the user's test environment configuration operation; in the option configuration strategies corresponding to the preset different test environments, the target option configuration strategy corresponding to the environment to be tested is determined; and the target option configuration strategy corresponding to the environment to be tested is executed to configure each setting option corresponding to the environment to be tested as a target option configuration.

[0096] That is, the user can store the option configuration strategies corresponding to different test environments in a non-volatile random access memory, such as NVRAM, in advance, and set the test environment setting options in the Setup interface of the BIOS. The test environment setting options can be set as option type setting options or input number type setting options.

[0097] In response to the user's test environment configuration operation for setting the test environment setting options, the environment to be tested is obtained, and then the target option configuration policy corresponding to the environment to be tested is matched and obtained in NVRAM. The target option configuration policy corresponding to the environment to be tested includes the target option configuration of each setting option required under the environment to be tested. By executing the target option configuration policy corresponding to the environment to be tested, the various setting options corresponding to the environment to be tested can be configured as target option configurations.

[0098] Compared with manually setting target option configurations of multiple setting options one by one according to the requirements of the test environment, the efficiency of setting option configuration can be improved.

[0099] S102: When any setting option in the basic input and output system is configured, a modification restriction option of the basic input and output system is enabled. After being enabled, the modification restriction option is used to stop the user from configuring any setting option in the basic input and output system.

[0100] In this method, a modification restriction option is added to the setting options of the BIOS of the computer system, such as a Prevent Change System Configuration option. The modification restriction option includes enabling the configuration and disabling the configuration.

[0101] In actual implementation, the modification restriction option is set to Disabled by default in the BIOS. After the user sets the configuration of the setting options to adapt to the test environment of the computer system, if the configuration settings of the setting options need to be saved to prevent accidental changes to the configured option settings, the modification restriction option is changed to Enabled. After the modification restriction option is set to Enabled, the setting options on all pages of the BIOS Setup interface only have the viewing function except the modification restriction option, and the modification function is not provided. That is, except for the modification restriction option, other setting options in the BIOS Setup interface are gray and cannot be modified.

[0102] In a feasible implementation manner, if the user configures the setting options one by one, after the configuration of any setting option in the basic input and output system is completed, the modification restriction option of the basic input and output system is turned on in response to the user's modification restriction operation, that is, whether the modification restriction option is configured to be turned on is determined by the user.

[0103] In another feasible implementation, if the method of automatically configuring each setting option according to the target option configuration policy of the test environment is adopted, when the various setting options corresponding to the test environment are configured as the target option configuration, a configuration confirmation pop-up window can be displayed. The configuration confirmation pop-up window can include the various setting options that have been configured in the test environment and the current configuration of each setting option, so that the user can review whether there are any errors in the configuration of the setting options.

[0104] In response to the user's confirmation operation on the configuration confirmation pop-up window, the modification restriction option of the basic input and output system is turned on. When the user confirms that the configuration of the setting option is correct and then performs a confirmation operation on the configuration confirmation pop-up window, the modification restriction option can be configured to be turned on.

[0105] When the modification restriction option of the basic input / output system is turned on, all setting options of the basic input / output system except the modification restriction option are set to a non-modification state. For example, when the modification restriction option is configured to be turned on, the setting options on all pages of the BIOS Setup interface only have a viewing function except the modification restriction option, and no modification function is provided. For example, other setting options in the Setup interface are displayed in a gray and non-modifiable state.

[0106] At this time, the current configuration of all setting options of the basic input and output system is stored, that is, the current configuration of all setting options of the modified BIOS is backed up, such as in NVRAM, to facilitate the user to find the backed-up setting option configuration and perform subsequent maintenance and troubleshooting operations.

[0107] In a feasible implementation manner, after the configuration of any setting option in the basic input and output system is completed and the modification restriction option of the basic input and output system is enabled, the current state of the access level option of the main page in the setting page of the basic input and output system can also be set to an unmodifiable state.

[0108] Specifically, in the Setup interface of the BIOS, the Main page includes an access level option, namely, Access Level. When the modification restriction option is configured to be enabled, the state value of the access level option Access Level is an unmodifiable state, namely, an Unmodifiable state.

[0109] The Main page includes an access level option. The status value of Access Level can remind the user that the BIOS setting options are currently in an unmodifiable state, so as to prompt other users that they cannot currently modify the configuration of the BIOS setting options.

[0110] When the configuration of any setting option in the basic input and output system is completed and the modification restriction option of the basic input and output system is turned on, it indicates that modification of various setting options in the current BIOS has been restricted except for the modification restriction option. If the user responds to the default value restoration operation at this time, a pop-up window will be displayed indicating that the default value cannot be restored.

[0111] In actual implementation, the user's default value restoration operation includes triggering the F9 hotkey. The F9 hotkey is used to restore the setting options in the BIOS Setup interface to the default values. If the user triggers the F9 hotkey, the setting options in the BIOS Setup interface cannot be restored to the default values ​​because the modification restriction option is in the enabled configuration at this time. A pop-up window may be displayed indicating that the default values ​​cannot be restored to remind the user that the modification of the current setting options has been restricted.

[0112] In the option configuration method provided by this method, the user can set the setting options in the basic input and output system (BIOS) after the computer system is powered on. After the setting is completed, the modification restriction option can be enabled to limit the modification operation of the BIOS setting options, thereby avoiding the problem of changing the target configuration options instead of the application test environment due to erroneous operation.

[0113] In a feasible implementation, after the modification restriction option of the basic input / output system is enabled, the BIOS setting options may need to be modified or adjusted according to actual application requirements. Therefore, the method further includes: when responding to a modification operation on any setting option in the basic input / output system, executing a modification judgment strategy to determine whether to modify the setting option.

[0114] The modification operation of BIOS setting options includes the modification of setting options in BIOS and OS system.

[0115] In a feasible implementation, in a BIOS environment, if the configuration of the BIOS setting options has been completed and the modification restriction option is enabled, it is necessary to modify any setting option in the BIOS according to actual application requirements, or when the configuration of the BIOS setting options needs to be modified the next time the computer system is powered on, since the modification restriction option is enabled, it is necessary to execute a modification judgment strategy to determine whether the modification operation of any setting option in the basic input and output system is allowed to modify the setting option.

[0116] Reference Figure 2 , shows a flowchart of the steps of executing a modification judgment strategy in a basic input / output system provided by an embodiment of the present application. For example, executing the modification judgment strategy may include the following steps:

[0117] A1: In the basic input and output system, monitoring whether there is a modification operation on any setting option in the basic input and output system.

[0118] A2: When there is a modification operation for any setting option in the basic input and output system, it is determined whether to execute the first modification strategy or the second modification strategy.

[0119] Specifically, when there is a modification operation for any setting option in the basic input and output system, it is determined whether the modification operation for the setting option is a modification operation for the modification restriction option.

[0120] If the modification operation is for the modification restriction option, a first modification strategy is executed, where the first modification strategy is used to determine whether to modify the modification restriction option.

[0121] If the modification operation is not for the modification restriction option, a second modification strategy is executed, wherein the second modification strategy is used to determine whether to modify the setting options other than the modification restriction option in all the setting options of the basic input and output system.

[0122] In a feasible embodiment, executing the first modification strategy includes verifying the modification operation on the modification restriction option. For example, the verification includes user authority verification, etc. When the modification restriction option of the basic input and output system is turned on, the user authority range allowed for modification can be obtained. If the configuration of the modification restriction option needs to be modified, then after responding to the modification operation on the modification restriction option, the current user authority is obtained, and the current user authority is compared with the user authority range allowed for modification to determine whether the current user has the authority to modify the modification restriction option.

[0123] Specifically, verifying the modification operation on the modification restriction option may further include:

[0124] Display a verification code pop-up window; in response to the user's setting operation on the verification code pop-up window, obtain and store a target verification code, wherein the target verification code is used to verify whether the modification restriction option is allowed to be modified.

[0125] When executing the first modification strategy, when there is a modification operation on any setting option in the basic input and output system, which is a modification operation on the modification restriction option, a verification pop-up window is displayed; in response to the user's input operation on the verification pop-up window, a verification code to be verified is obtained; when the verification code to be verified is consistent with the target verification code, the current configuration of the modification restriction option is modified.

[0126] In a feasible implementation, executing the second modification strategy includes:

[0127] When there is a modification operation on any setting option in the basic input and output system that is not a modification operation on the modification restriction option, the current configuration of the modification restriction option is determined.

[0128] When the modification restriction option is turned on, a pop-up window will display that modification is prohibited.

[0129] When the modification restriction option is turned off, the setting option to be modified is modified in response to the modification operation of the setting option.

[0130] In a feasible implementation, in an OS environment, the SCE tool can modify the configuration of any setting option in the BIOS.

[0131] Reference Figure 3 , shows a flowchart of the steps of executing a modification judgment strategy in an operating system provided by an embodiment of the present application. For example, executing a modification judgment strategy in an OS system may include the following steps:

[0132] B1: In the operating system, monitoring whether there is a modification operation on any setting option in the basic input and output system.

[0133] For example, the SCE tool can be used to determine whether any operation performed by the user is a modification operation of any setting option.

[0134] B2: When there is a modification operation for any setting option in the basic input and output system, determining whether to execute the first modification strategy or the second modification strategy.

[0135] When the SCE tool determines that any operation of the user is a modification operation of any setting option, an SMI interrupt is executed to determine whether the modification operation of the setting option is a modification operation for the modification restriction option.

[0136] If the modification operation is for the modification restriction option, a first modification strategy is executed to determine whether to modify the modification restriction option.

[0137] If the modification operation is not for the modification restriction option, a second modification strategy is executed to determine whether to modify the setting options other than the modification restriction option.

[0138] In a feasible implementation, when executing the first modification strategy, when there is a modification operation on any setting option in the basic input and output system, which is a modification operation on the modification restriction option, a verification pop-up window is displayed; in response to the user's input operation on the verification pop-up window, a verification code to be verified is obtained; when the verification code to be verified is consistent with the target verification code, the current configuration of the modification restriction option is modified.

[0139] In a feasible implementation, executing the second modification strategy includes:

[0140] When there is a modification operation on any setting option in the basic input and output system that is not a modification operation on the modification restriction option, the current configuration of the modification restriction option is determined; when the modification restriction option is turned on, a pop-up window is displayed indicating that modification is prohibited; when the modification restriction option is turned off, the setting option to be modified is modified in response to the modification operation of the setting option.

[0141] Reference Figure 4 , shows a schematic diagram of the execution of a computer system option configuration method provided by an embodiment of the present application. After the computer system is powered on, in the basic input and output system, after the target option configuration of any setting option is completed, the modification restriction option is enabled.

[0142] In the basic input and output system, except for the modification restriction option, the other setting options only have a viewing function; when responding to a modification operation on any setting option in the basic input and output system, a modification judgment strategy is executed to determine whether to modify the setting option.

[0143] In the operating system, a command line tool such as an SCE tool is used to determine whether there is a modification operation for any setting option in the basic input and output system, and a modification determination strategy is executed to determine whether to modify the setting option.

[0144] In this method, after the user has completed setting the setting options in the BIOS after the computer system is powered on, the modification restriction option can be turned on to limit the modification operation of the BIOS setting options. When a modification operation for any setting option of the BIOS occurs, the modification judgment strategy is executed to determine whether to modify the setting option, thereby preventing the configured BIOS setting options from being changed due to misoperation or mistriggered after the BIOS setting option configuration is completed, resulting in the configuration of the BIOS setting options not meeting the test environment.

[0145] Reference Figure 5 , shows a functional module diagram of an option configuration device for a computer system provided in an embodiment of the present application, the device comprising:

[0146] The configuration module 100 is configured to configure any setting option in the basic input and output system of the computer system as a target option configuration in response to a configuration operation by a user;

[0147] The enabling module 200 is used to enable the modification restriction option of the basic input and output system after the configuration of any setting option in the basic input and output system is completed. After being enabled, the modification restriction option is used to stop the user from configuring any setting option of the basic input and output system.

[0148] Optionally, the device further comprises:

[0149] The first backup module is used to obtain the current configuration of all setting options in the setting interface of the basic input and output system after the computer system is powered on; and store the current configuration of all setting options in the setting interface of the basic input and output system.

[0150] Optionally, the configuration module includes:

[0151] The first configuration unit is configured to configure any pop-up window type setting option in the basic input and output system as a target option configuration in response to a first configuration operation of the user.

[0152] Optionally, the configuration module includes:

[0153] The second configuration unit is configured to configure any option-type setting option in the basic input and output system as a target option configuration in response to a second configuration operation by the user.

[0154] Optionally, the configuration module includes:

[0155] The third configuration unit is configured to configure any input digital setting option in the basic input and output system as a target option configuration in response to a third configuration operation by the user.

[0156] Optionally, the opening module includes:

[0157] The first enabling unit is configured to enable the modification restriction option of the basic input / output system in response to a modification restriction operation of the user after configuration of any setting option in the basic input / output system is completed.

[0158] Optionally, the configuration module includes a fourth configuration unit, configured to:

[0159] In response to a user's test environment configuration operation, determining an environment to be tested;

[0160] Determine the target option configuration strategy corresponding to the environment to be tested among the preset option configuration strategies corresponding to different test environments;

[0161] Execute the target option configuration policy corresponding to the environment to be tested, and configure each setting option corresponding to the environment to be tested as a target option configuration.

[0162] Optionally, the opening module includes a second opening unit, configured to:

[0163] When each setting option corresponding to the test environment is configured as the target option configuration, a configuration confirmation pop-up window is displayed;

[0164] In response to a user confirmation operation on the configuration confirmation pop-up window, a modification restriction option of the basic input and output system is enabled.

[0165] Optionally, the device further includes a second backup module, configured to:

[0166] When the modification restriction option of the basic input / output system is turned on, setting all setting options of the basic input / output system except the modification restriction option to a non-modification state;

[0167] The current configuration of all setting options of the basic input and output system is stored.

[0168] Optionally, the device further comprises:

[0169] The changing module is used to set the current state of the access level option of the main page in the setting page of the basic input and output system to an unmodifiable state.

[0170] Optionally, the device further comprises:

[0171] The restoration module is used to respond to the user's default value restoration operation and display a pop-up window indicating that the default value cannot be restored.

[0172] Optionally, the device further comprises:

[0173] The modification module is used to execute a modification judgment strategy to determine whether to modify any setting option in the basic input and output system in response to a modification operation on the setting option.

[0174] Optionally, the modification module includes:

[0175] A monitoring unit, configured to monitor, under the basic input and output system or the operating system, whether there is a modification operation on any setting option in the basic input and output system;

[0176] a judgment unit, configured to judge whether to execute a first modification strategy or a second modification strategy when there is a modification operation on any setting option in the basic input / output system, wherein the first modification strategy is used to determine whether to modify the modification restriction option; and the second modification strategy is used to determine whether to modify the setting options other than the modification restriction option in all setting options of the basic input / output system.

[0177] Optionally, the judging unit is further configured to:

[0178] When there is a modification operation for any setting option in the basic input and output system, it is judged whether the modification operation of the setting option is a modification operation for the modification restriction option;

[0179] If it is a modification operation for the modification restriction option, a first modification strategy is executed;

[0180] If it is not a modification operation for the modification restriction option, a second modification strategy is executed.

[0181] Optionally, the apparatus further comprises a target verification code obtaining module, configured to:

[0182] display a verification code pop-up window;

[0183] In response to a setting operation of a user for the verification code pop-up window, a target verification code is obtained and stored, the target verification code being used to verify whether the modification restriction option is allowed to be modified.

[0184] Optionally, the modification module comprises a first modification unit, configured to:

[0185] When there is a modification operation for any setting option in the basic input and output system, it is judged whether the modification operation of the setting option is a modification operation for the modification restriction option;

[0186] In response to an input operation of a user for the verification pop-up window, a verification code to be verified is obtained;

[0187] When the verification code to be verified is consistent with the target verification code, the current configuration of the modification restriction option is modified.

[0188] Optionally, the modification module comprises a second modification unit, configured to:

[0189] When there is a modification operation for any setting option in the basic input and output system, it is judged whether the modification operation of the setting option is a modification operation for the modification restriction option;

[0190] When the modification restriction option is turned on, the pop-up window displays a prohibition of modification;

[0191] When the modification restriction option is turned off, in response to the modification operation of the setting option, the setting option to be modified is modified.

[0192] Referring to Figure 6 , a schematic diagram of a computer system is shown, the computer system comprising a basic input and output system, the computer system being used to execute an option configuration method of the computer system.

[0193] Referring to Figure 7 , shows an architecture diagram of a computer system provided by an embodiment of the present application, wherein the computer system executes the option configuration method of the computer system described in this embodiment, and the computer system includes a basic input and output system (BIOS) and an operating system (OS). After the computer system is turned on, the user can configure any setting option in the BIOS as a target option configuration through a configuration operation, and then enable the modification restriction option configuration of the BIOS in response to the user's modification restriction operation; or configure each setting option of the BIOS as a target option configuration corresponding to the environment to be tested in response to the user's test environment configuration operation, and enable the modification restriction option after confirmation by the user.

[0194] After the modification restriction option is turned on, if the user modifies the configuration of any setting option in the BIOS, in response to the user's modification operation on any setting option, the modification judgment strategy can be executed to determine whether to modify the configuration option; or when the user modifies the configuration of any setting option under the OS, in response to the user's modification operation on any setting option, the modification operation of any setting option can be monitored through a command line tool such as the SCE tool, and after executing the modification judgment strategy, when it is determined that any setting option in the BIOS can be modified, the SCE tool can modify the setting option in the BIOS setting options.

[0195] Reference Figure 8 , shows a schematic diagram of a computer device provided in an embodiment of the present application, including: at least one processor 801, and a memory 802, wherein the memory 802 stores a computer program that can be run on the processor 801, wherein the processor 801 executes the option configuration method of the computer system described in the embodiment when executing the computer program.

[0196] Reference Figure 9 , shows a schematic diagram of a non-volatile readable storage medium provided in an embodiment of the present application, wherein the non-volatile readable storage medium 900 stores a computer program 901, wherein when the computer program 901 is executed by a processor, the option configuration method of the computer system described in the embodiment is executed.

[0197] Reference Figure 10 , shows a schematic diagram of a computer program product provided in an embodiment of the present application, wherein the computer program product 1000 includes a computer program / instruction 1001, which, when executed by a processor, implements the option configuration method of the computer system described in the embodiment.

[0198] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0199] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, devices, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0200] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0201] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0202] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0203] Although preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they become aware of the basic inventive concepts. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0204] Finally, it needs to be pointed out that in this document, relational terms such as first and second and the like can only be intended to distinguish one entity or operation from another entity or operation without necessarily requiring or implying any actual such relationship or order between such entities or operations. Moreover, the terms "comprising", "comprising" or any other variations thereof are intended to cover non-exclusive inclusions, so that a process, method, article or terminal device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such a process, method, article or terminal device. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of additional identical elements in the process, method, article or terminal device comprising the element.

[0205] The principles and implementation manners of the present application are described by applying specific examples in this document, and the above example descriptions are only used to help understand the method and its core idea of the present application; meanwhile, for the general technical personnel in the art, the specific implementation manners and application ranges will be changed according to the idea of the present application, and the above description should not be understood as the limitation of the present application.

Claims

1. A method for configuring options of a computer system, characterized in that: The method comprises: In response to a configuration operation by a user, configuring any setting option in a basic input / output system of the computer system as a target option configuration, wherein the target option configuration is adapted to an application environment or a test environment of the computer system; After configuration of any setting option in the basic input / output system is completed, in response to a modification restriction operation of a user, or in response to a confirmation operation of a user on a configuration confirmation pop-up window, enabling the modification restriction option of the basic input / output system, wherein the modification restriction option, after being enabled, is used to prohibit the user from configuring any setting option of the basic input / output system, and to set the current state of the access level option on the main page of the setting page of the basic input / output system to an unmodifiable state, obtaining a target verification code and storing or obtaining a user authority range that is allowed to modify, wherein the target verification code is used to verify whether modification of the modification restriction option is allowed; When responding to a modification operation on any setting option in the basic input and output system, a modification judgment strategy is executed to determine whether to modify the setting option, wherein the modification operation on the modification restriction option is verified, wherein: when the modification operation is a modification operation on the modification restriction option, a verification code to be verified is obtained, and when the verification code to be verified is consistent with the target verification code, or the current user authority is obtained, the current user authority is compared with the user authority range allowed to be modified, and when it is determined that the current user has the authority to modify the modification restriction option, the current configuration of the modification restriction option is modified; when the modification operation is not a modification operation on the modification restriction option, the current configuration of the modification restriction option is determined; when the modification restriction option is turned on, a pop-up window displays that modification is prohibited; when the modification restriction option is turned off, the setting option to be modified is modified in response to the modification operation of the setting option.

2. The method according to claim 1, characterized in that Before configuring any setting option in the basic input and output system of the computer system as a target option configuration in response to a configuration operation by the user, the method further includes: After the computer system is powered on, obtaining the current configuration of all setting options in the setting interface of the basic input and output system; The current configuration of all setting options in the setting interface of the basic input and output system is stored.

3. The method according to claim 1, characterized in that In response to a configuration operation by a user, configuring any setting option in a basic input / output system of the computer system as a target option configuration comprises: In response to a first configuration operation by the user, any pop-up window type setting option in the basic input and output system is configured as a target option configuration.

4. The method according to claim 3, characterized in that In response to a configuration operation by a user, configuring any setting option in a basic input / output system of the computer system as a target option configuration comprises: In response to a second configuration operation by the user, any option-type setting option in the basic input and output system is configured as a target option configuration.

5. The method according to claim 4, characterized in that In response to a configuration operation by a user, configuring any setting option in a basic input / output system of the computer system as a target option configuration comprises: In response to a third configuration operation by the user, any input digital setting option in the basic input and output system is configured as a target option configuration.

6. The method according to claim 5, characterized in that After any setting option in the basic input and output system is configured, the modification restriction option of the basic input and output system is enabled, including: When any setting option in the basic input and output system is configured, the modification restriction option of the basic input and output system is enabled in response to a modification restriction operation of the user.

7. The method according to claim 1, characterized in that In response to a configuration operation by a user, configuring any setting option in a basic input / output system of the computer system as a target option configuration comprises: In response to a user's test environment configuration operation, determining an environment to be tested; Determine the target option configuration strategy corresponding to the environment to be tested among the preset option configuration strategies corresponding to different test environments; Execute the target option configuration policy corresponding to the environment to be tested, and configure each setting option corresponding to the environment to be tested as a target option configuration.

8. The method according to claim 7, characterized in that After any setting option in the basic input and output system is configured, the modification restriction option of the basic input and output system is enabled, including: When each setting option corresponding to the test environment is configured as the target option configuration, a configuration confirmation pop-up window is displayed; In response to a user confirmation operation on the configuration confirmation pop-up window, a modification restriction option of the basic input and output system is enabled.

9. The method according to claim 6 or 8, characterized in that After any setting option in the basic input and output system is configured, and the modification restriction option of the basic input and output system is enabled, the method further includes: When the modification restriction option of the basic input / output system is turned on, setting all setting options of the basic input / output system except the modification restriction option to a non-modification state; The current configuration of all setting options of the basic input and output system is stored.

10. The method according to claim 1, characterized in that After any setting option in the basic input and output system is configured, and the modification restriction option of the basic input and output system is enabled, the method further includes: In response to the user's default value restoration operation, a pop-up window displays that the default value cannot be restored.

11. The method according to claim 1, wherein After enabling the modification restriction option of the basic input / output system, the method further includes: When, under the basic input and output system or the operating system, in response to a modification operation on any setting option in the basic input and output system, a modification judgment strategy is executed to determine whether to modify the setting option.

12. The method according to claim 11, characterized in that Execution modification judgment strategies include: In the basic input and output system or operating system, monitoring whether there is a modification operation on any setting option in the basic input and output system; When there is a modification operation for any setting option in the basic input and output system, it is determined whether to execute a first modification strategy or a second modification strategy, wherein the first modification strategy is used to determine whether to modify the modification restriction option; and the second modification strategy is used to determine whether to modify all setting options of the basic input and output system except the modification restriction option.

13. The method according to claim 12, characterized in that When there is a modification operation for any setting option in the basic input and output system, determining whether to execute the first modification strategy or the second modification strategy includes: When there is a modification operation for any setting option in the basic input and output system, determining whether the modification operation for the setting option is a modification operation for the modification restriction option; If the modification operation is for the modification restriction option, executing the first modification strategy; If the modification operation is not for the modification restriction option, the second modification strategy is executed.

14. The method according to claim 13, characterized in that After any setting option in the basic input and output system is configured, and the modification restriction option of the basic input and output system is enabled, the method further includes: Display the verification code pop-up window; In response to the user's setting operation on the verification code pop-up window, a target verification code is obtained and stored, and the target verification code is used to verify whether the modification restriction option is allowed to be modified.

15. The method according to claim 14, characterized in that Execute the first modification strategy, including: When there is a modification operation on any setting option in the basic input and output system that is a modification operation on the modification restriction option, displaying a verification pop-up window; In response to a user input operation on the verification pop-up window, obtaining a verification code to be verified; When the check code to be checked is consistent with the target check code, the current configuration of the modification restriction option is modified.

16. The method according to claim 13, characterized in that Execute the second modification strategy, including: When there is a modification operation on any setting option in the basic input and output system that is not a modification operation on the modification restriction option, determining a current configuration of the modification restriction option; When the modification restriction option is turned on, a pop-up window will display that modification is prohibited; When the modification restriction option is turned off, the setting option to be modified is modified in response to the modification operation of the setting option.

17. A computer system, characterized in that: The computer system includes a basic input and output system, and is used to execute the option configuration method of the computer system according to any one of claims 1 to 16.

18. A computer device, characterized in that: include: At least one processor and a memory, wherein the memory stores a computer program that can be run on the processor, wherein when the processor executes the computer program, the option configuration method of the computer system according to any one of claims 1 to 16 is executed.

19. A non-volatile readable storage medium, characterized in that: The non-volatile readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the option configuration method of the computer system according to any one of claims 1 to 16 is executed.

20. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instruction is executed by a processor, the method for configuring options of a computer system according to any one of claims 1 to 16 is implemented.

Citation Information

Patent Citations

  • RMT option configuration method and device, equipment and storage medium

    CN116467124A

  • Application permission management method and device, electronic equipment and readable storage medium

    CN116669039A

  • BIOS configuration option configuration method and device, server and storage medium

    CN117389652A