BIOS (Basic Input / Output System) configuration item association configuration modification method and device, equipment and medium
By obtaining and filtering BIOS configuration items and their default values, displaying and updating the BIOS configuration item list, it solves the problem of differences in BIOS configuration items in different projects and platforms, and improves user work efficiency and configuration item management efficiency.
Patent Information
- Application Number
- CN202410703578.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-08-30
AI Technical Summary
In different projects and platforms, the configuration names and option values of BIOS configuration items are different, causing users to need to understand multiple configuration items when modifying BIOS configuration items, which increases the workload and reduces work efficiency.
By obtaining the target test items input by the user, the multiple BIOS configuration items associated with the target test items and their default values are filtered out from the BIOS data file, displayed on the user interface, and updated in response to the user's confirmation instructions or modification operations. A list of configuration items that can be modified once or permanently and synchronized to other devices when necessary.
It improves users' work efficiency when modifying BIOS configuration items. By automatically filtering and updating configuration items, it reduces the user's manual steps and improves the management efficiency and consistency of BIOS configuration items.
Smart Images

Figure CN118567727A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of server technology, and in particular to a method, device, equipment and medium for modifying associated configuration of BIOS configuration items. Background Art
[0002] The Basic Input Output System (BIOS) is the first program that runs when the server starts up. It can be used to initialize hardware devices and start the operating system. The BIOS setup interface includes multiple BIOS configuration items. In the development or testing phase, it is often necessary to modify the BIOS configuration items. Especially when performing some fault tests or performance tests, there will be many BIOS configuration items that need to be modified by the development or test personnel according to the test requirements.
[0003] When modifying BIOS configuration items, users need to understand the configuration name of the BIOS configuration item and the option value that needs to be set. However, the configuration name and option value of the same BIOS configuration item in different projects and different platforms may be different. Currently, users modify the BIOS configuration corresponding to the test item one by one after understanding it, which undoubtedly brings a lot of workload and reduces the user's work efficiency. Summary of the invention
[0004] The present invention provides a BIOS configuration item association configuration modification method, device, equipment and medium, so as to achieve the purpose of improving the work efficiency of users.
[0005] The present invention provides a method for modifying BIOS configuration item association configuration, comprising: obtaining a target test item input by a user; screening out multiple target BIOS configuration items associated with an identifier of the target test item and a default value that needs to be set for each of the target BIOS configuration items when the target test item is executed from a data file of a basic input / output system BIOS; the identifiers of multiple different test items and the default value that needs to be set for each of the BIOS configuration items associated with the identifier of each test item when the test item is executed are added to the data file of the BIOS during the development of the BIOS firmware; displaying multiple target BIOS configuration items and the default value of each of the target BIOS configuration items on a user interface; responding to a confirmation instruction input by the user, restarting a server, and updating a configuration item list of the BIOS based on the default values of the multiple target BIOS configuration items associated with the identifier of the target test item.
[0006] A BIOS configuration item associated configuration modification method provided by the present invention also includes: obtaining optional values of each of the target BIOS configuration items; displaying the optional values of each of the target BIOS configuration items on the user interface; responding to a modification operation of the user under the prompt of the optional value of the target BIOS configuration item when the default value of the target BIOS configuration item does not meet the test requirements, modifying the default value of the target BIOS configuration item on the user interface; determining that the modification operation is a single modification operation; restarting the server, and updating the BIOS configuration item list based on the current default values of multiple target BIOS configuration items associated with the identifier of the target test item.
[0007] According to a BIOS configuration item associated configuration modification method provided by the present invention, the method further includes: in response to the user's new operation, adding a new target BIOS configuration item and a default value of the new target BIOS configuration item in the user interface; determining that the new operation is a single modification operation; restarting the server, and updating the BIOS configuration item list based on the default values of multiple target BIOS configuration items associated with the target test item and the default value of the new target BIOS configuration item.
[0008] A method for modifying the associated configuration of BIOS configuration items provided in accordance with the present invention also includes: obtaining optional values of each of the target BIOS configuration items; displaying the optional values of each of the target BIOS configuration items on the user interface; in response to a modification operation of the user under the prompt of the optional value of the target BIOS configuration item when the default value of the target BIOS configuration item does not meet the test requirements, modifying the default value of the target BIOS configuration item on the user interface; determining that the modification operation is a permanent modification operation; reversely refreshing the modified default value of the target BIOS configuration item to a data file of the BIOS; restarting the server, and updating the configuration item list of the BIOS based on the current default values of multiple target BIOS configuration items associated with the target test item.
[0009] A BIOS configuration item associated configuration modification method provided by the present invention also includes: in response to the user's new operation, adding a new target BIOS configuration item and a default value of the new target BIOS configuration item in the user interface; determining that the new operation is a permanent modification operation; reversely refreshing the newly added new target BIOS configuration item and the default value of the new target BIOS configuration item to the data file of the BIOS; restarting the server, and updating the BIOS configuration item list based on the default values of multiple target BIOS configuration items associated with the target test item and the default value of the new target BIOS configuration item.
[0010] A BIOS configuration item associated configuration modification method provided by the present invention also includes: after determining that this operation is a single modification operation, determining whether synchronization to other devices is required; if synchronization to the other devices is required, obtaining the IP address of the other devices input by the user; exporting a list of BIOS configuration items associated with the single modification operation and the updated identification of the test item as a first target file; synchronizing the first target file to the other devices based on the IP addresses of the other devices, so that the other devices perform a single modification on the corresponding BIOS configuration items of the other devices based on the first target file, and restarting the present device and the other devices at the same time ; After determining that this operation is a permanent modification operation, determine whether it needs to be synchronized to other devices; if synchronization to the other devices is required, obtain the IP address of the other device entered by the user; export the list of BIOS configuration items associated with the permanent modification operation and the updated identifier of the test item as a second target file; synchronize the second target file to the other device based on the IP address of the other device, so that the other device reversely refreshes the list of BIOS configuration items associated with the updated identifier of the test item to the data file of the BIOS of the other device based on the second target file, and restarts the present device and the other device at the same time.
[0011] According to a BIOS configuration item associated configuration modification method provided by the present invention, it also includes: for each of the target BIOS configuration items, obtaining the first-level menu directory to the last-level menu directory of the target BIOS configuration item as the menu level directory of the target BIOS configuration item; and displaying the menu level directory of each of the target BIOS configuration items on the user interface.
[0012] The present invention also provides a BIOS configuration item associated configuration modification device, comprising: an acquisition module, used to acquire a target test item input by a user; a screening module, used to screen out multiple target BIOS configuration items associated with the identifier of the target test item and the default value that needs to be set for each target BIOS configuration item when executing the target test item from a data file of a basic input and output system BIOS; the identifiers of multiple different test items and the default value that needs to be set for each BIOS configuration item associated with the identifier of each test item when executing the test item are added to the data file of the BIOS during the BIOS firmware development process; a display module, used to display multiple target BIOS configuration items and the default value of each target BIOS configuration item on a user interface; and a restart module, used to respond to a confirmation instruction input by the user, restart the server, and update the configuration item list of the BIOS based on the default values of the multiple target BIOS configuration items associated with the identifier of the target test item.
[0013] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for modifying the associated configuration of BIOS configuration items as described in any one of the above is implemented.
[0014] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method for modifying the associated configuration of BIOS configuration items as described above is implemented.
[0015] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method for modifying the associated configuration of BIOS configuration items as described above is implemented.
[0016] The BIOS configuration item association configuration modification method, device, equipment and medium provided by the present invention first obtain a target test item input by a user; then, since multiple identifiers of different test items and the default value of each BIOS configuration item associated with the identifier of each test item that needs to be set when executing the test item are added to the BIOS data file during the BIOS firmware development process, multiple target BIOS configuration items associated with the identifier of the target test item and the default value of each target BIOS configuration item that needs to be set when executing the target test item can be quickly screened out from the BIOS data file; then, multiple target BIOS configuration items and the default value of each target BIOS configuration item are displayed on a user interface for the user to view; finally, in response to a confirmation instruction input by the user, the server is restarted, and the BIOS configuration item list can be automatically updated based on the default values of the multiple target BIOS configuration items associated with the identifier of the target test item, thereby improving the user's work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 The present invention provides a flowchart of a method for modifying BIOS configuration item association configurations provided by an embodiment of the present invention.
[0019] Figure 2 It is a schematic diagram of configuration information corresponding to the Lock Chipset provided by an embodiment of the present invention.
[0020] Figure 3It is a schematic diagram of configuration information corresponding to EV DFX Features provided by an embodiment of the present invention.
[0021] Figure 4 It is a schematic diagram of configuration information corresponding to Disable BIOS Done provided by an embodiment of the present invention.
[0022] Figure 5 It is a schematic diagram of configuration information corresponding to Disable BIOS Done after restart provided by an embodiment of the present invention.
[0023] Figure 6 It is a schematic diagram of configuration information corresponding to the Hardware Prefetcher after restart provided by an embodiment of the present invention.
[0024] Figure 7 It is a structural diagram of a BIOS configuration item association configuration modification device provided by an embodiment of the present invention.
[0025] Figure 8 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0027] Combine the following Figure 1-Figure 6 The present invention describes a method for modifying BIOS configuration item association configuration.
[0028] Please refer to Figure 1 , Figure 1 FIG. 1 is a flow chart of a method for modifying BIOS configuration item association configuration provided by an embodiment of the present invention. Figure 1 As shown, the method may include steps 101 to 104.
[0029] Step 101: Obtain the target test item input by the user.
[0030] Specifically, the user can select a desired target test item, for example, select fault injection. As shown in Table 1, the target test item input by the user is fault injection. Table 1
[0031] Test items Whether to test Fault Injection yes Memory performance test no CPU Performance Test no Step 102: Filter out from the BIOS data file a plurality of target BIOS configuration items associated with the identifier of the target test item and a default value that needs to be set for each target BIOS configuration item when executing the target test item; identifiers of a plurality of different test items and a default value that needs to be set for each BIOS configuration item associated with the identifier of each test item when executing the test item are in the BIOS data file added to the BIOS during the BIOS firmware development process.
[0032] Specifically, during the BIOS firmware development process, test item parsing of BIOS configuration items is added to the BIOS data file, that is, identification of the test items and default values of the BIOS configuration items that need to be set when executing the test items.
[0033] The following takes the test item as fault injection, and the configuration items associated with the test item include Lock Chipset, EV DFXFeatures, and Disable BIOS Done as an example to illustrate the analysis of the added test item.
[0034] like Figure 2 As shown, the parsing information of the fault injection corresponding to the Lock Chipset is added to the configuration information of the Lock Chipset, that is, "*Error Inject: Diasable" on the right, "Error Inject" indicates the identifier of the fault injection, and "Diasable" indicates the default value that the Lock Chipset needs to set when performing fault injection.
[0035] like Figure 3 As shown, the parsing information of the fault injection corresponding to EV DFX Features is added to the configuration information of EV DFX Features, that is, "*Error Inject: Enable" on the right, "Error Inject" indicates the identifier of the fault injection, and "Enable" indicates the default value that needs to be set when EV DFX Features performs fault injection.
[0036] like Figure 4 As shown, the parsing information of the fault injection corresponding to Disable BIOS Done is added to the configuration information of Disable BIOS Done, that is, "*Error Inject: Enable" on the right, "Error Inject" indicates the identifier of the fault injection, and "Enable" indicates the default value that needs to be set for Disable BIOS Done when performing fault injection.
[0037] Since multiple identifiers of different test items and the default value that needs to be set for each BIOS configuration item associated with the identifier of each test item when executing the test item are added to the BIOS data file during the BIOS firmware development process, multiple target BIOS configuration items associated with the identifier of the target test item and the default value that needs to be set for each target BIOS configuration item when executing the target test item can be quickly filtered out from the BIOS data file.
[0038] Step 103: Display multiple target BIOS configuration items and default values of each target BIOS configuration item on the user interface.
[0039] Exemplarily, as shown in Table 2, three target BIOS configuration items associated with the identifier of the fault input and the default values of the three target BIOS configuration items are displayed on the user interface. Table 2
[0040] The user can check whether the default values in Table 2 need to be modified according to the test requirements. If no modification is required, the user enters a confirmation command.
[0041] Step 104: In response to the confirmation instruction input by the user, the server is restarted, and the BIOS configuration item list is updated based on the default values of multiple target BIOS configuration items associated with the identifier of the target test item.
[0042] Optionally, the server is a single-control server. Restarting the single-control server updates the BIOS configuration item list of the single-control server based on the default values of multiple target BIOS configuration items associated with the identifier of the target test item, thereby modifying and updating the BIOS configuration item association configuration of the single-control server.
[0043] Optionally, the server is a dual-control server. Restart a corresponding controller in the dual-control server, and update the BIOS configuration item list of the controller based on the default values of multiple target BIOS configuration items associated with the identifier of the target test item. This can implement modification and update of the BIOS configuration item association configuration of one of the controllers of the dual-control server.
[0044] The BIOS configuration item association configuration modification method provided by the embodiment of the present invention first obtains the target test item input by the user; then, since the identifiers of multiple different test items and the default value of each BIOS configuration item associated with the identifier of each test item that needs to be set when executing the test item are added to the BIOS data file during the BIOS firmware development process, the multiple target BIOS configuration items associated with the identifier of the target test item and the default value of each target BIOS configuration item that needs to be set when executing the target test item can be quickly screened out from the BIOS data file; then, the multiple target BIOS configuration items and the default value of each target BIOS configuration item are displayed on the user interface for the user to view; finally, in response to the confirmation instruction input by the user, the server is restarted, and the BIOS configuration item list can be automatically updated based on the default values of the multiple target BIOS configuration items associated with the identifier of the target test item, thereby improving the user's work efficiency.
[0045] In one embodiment, the method further includes steps 201 to 205.
[0046] Step 201: Obtain the optional value of each target BIOS configuration item.
[0047] Step 202: Display the optional values of each target BIOS configuration item on the user interface.
[0048] Exemplarily, as shown in Table 3, three target BIOS configuration items associated with the identifier of the fault input and the default values and optional values of the three target BIOS configuration items are displayed on the user interface. Table 3
[0049] Step 203: In response to a user's modification operation under a prompt of an optional value of a target BIOS configuration item when the default value of the target BIOS configuration item does not meet a test requirement, the default value of the target BIOS configuration item is modified in the user interface.
[0050] Exemplarily, in response to the default value "Enable" of Disable BIOS Done not meeting the test requirements, the user modifies the optional value "Enable / Diasable" of Disable BIOS Done as shown in Table 4, and modifies the default value of Disable BIOS Done to "Diasable" in the user interface. Table 4
[0051] Step 204: Determine whether the modification operation is a single modification operation.
[0052] Specifically, after the modification, the user is required to determine whether the modification is a single modification operation or a permanent modification. After the user selects a single modification operation, the modification operation is determined to be a single modification operation.
[0053] Step 205: Restart the server, and update the BIOS configuration item list based on the current default values of multiple target BIOS configuration items associated with the identifier of the target test item.
[0054] Exemplarily, after the server is restarted, the default value of Disable BIOS Done has been changed to “Diasable”.
[0055] In this embodiment, a single modification of the default value of the target BIOS configuration item can be supported.
[0056] In one embodiment, the method further includes steps 301 to 305.
[0057] Step 301: In response to a user's adding operation, a new target BIOS configuration item and a default value of the new target BIOS configuration item are added in the user interface.
[0058] Exemplarily, in response to the user's new addition operation, as shown in Table 5, a new target BIOS configuration item “Hardware Prefetcher” and a default value “Enable” of “Hardware Prefetcher” are added to the user interface. Table 5
[0059] The optional value of the new target BIOS configuration item "Hardware Prefetcher" does not need to be filled in.
[0060] Step 302: Determine that the new addition operation is a single modification operation.
[0061] Specifically, after the new operation is added, the user is required to determine whether the new operation is a single modification operation or a permanent modification. After the user selects a single modification operation, the new operation is determined to be a single modification operation.
[0062] Step 303: restart the server, and update the BIOS configuration item list based on the default values of multiple target BIOS configuration items associated with the target test item and the default values of the new target BIOS configuration item.
[0063] Exemplarily, restart the server, and the list of configuration items of BIOS is shown in Table 6. Table 6
[0064] The optional value of the new target BIOS configuration item "Hardware Prefetcher" is automatically obtained.
[0065] In this embodiment, it is possible to support adding a new target BIOS configuration item and a default value of the new target BIOS configuration item at a single time.
[0066] In one embodiment, the method further includes steps 401 to 406.
[0067] Step 401: Obtain the optional value of each target BIOS configuration item.
[0068] Step 402: Display the optional values of each target BIOS configuration item on the user interface.
[0069] Exemplarily, as shown in Table 3 above, three target BIOS configuration items associated with the identifier of the fault input and the default values and optional values of the three target BIOS configuration items are displayed on the user interface.
[0070] Step 403: In response to the user's modification operation under the prompt of the optional value of the target BIOS configuration item when the default value of the target BIOS configuration item does not meet the test requirement, the default value of the target BIOS configuration item is modified in the user interface.
[0071] Exemplarily, in response to the default value "Enable" of Disable BIOS Done not meeting the test requirements, the user modifies the optional value "Enable / Diasable" of Disable BIOS Done as shown in Table 4 above, and modifies the default value of Disable BIOS Done to "Diasable" in the user interface.
[0072] Step 404: Determine that the modification operation is a permanent modification operation.
[0073] Specifically, after the modification, the user is required to determine whether the modification is a single modification operation or a permanent modification. After the user selects the permanent modification operation, the modification operation is determined to be a permanent modification operation.
[0074] Step 405: Reversely refresh the default value of the modified target BIOS configuration item into the BIOS data file.
[0075] For example, Figure 5 As shown, the parsing information "*Error Inject:Enable" of Disable BIOS Done in the BIOS data file is modified to "*Error Inject:Diasable", so as to realize permanent modification of the parsing information of the fault injection corresponding to Disable BIOS Done.
[0076] Step 406: Restart the server and update the BIOS configuration item list based on the current default values of the multiple target BIOS configuration items associated with the target test items.
[0077] Exemplarily, after the server is restarted, the default value of Disable BIOS Done has been changed to “Diasable”.
[0078] In this embodiment, it is possible to support permanent modification of the default value of the target BIOS configuration item.
[0079] In one embodiment, the method further includes steps 501 to 504.
[0080] Step 501: In response to a user's adding operation, a new target BIOS configuration item and a default value of the new target BIOS configuration item are added in the user interface.
[0081] Exemplarily, in response to the user's new addition operation, as shown in Table 5 above, a new target BIOS configuration item "Hardware Prefetcher" and a default value "Enable" of "Hardware Prefetcher" are added to the user interface.
[0082] Step 502: Determine that the newly added operation is a permanent modification operation.
[0083] Specifically, after the new operation is added, the user is required to determine whether the new operation is a one-time modification operation or a permanent modification. After the user selects the permanent modification operation, the new operation is determined to be a permanent modification operation.
[0084] Step 503: Reversely refresh the newly added new target BIOS configuration item and the default value of the new target BIOS configuration item into the BIOS data file.
[0085] For example, Figure 6 As shown, the parsing information “*Error Inject: Enable” of the Hardware Prefetcher is added to the data file of the BIOS to implement permanent modification of the parsing information of the fault injection corresponding to the newly added Hardware Prefetcher.
[0086] Step 504: restart the server, and update the BIOS configuration item list based on the default values of multiple target BIOS configuration items associated with the target test item and the default values of the new target BIOS configuration item.
[0087] Exemplarily, the server is restarted, and the list of configuration items of BIOS is as shown in Table 6 above.
[0088] In this embodiment, permanent addition of new target BIOS configuration items and default values of new target BIOS configuration items may be supported.
[0089] In one embodiment, the method further includes: for each target BIOS configuration item, obtaining the first-level menu directory to the last-level menu directory of the target BIOS configuration item as the menu level directory of the target BIOS configuration item; and displaying the menu level directory of each target BIOS configuration item on the user interface.
[0090] Exemplarily, as shown in Table 7, each target BIOS configuration item and its default value, optional value, and menu level directory are displayed on the user interface. Table 7
[0091] In this embodiment, the menu level directory of each target BIOS configuration item is displayed on the user interface, which can facilitate the user to view each target BIOS configuration item.
[0092] In one embodiment, the method further includes steps 601-608.
[0093] Step 601: After determining that this operation is a single modification operation, determine whether synchronization to other devices is required.
[0094] Specifically, after the user selects a single modification operation, it is also necessary to select whether synchronization to other devices is required. After the user selects synchronization to other devices, it is determined that synchronization to other devices is required.
[0095] Step 602: When synchronization to other devices is required, obtain the IP addresses of other devices input by the user.
[0096] Step 603: Export the list of BIOS configuration items associated with the single modification operation and the updated test item identifier as a first target file.
[0097] Step 604: synchronize the first target file to other devices based on the IP addresses of other devices, so that other devices perform a single modification on corresponding BIOS configuration items of other devices based on the first target file, and restart the current device and other devices at the same time.
[0098] Specifically, the present device sends the first target file to the IP address of the other device. The other device performs a single modification on the corresponding BIOS configuration item of the other device based on the list of BIOS configuration items associated with the single modification operation and the updated test item identification included in the first target file. Then, the present device and the other devices are restarted at the same time, and the BIOS configuration is updated to the default value corresponding to the currently set test item.
[0099] Step 605: After determining that this operation is a permanent modification operation, determine whether synchronization to other devices is required.
[0100] Specifically, after the user selects the permanent modification operation, it is also necessary to select whether to synchronize to other devices. After the user selects to synchronize to other devices, it is determined that synchronization to other devices is required.
[0101] Step 606: If synchronization to other devices is required, obtain the IP addresses of other devices input by the user.
[0102] Step 607: Export the list of BIOS configuration items associated with the permanent modification operation and the identifier of the updated test item as a second target file.
[0103] Step 608: synchronize the second target file to other devices based on the IP addresses of other devices, so that other devices can reversely refresh the list of BIOS configuration items associated with the updated test item identifiers into the BIOS data files of other devices based on the second target file, and restart this device and other devices at the same time.
[0104] Specifically, the present device sends a second target file to the IP address of the other device. Based on the permanent modification operation included in the second target file and the list of BIOS configuration items associated with the updated test item identifier, the other device reversely refreshes the list of BIOS configuration items associated with the updated test item identifier to the data file of the BIOS of the other device, so that the list of BIOS configuration items associated with the updated test item identifier can be permanently modified. Then, the present device and other devices are restarted at the same time, and the BIOS configuration is updated to the default value corresponding to the currently set test item.
[0105] In this embodiment, after a single modification or a permanent modification, the list of BIOS configuration items associated with the updated identification of the test item can be synchronized to other devices, so that the other devices can be synchronously updated.
[0106] The following is a description of a BIOS configuration item association configuration modification device provided by the present invention. The BIOS configuration item association configuration modification device described below and the BIOS configuration item association configuration modification method described above can be referenced to each other.
[0107] Please refer to Figure 7 , Figure 7 Schematic diagram of the structure of the BIOS configuration item association configuration modification device provided by the embodiment of the present invention. Figure 7 As shown, the device may include: an acquisition module 10, a screening module 20, a display module 30 and a restart module 40.
[0108] The acquisition module 10 is used to acquire the target test item input by the user.
[0109] The screening module 20 is used to screen out multiple target BIOS configuration items associated with the identifier of the target test item and the default value that needs to be set for each target BIOS configuration item when executing the target test item from the data file of the basic input and output system BIOS; the identifiers of multiple different test items and the default value that needs to be set for each BIOS configuration item associated with the identifier of each test item when executing the test item are added to the BIOS data file during the BIOS firmware development process.
[0110] The display module 30 is used to display multiple target BIOS configuration items and default values of each target BIOS configuration item on the user interface.
[0111] The restart module 40 is used to respond to the confirmation instruction input by the user, restart the server, and update the BIOS configuration item list based on the default values of multiple target BIOS configuration items associated with the identifier of the target test item.
[0112] In one embodiment, it also includes: a first acquisition module, used to obtain optional values of each target BIOS configuration item; a first display module, used to display the optional values of each target BIOS configuration item on a user interface; a first modification module, used to respond to a modification operation of a user under the prompt of the optional value of the target BIOS configuration item when the default value of the target BIOS configuration item does not meet the test requirements, and modify the default value of the target BIOS configuration item on the user interface; a first determination module, used to determine that the modification operation is a single modification operation; and a first restart module, used to restart the server and update the BIOS configuration item list based on the current default values of multiple target BIOS configuration items associated with the identifier of the target test item.
[0113] In one embodiment, it also includes: a first adding module, used to respond to the user's new operation, add a new target BIOS configuration item and the default value of the new target BIOS configuration item in the user interface; a second determining module, used to determine that the new operation is a single modification operation; a second restart module, used to restart the server, and update the BIOS configuration item list based on the default values of multiple target BIOS configuration items associated with the target test item and the default value of the new target BIOS configuration item.
[0114] In one embodiment, it also includes: a second acquisition module, used to obtain the optional value of each target BIOS configuration item; a second display module, used to display the optional value of each target BIOS configuration item on the user interface; a second modification module, used to respond to the user's modification operation under the prompt of the optional value of the target BIOS configuration item when the default value of the target BIOS configuration item does not meet the test requirements, and modify the default value of the target BIOS configuration item in the user interface; a third determination module, used to determine that the modification operation is a permanent modification operation; a first refresh module, used to reversely refresh the default value of the modified target BIOS configuration item to the BIOS data file; a third restart module, used to restart the server, and update the BIOS configuration item list based on the current default values of multiple target BIOS configuration items associated with the target test item.
[0115] In one embodiment, it also includes: a second adding module, used to respond to the user's new operation, add a new target BIOS configuration item and the default value of the new target BIOS configuration item in the user interface; a fourth determination module, used to determine that the new operation is a permanent modification operation; a second refresh module, used to reversely refresh the added new target BIOS configuration item and the default value of the new target BIOS configuration item to the BIOS data file; a fourth restart module, used to restart the server, and update the BIOS configuration item list based on the default values of multiple target BIOS configuration items associated with the target test item and the default value of the new target BIOS configuration item.
[0116] In one embodiment, it also includes: a fifth determination module, which is used to determine whether synchronization to other devices is required after determining that this operation is a single modification operation; a third acquisition module, which is used to obtain the IP address of other devices input by the user when synchronization to other devices is required; a first export module, which is used to export the list of BIOS configuration items associated with the single modification operation and the identifier of the updated test item as a first target file; a first synchronization module, which is used to synchronize the first target file to other devices based on the IP address of the other device, so that the other device performs a single modification on the corresponding BIOS configuration items of the other device based on the first target file, and restarts the present device and other devices at the same time; a sixth determination module , used to determine whether synchronization to other devices is required after determining that this operation is a permanent modification operation; a fourth acquisition module, used to obtain the IP address of other devices input by the user when synchronization to other devices is required; a second export module, used to export the list of BIOS configuration items associated with the permanent modification operation and the updated test item identifier as a second target file; a second synchronization module, used to synchronize the second target file to other devices based on the IP address of the other device, so that the other device can reversely refresh the list of BIOS configuration items associated with the updated test item identifier based on the second target file to the data file of the BIOS of the other device, and restart this device and other devices at the same time.
[0117] In one embodiment, it also includes: a fourth acquisition module, used to obtain, for each target BIOS configuration item, the first-level menu directory to the last-level menu directory of the target BIOS configuration item as the menu level directory of the target BIOS configuration item; and a third display module, used to display the menu level directory of each target BIOS configuration item on the user interface.
[0118] Figure 8 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 8As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication interface 820 and the memory 830 communicate with each other through the communication bus 840. The processor 810 may call the logic instructions in the memory 830 to execute the BIOS configuration item associated configuration modification method, the method comprising: obtaining the target test item input by the user; screening out multiple target BIOS configuration items associated with the identifier of the target test item and the default value of each target BIOS configuration item that needs to be set when executing the target test item from the BIOS data file; the identifiers of multiple different test items and the default value of each BIOS configuration item associated with the identifier of each test item that needs to be set when executing the test item are added to the BIOS data file during the BIOS firmware development process; displaying multiple target BIOS configuration items and the default value of each target BIOS configuration item on the user interface; responding to the confirmation instruction input by the user, restarting the server, and updating the BIOS configuration item list based on the default values of multiple target BIOS configuration items associated with the identifier of the target test item.
[0119] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0120] On the other hand, the present invention also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the BIOS configuration item association configuration modification method provided by the above methods, the method including: obtaining a target test item input by a user; filtering out from a BIOS data file a plurality of target BIOS configuration items associated with an identifier of the target test item and a default value that needs to be set for each target BIOS configuration item when executing the target test item; identifiers of a plurality of different test items and a default value that needs to be set for each BIOS configuration item associated with the identifier of each test item when executing the test item are added to the BIOS data file during the BIOS firmware development process; displaying a plurality of target BIOS configuration items and a default value for each target BIOS configuration item on a user interface; in response to a confirmation instruction input by the user, restarting the server, and updating the BIOS configuration item list based on the default values of the plurality of target BIOS configuration items associated with the identifier of the target test item.
[0121] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the BIOS configuration item association configuration modification method provided by the above-mentioned methods, the method comprising: obtaining a target test item input by a user; screening out from a BIOS data file a plurality of target BIOS configuration items associated with an identifier of the target test item and a default value that needs to be set for each target BIOS configuration item when executing the target test item; identifiers of a plurality of different test items and a default value that needs to be set for each BIOS configuration item associated with the identifier of each test item when executing the test item are added to the BIOS data file during the BIOS firmware development process; displaying a plurality of target BIOS configuration items and a default value for each target BIOS configuration item on a user interface; in response to a confirmation instruction input by the user, restarting the server, and updating the BIOS configuration item list based on the default values of the plurality of target BIOS configuration items associated with the identifier of the target test item.
[0122] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0123] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0124] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for modifying BIOS configuration item association configuration, characterized in that: include: Get the target test item entered by the user; Filter out, from a data file of a basic input / output system BIOS, a plurality of target BIOS configuration items associated with the identifier of the target test item and a default value that needs to be set for each of the target BIOS configuration items when executing the target test item; The identifiers of the plurality of different test items and the default value that needs to be set for each BIOS configuration item associated with each of the test item identifiers when executing the test item are in a data file added to the BIOS during the BIOS firmware development process; Displaying a plurality of target BIOS configuration items and a default value of each target BIOS configuration item on a user interface; In response to the confirmation instruction input by the user, the server is restarted, and the configuration item list of the BIOS is updated based on the default values of the plurality of target BIOS configuration items associated with the identifier of the target test item.
2. The method for modifying BIOS configuration item association configuration according to claim 1, characterized in that: Also includes: Obtaining the optional value of each of the target BIOS configuration items; Displaying the optional values of each of the target BIOS configuration items on the user interface; In response to a modification operation by the user under a prompt of an optional value of the target BIOS configuration item when the default value of the target BIOS configuration item does not meet a test requirement, modifying the default value of the target BIOS configuration item in the user interface; Determining that the modification operation is a single modification operation; The server is restarted, and the configuration item list of the BIOS is updated based on the current default values of the plurality of target BIOS configuration items associated with the identifier of the target test item.
3. The method for modifying BIOS configuration item association configuration according to claim 1, characterized in that: Also includes: In response to the user's adding operation, adding a new target BIOS configuration item and a default value of the new target BIOS configuration item in the user interface; Determining that the added operation is a single modification operation; The server is restarted, and the configuration item list of the BIOS is updated based on the default values of the plurality of target BIOS configuration items associated with the target test item and the default value of the new target BIOS configuration item.
4. The method for modifying BIOS configuration item association configuration according to claim 1, characterized in that: Also includes: Obtaining the optional value of each of the target BIOS configuration items; Displaying the optional values of each of the target BIOS configuration items on the user interface; In response to a modification operation by the user under a prompt of an optional value of the target BIOS configuration item when the default value of the target BIOS configuration item does not meet a test requirement, modifying the default value of the target BIOS configuration item in the user interface; Determining that the modification operation is a permanent modification operation; Reversely refresh the modified default value of the target BIOS configuration item into the data file of the BIOS; Restart the server, and update the configuration item list of the BIOS based on current default values of the plurality of target BIOS configuration items associated with the target test item.
5. The method for modifying BIOS configuration item association configuration according to claim 1, characterized in that: Also includes: In response to the user's adding operation, adding a new target BIOS configuration item and a default value of the new target BIOS configuration item in the user interface; Determining that the newly added operation is a permanent modification operation; Reversely refresh the newly added new target BIOS configuration item and the default value of the new target BIOS configuration item into the data file of the BIOS; The server is restarted, and the configuration item list of the BIOS is updated based on the default values of the plurality of target BIOS configuration items associated with the target test item and the default value of the new target BIOS configuration item.
6. The method for modifying the associated configuration of BIOS configuration items according to any one of claims 2 to 5, characterized in that: Also includes: After determining that this operation is a single modification operation, determine whether synchronization to other devices is required; If synchronization to the other device is required, obtaining the IP address of the other device input by the user; Exporting the list of BIOS configuration items associated with the single modification operation and the updated identification of the test item as a first target file; Synchronizing the first target file to the other device based on the IP address of the other device, so that the other device performs a single modification on the corresponding BIOS configuration item of the other device based on the first target file, and restarting the current device and the other device at the same time; After determining that this operation is a permanent modification operation, determine whether it needs to be synchronized to other devices; If synchronization to the other device is required, obtaining the IP address of the other device input by the user; Exporting the list of BIOS configuration items associated with the permanent modification operation and the updated identification of the test item as a second target file; The second target file is synchronized to the other device based on the IP address of the other device, so that the other device reversely refreshes the list of BIOS configuration items associated with the updated identifier of the test item into the data file of the BIOS of the other device based on the second target file, and restarts the current device and the other device at the same time.
7. The method for modifying BIOS configuration item association configuration according to claim 1, characterized in that: Also includes: For each of the target BIOS configuration items, obtaining the first-layer menu directory to the last-layer menu directory of the target BIOS configuration item as the menu level directory of the target BIOS configuration item; A menu level directory of each target BIOS configuration item is displayed on the user interface.
8. A BIOS configuration item association configuration modification device, characterized in that: include: The acquisition module is used to obtain the target test item input by the user; A screening module, used for screening out, from a data file of a basic input and output system BIOS, a plurality of target BIOS configuration items associated with the identifier of the target test item and a default value that needs to be set for each of the target BIOS configuration items when executing the target test item; The identifiers of the plurality of different test items and the default value that needs to be set for each BIOS configuration item associated with each of the test item identifiers when executing the test item are in a data file added to the BIOS during the BIOS firmware development process; A display module, used to display a plurality of target BIOS configuration items and a default value of each target BIOS configuration item on a user interface; A restart module is used to respond to the confirmation instruction input by the user, restart the server, and update the configuration item list of the BIOS based on the default values of the multiple target BIOS configuration items associated with the identifier of the target test item.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the method for modifying the associated configuration of BIOS configuration items as described in any one of claims 1 to 7 is implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for modifying the associated configuration of BIOS configuration items as described in any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Equipment firmware repairing method and device, equipment and storage medium
CN119739433A
Component configuration method and device, storage medium and program product
CN119917159A
