BIOS (Basic Input / Output System) variable information processing method and computing equipment
By setting the correspondence between BIOS option parameter information and variable information in the computing device, the problem of complexity in BIOS variable processing is solved, and flexible variable information processing and update are realized.
Patent Information
- Application Number
- CN202411158894.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-12-24
AI Technical Summary
The variable naming in the BIOS program is concise and the variable naming of different manufacturers is different, which makes it difficult for users to distinguish the meaning of variables, increasing the complexity of variable value modification.
Set the correspondence between BIOS option parameter information and BIOS variable information in the computing device, and obtain and process BIOS variable information through the target parameter information, which reduces the processing complexity and improves the update and storage flexibility of the corresponding relationship.
It realizes flexible reading and writing of BIOS variable information, reduces processing complexity, and improves the update and storage flexibility of corresponding relationships.
Smart Images

Figure CN119179638A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical field of computing devices, and more particularly to a method for processing BIOS variable information and a computing device. Background Art
[0002] With the development of technology, the use of servers is also facing a variety of business needs, and each business demand has different requirements for server performance, power consumption, or reliability. The Basic Input Output System (BIOS) is a program fixed on the motherboard, which is used to initialize and test hardware devices, start the operating system, and provide basic hardware management functions. Accordingly, the BIOS program includes multiple variables to reflect the performance, power consumption, or reliability of the server. Therefore, the variable values in the BIOS program can be adjusted to meet business needs.
[0003] However, the naming of variables in the BIOS program during the development phase is relatively concise, and the variable names in the BIOS programs of different manufacturers may be different, resulting in users being unable to distinguish the meanings of the variables in the BIOS program, making it inconvenient to modify the variable values, resulting in high complexity in BIOS variable processing. Summary of the invention
[0004] The embodiments of the present application provide a method for processing BIOS variable information and a computing device, which can reduce the complexity of BIOS variable processing.
[0005] In a first aspect, an embodiment of the present application provides a method for processing BIOS variable information, the method being applied to a first computing device; comprising:
[0006] Obtaining target parameter information; wherein the target parameter information is used to indicate a parameter processing method, and target BIOS option parameter information corresponding to the parameter processing method;
[0007] Obtaining a correspondence between BIOS option parameter information and BIOS variable information; wherein the correspondence is stored in a first storage space; the first storage space is other storage space independent of the BIOS chip in the first computing device;
[0008] Determining target BIOS variable information corresponding to the target BIOS option parameter information according to the corresponding relationship and the target BIOS option parameter information;
[0009] Based on the parameter processing method indicated by the target parameter information, the target BIOS variable information is processed to obtain a processing result.
[0010] Beneficial effects of this embodiment: the first computing device can obtain the correspondence between the BIOS option parameter information and the BIOS variable information from the first storage space, and according to the correspondence, process the target BIOS option parameter information based on the parameter processing method indicated by the target parameter information to obtain a processing result. In this way, the first computing device can directly obtain the correspondence between the BIOS option parameter information and the BIOS variable information from the first storage space, and based on the correspondence, use the BIOS option parameter information to process the BIOS variable information, thereby reducing the complexity of processing the BIOS variable information, and the correspondence can be flexibly stored in the first storage space, which improves the flexibility of updating and storing the correspondence compared to being solidified in the BIOS chip.
[0011] In a possible implementation manner, the corresponding relationship is stored in the first storage space in the form of a translation table; based on the parameter processing method indicated by the target parameter information, the target BIOS variable information is processed to obtain a processing result, including:
[0012] Determine, according to the target BIOS variable information and a preset mapping table, a storage address of the target BIOS variable information in a BIOS chip of the first computing device; wherein the preset mapping table is used to describe a correspondence between the BIOS variable information and the storage address in the BIOS chip;
[0013] The target BIOS variable information stored in the BIOS chip is processed according to the storage address in the BIOS chip and the parameter processing mode indicated by the target parameter information to obtain a processing result.
[0014] Beneficial effects of this embodiment: In this way, the first computing device can accurately determine the storage address of the target BIOS variable in the BIOS chip based on the preset mapping table, thereby ensuring the accuracy of BIOS variable processing.
[0015] In a possible implementation manner, the parameter processing method is to read a parameter value, the target BIOS option parameter information includes a parameter name, and the target BIOS variable information includes a variable name; according to a storage address in the BIOS chip and a parameter processing method indicated by the target parameter information, the target BIOS variable information stored in the BIOS chip is processed to obtain a processing result, including:
[0016] Reading a variable value of a variable name in the target BIOS variable information from the BIOS chip according to a storage address in the BIOS chip;
[0017] Determine the parameter value corresponding to the variable value of the read variable name according to the translation table;
[0018] Output the parameter value corresponding to the parameter name in the target BIOS option parameter information.
[0019] Beneficial effects of this embodiment: In this way, the first computing device can flexibly read the target BIOS variable information based on the translation table, and obtain the variable values of the target BIOS variable information that are easy for the user to understand.
[0020] In a possible implementation manner, the parameter processing method is writing a parameter value, and the target BIOS variable information includes a variable name and a variable value; according to the storage address in the BIOS chip and the parameter processing method indicated by the target parameter information, the target BIOS variable information stored in the BIOS chip is processed to obtain a processing result, including:
[0021] According to the storage address in the BIOS chip, the variable value in the target BIOS variable information is used as the variable value of the variable name in the target BIOS variable information stored in the BIOS chip.
[0022] The beneficial effects of this embodiment are as follows: In this way, the first computing device can flexibly write the target BIOS variable information based on the translation table, convert the parameter values input by the user that are easy for the user to understand into variable values, and write them into the BIOS chip, thereby reducing the complexity of the BIOS variable information writing process.
[0023] In a possible implementation manner, the correspondence relationship is stored in the first storage space in the form of a translation table; and obtaining the correspondence relationship between the BIOS option parameter information and the BIOS variable information includes:
[0024] Acquire a target platform of the first computing device; wherein the target platform includes central processing units of the same type;
[0025] According to the target platform, determining a translation table corresponding to the target platform;
[0026] Based on the translation table corresponding to the target platform, the correspondence between the BIOS option parameter information and the BIOS variable information is obtained.
[0027] The beneficial effect of this embodiment is that by setting translation tables of multiple platforms in the same computing device, a translation table adapted to the target platform included in the first computing device can be selected to achieve cross-platform compatibility of the translation table and improve the deployment efficiency of the computing device.
[0028] In a possible implementation, the method further includes:
[0029] In response to a translation table import instruction, storing the translation table corresponding to the target platform indicated by the translation table import instruction from the import address indicated by the translation table import instruction to the first storage space; wherein the translation table import instruction is used to indicate the target platform and the import address; or,
[0030] In response to a translation table export instruction, a translation table corresponding to the target platform indicated by the translation table export instruction is extracted from the first storage space and output to a first export address indicated by the translation table export instruction; wherein the translation table export instruction is used to indicate the target platform and the first export address.
[0031] Beneficial effects of this embodiment: through this method, on the one hand, the user can import the translation table of the variables corresponding to the business needs, and realize the accurate import of the translation table. Moreover, if the translation table is solidified in the BIOS chip, the update of the translation table requires the reconstruction of the BIOS version. Through this method, the translation table can be directly imported without the need to reconstruct the BIOS program, thereby improving the flexibility of updating the translation table. At the same time, if the translation table needs to be modified, it can be modified through the aforementioned translation table export instruction, and then imported into the first storage space based on the translation table import instruction, thereby further improving the flexibility of updating the translation table. On the other hand, the user can export the translation table of the BIOS variables corresponding to the business needs, thereby improving the accuracy of the translation table export, and can modify the translation table, or transplant the translation table to other computing devices for use, thereby improving the update efficiency of the translation table.
[0032] In a possible implementation manner, the correspondence is stored in the first storage space in the form of a translation table, the translation table has a correspondence with the target platform, and the method further includes:
[0033] In response to an option parameter batch export instruction, determining a translation table corresponding to a target platform indicated by the option parameter batch export instruction; wherein the option parameter batch export instruction is used to indicate a target platform and a second export address; and the target platform includes a central processing unit of the same type;
[0034] Determining the storage address of each BIOS variable information in the translation table corresponding to the target platform in the BIOS chip of the first computing device according to the translation table corresponding to the target platform and the preset mapping table; wherein the preset mapping table is used to describe the correspondence between the BIOS variable information and the storage address in the BIOS chip;
[0035] Reading, according to the storage address in the BIOS chip, the variable value of each BIOS variable information in the translation table corresponding to the target platform stored in the BIOS chip;
[0036] Determining parameter values of the variable values of each BIOS variable information read according to the translation table corresponding to the target platform and the variable values of each BIOS variable information read;
[0037] Output the parameter value of the BIOS option parameter information in the translation table corresponding to the target platform to the second export address indicated by the option parameter batch export instruction.
[0038] The beneficial effects of this embodiment: In this way, the first computing device can read the variable values corresponding to each BIOS variable information in the translation table from the BIOS chip based on all BIOS variable information in the translation table required by business needs, and convert them into parameter values that can be understood by the user, and return them to the user, thereby improving the reading efficiency of BIOS variable information.
[0039] In a second aspect, an embodiment of the present application further provides a method for generating a BIOS translation table, the method being applied to a second computing device; comprising:
[0040] Obtaining BIOS variable translation information; wherein the BIOS variable translation information is used to describe the correspondence between BIOS option parameter information and BIOS variable information;
[0041] Generate a translation table according to the BIOS variable translation information; wherein the translation table is used to describe the correspondence between the BIOS option parameter information and the BIOS variable information;
[0042] The translation table is stored in a second storage space; wherein the second storage space is other storage space independent of the BIOS chip in the second computing device.
[0043] Beneficial effects of this embodiment: The second computing device generates a translation table representing the correspondence between BIOS option parameter information and BIOS variable information based on the BIOS variable translation information representing the correspondence between BIOS option parameter information and BIOS variable information, and stores the translation table in the second storage space. In this way, users can establish a translation table required by business needs based on business needs, and the translation table can be stored in the second storage space. Compared with storing the correspondence in the BIOS chip, updating the translation table does not require generating a new BIOS version, which improves the flexibility of updating the correspondence.
[0044] In a possible implementation, generating the translation table according to the BIOS variable translation information includes:
[0045] The BIOS variable translation information is parsed according to preset parsing rules to obtain the translation table.
[0046] Beneficial effects of this embodiment: Through the above method, the second computing device can accurately parse and process the BIOS variable translation information based on preset parsing rules to obtain a translation table.
[0047] In a possible implementation manner, the preset parsing rule includes a start identifier, an end identifier, and a correspondence between a data format and a variable type; and according to the preset parsing rule, the BIOS variable translation information is parsed to obtain the translation table, including:
[0048] If the start identifier is identified, the correspondence between the BIOS option parameter information and the BIOS variable information of the variable type corresponding to the data format is extracted from the BIOS variable translation information according to the correspondence between the data format and the variable type, and stored in the initial translation table until the end identifier is identified, and the translation table is obtained according to the initial translation table.
[0049] Beneficial effects of this embodiment: Through the above method, different variable types can be taken into consideration and different types of BIOS variables can be identified using data formats, so that the variable values of the BIOS variables can be more accurately identified, thereby improving the accuracy of the translation table.
[0050] In a possible implementation, the data format has a plurality of preset sections; and according to the correspondence between the data format and the variable type, extracting the correspondence between the BIOS option parameter information and the BIOS variable information of the variable type corresponding to the data format from the BIOS variable translation information includes:
[0051] If it is determined that both the second preset paragraph and the third preset paragraph have values, it is determined that the variable type corresponding to the data format is an enumeration type, and the correspondence between the enumeration type BIOS option parameter information and the BIOS variable information is extracted from the BIOS variable translation information; or,
[0052] If it is determined that the second preset section does not have a value, and the third preset section has a value, then the variable type corresponding to the data format is determined to be a numerical type, and the correspondence between the numerical type BIOS option parameter information and the BIOS variable information is extracted from the BIOS variable translation information; or,
[0053] If it is determined that neither the second preset paragraph nor the third preset paragraph has a value, then determining that the variable type corresponding to the data format is a text type, and extracting the correspondence between the text type BIOS option parameter information and the BIOS variable information from the BIOS variable translation information; or,
[0054] If it is determined that the second preset paragraph has a value and the third preset paragraph does not have a value, it is determined that the variable type corresponding to the data format is a sequence type, and the correspondence between the sequence type BIOS option parameter information and the BIOS variable information is extracted from the BIOS variable translation information.
[0055] Beneficial effects of this embodiment: Through the above method, the second computing device can accurately parse and process the BIOS variable translation information based on preset parsing rules to obtain a translation table, and can also take into account different variable types and use data formats to identify different types of BIOS variables, so that the variable values of the BIOS variables can be more accurately identified, thereby improving the accuracy of the translation table.
[0056] In a possible implementation, the start identifier further includes a storage location of the BIOS variable information in a BIOS chip of the second computing device.
[0057] Beneficial effect of this embodiment: This method helps to accurately determine the location of BIOS variables.
[0058] In a possible implementation manner, the start identifier further includes an identifier of a target platform; the target platform includes central processing units of the same type; and the translation table has a corresponding relationship with the target platform.
[0059] Beneficial effects of this embodiment: In this way, the second computing device can run the modification tool to generate a translation table of the target platform corresponding to the business requirements based on the user-defined BIOS variable translation information, thereby facilitating cross-platform compatibility.
[0060] In a possible implementation, the method further includes:
[0061] The translation table corresponding to the target platform is sent to a third computing device for storage; wherein the third computing device has the target platform.
[0062] Beneficial effects of this embodiment: Through this method, when the third computing device includes the same target platform, the translation table corresponding to the target platform can be sent to the third computing device for storage, without having to create the translation table corresponding to the target platform again, thereby achieving cross-platform compatibility.
[0063] In a third aspect, an embodiment of the present application provides a computing device, the computing device comprising: a processor, and a memory communicatively connected to the processor;
[0064] The memory stores computer-executable instructions;
[0065] The processor executes the computer-executable instructions stored in the memory to implement the method for processing BIOS variable information as described in any one of the first aspects, or the method for generating a BIOS translation table as described in any one of the second aspects.
[0066] Beneficial effects of this embodiment: The processor of the computing device can execute computer execution instructions so that the processor can obtain the correspondence between the BIOS option parameter information and the BIOS variable information from the first storage space, and according to the correspondence, process the target BIOS option parameter information based on the parameter processing method indicated by the target parameter information to obtain a processing result. In this way, the first computing device can directly obtain the correspondence between the BIOS option parameter information and the BIOS variable information from the first storage space, and based on the correspondence, use the BIOS option parameter information to process the BIOS variable information, thereby reducing the complexity of processing the BIOS variable information, and the correspondence can be flexibly stored in the first storage space, which improves the flexibility of updating and storing the correspondence compared to being solidified in the BIOS chip.
[0067] Alternatively, the processor of the computing device may execute the computer execution instruction so that the processor may generate a translation table representing the correspondence between the BIOS option parameter information and the BIOS variable information based on the BIOS variable translation information representing the correspondence between the BIOS option parameter information and the BIOS variable information, and store the translation table in the second storage space. In this way, the user may establish a translation table required by the business needs based on the business needs, and the translation table may be stored in the second storage space. Compared with storing the correspondence in the BIOS chip, updating the translation table does not require generating a new BIOS version, which improves the flexibility of updating the correspondence.
[0068] In a fourth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements a method for processing BIOS variable information as described in any one of the first aspects, or a method for generating a BIOS translation table as described in any one of the second aspects.
[0069] The beneficial effects of this embodiment are as follows: the processor of the computing device can execute the computer program, so that the processor can obtain the correspondence between the BIOS option parameter information and the BIOS variable information from the first storage space, and according to the correspondence, process the target BIOS option parameter information based on the parameter processing method indicated by the target parameter information to obtain the processing result. In this way, the first computing device can directly obtain the correspondence between the BIOS option parameter information and the BIOS variable information from the first storage space, and based on the correspondence, use the BIOS option parameter information to process the BIOS variable information, thereby reducing the complexity of processing the BIOS variable information, and the correspondence can be flexibly stored in the first storage space, which improves the flexibility of updating and storing the correspondence compared to being solidified in the BIOS chip.
[0070] Alternatively, the processor of the computing device may execute a computer program so that the processor can generate a translation table representing the correspondence between the BIOS option parameter information and the BIOS variable information based on the BIOS variable translation information representing the correspondence between the BIOS option parameter information and the BIOS variable information, and store the translation table in the second storage space. In this way, the user can establish a translation table required by the business needs based on the business needs, and the translation table can be stored in the second storage space. Compared with storing the correspondence in the BIOS chip, updating the translation table does not require generating a new BIOS version, which improves the flexibility of updating the correspondence. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] Figure 1 A schematic diagram of the structure of a mainboard of a computing device provided in an embodiment of the present application;
[0072] Figure 2 A schematic diagram of a software architecture of a server provided in an embodiment of the present application;
[0073] Figure 3 A flowchart of a method for generating a BIOS translation table provided in an embodiment of the present application;
[0074] Figure 4 A flowchart of another method for generating a BIOS translation table provided in an embodiment of the present application;
[0075] Figure 5 A flowchart of a method for processing BIOS variable information provided in an embodiment of the present application;
[0076] Figure 6 A flowchart of another method for processing BIOS variable information provided in an embodiment of the present application;
[0077] Figure 7A schematic diagram of the structure of a BIOS variable information processing device provided in an embodiment of the present application;
[0078] Figure 8 A schematic diagram of the structure of a device for generating a BIOS translation table provided in an embodiment of the present application;
[0079] Fig. 9 A schematic diagram of the structure of a computing device is provided for an embodiment of the present application. DETAILED DESCRIPTION
[0080] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments made by ordinary technicians in this field under the enlightenment of the embodiments belong to the scope of protection of the present application.
[0081] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0082] Figure 1 A schematic diagram of the structure of a motherboard of a computing device provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the motherboard of the computing device includes a central processing unit (CPU), a BIOS chip, and a hard disk. It should be noted that the motherboard of the computing device may also include other components, such as random access memory (RAM), north and south bridge chips or slots, etc. The embodiments of the present application do not limit the components included in the motherboard.
[0083] CPU is used to execute instructions and process data. It should be noted that the embodiment of the present application does not limit the number of CPUs. Figure 1 The example of including two CPUs is used for illustration only. In some embodiments, multiple CPUs can form a platform.
[0084] The hard disk is used to store data of the computing device. The embodiment of the present application does not limit the type and quantity of the hard disk, and the type of the hard disk can be, for example, a mechanical hard disk or a solid state hard disk.
[0085] BIOS is a set of programs fixed to the motherboard, which stores the basic input and output programs, self-test programs, and system self-starting programs required for the startup and operation of the computing device. These BIOS setting programs are stored in a storage chip to obtain a BIOS chip. Among them, the storage chip can be a non-volatile memory (NVM), for example, a read-only memory (ROM), or a flash memory. It should be noted that the embodiments of the present application do not limit the type of storage chip or BIOS chip.
[0086] The BIOS program stored in the BIOS chip includes multiple variables, which can be used to reflect the server's performance, power consumption, or reliability. Different business needs have different functional requirements for the server's performance, power consumption, or reliability. Therefore, the variable values in the BIOS program can be adjusted to meet business needs.
[0087] The naming of variables in the BIOS program during the development phase is relatively concise, and the variable names in the BIOS source code of different manufacturers may be different, resulting in users being unable to distinguish the meanings of the variables in the BIOS program and inconvenient for variable value modification. In other words, the processing of BIOS variable values is highly complex.
[0088] In view of this, the embodiment of the present application proposes a method for processing BIOS variable information, by setting a correspondence between BIOS option parameter information and BIOS variable information that can be understood by the user in a storage space other than the BIOS chip in a computing device, and after obtaining the BIOS option parameter information input by the user, converting it into BIOS variable information based on the correspondence, so as to realize the processing of the BIOS variable information. In this way, the computing device can reduce the complexity of processing the BIOS variable information based on the correspondence stored in the storage space other than the BIOS chip, and compared with burning the correspondence in the BIOS chip, this method can improve the flexibility of updating and storing the correspondence.
[0089] The execution subject of the embodiment of the present application may be a computing device having a BIOS, and the computing device may be, for example, a server or a computer, etc. The embodiment of the present application is not limited here.
[0090] Taking a server as an example, in some embodiments, a modification tool is pre-installed in the server. The modification tool is stored as an application in the hard disk of the server. The server can run the modification tool to implement the BIOS variable information processing method or the BIOS translation table generation method provided in the embodiments of the present application.
[0091] In some embodiments, the user can use a local computing device to run the modification tool through a remote access tool or a user interface provided by the modification tool. The remote access tool can be, for example, a secure shell protocol (Secure Shell, SSH), or other tools, which are specifically related to the settings of the server. The user interface can be a command line interface (Command-line Interface, CLI) or a graphical user interface (Graphical User Interface, GUI).
[0092] Exemplarily, the user uses the SSH tool through a local computing device to access the server according to the server identifier and login credentials. The server identifier can uniquely represent the server, for example, it can be the domain name or IP address of the server. The login credentials can uniquely represent the user in the server, for example, it can be in the form of a user name and password, or in the form of an SSH key, which can be set according to actual needs. Figure 2 As shown, Figure 2 A software architecture diagram of a server provided in an embodiment of the present application. After connecting to the server, the user can use various command lines provided by the modification tool to manage the translation table, or process the BIOS variables in the BIOS program, such as reading variable values or writing variable values. For example, the server can run a modification tool in the operating system, and operate the BIOS variables in the BIOS program stored in the BIOS chip through the CPU based on the variable access service. It should be noted that the content of the command line is related to the setting of the modification tool, and the embodiment of the present application is not limited here.
[0093] The technical solutions of the embodiments of the present application are described in detail below through specific embodiments. It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes will not be repeated in some embodiments.
[0094] Figure 3 A flow chart of a method for generating a BIOS translation table provided in an embodiment of the present application. Figure 2 As shown, the method may include the following steps:
[0095] S101. A second computing device obtains BIOS variable translation information.
[0096] Exemplarily, BIOS variable translation information is used to describe the correspondence between BIOS option parameter information and BIOS variable information in text form; wherein, BIOS option parameter information refers to user-defined parameter names and parameter values that are easy to understand, such as parameter names and parameter values displayed on the BIOS interface of the second computing device. BIOS variable information refers to variable names and variable values defined by developers in the BIOS program. For example, variable information includes: variable name is P-1, variable value is 0 or 1, which is not easy for users to understand, then the BIOS variable translation information can be (power-on password, P-1), (Disabled, 0), (Enable, 1), wherein "power-on password" is the parameter name, and "Disabled and Enable" are parameter values.
[0097] The text may be in the form of a command line or a script, wherein the script includes a plurality of preset command lines. In other words, the command line includes the correspondence between parameter information and variable information.
[0098] For example, the BIOS variable translation information may be:
[0099] Format:__PlatformStart,EGS_BD; FF070000; 10000;
[0100] Format: Endless Boot Support, BootRetry; Disabled: 0; Enable: 1; 0;
[0101] Format:__PlatformEnd,EGS_BD;
[0102] Among them, "Endless Boot Support, BootRetry; Disabled: 0; Enable: 1;" represents the correspondence between BIOS option parameter information and BIOS variable information, wherein "Endless Boot Support" is the parameter name in the BIOS option parameter information, "BootRetry" is the variable name in the BIOS variable information, "Disabled" and "Enable" are the parameter values in the BIOS option parameter information, and "0" and "1" are the variable values in the BIOS variable information.
[0103] It should be noted that the embodiment of the present application does not limit the description method of the correspondence between BIOS option parameter information and BIOS variable information. It can be in the form of a pair of information in brackets as shown in the above example, for example (power-on password, P-1); it can also be in the form of comma separation, such as Endless Boot Support, BootRetry; it can also be in the form of a colon, such as Disabled: 0, and can be set according to actual needs.
[0104] The second computing device can run the modification tool to receive BIOS variable translation information input by the user through the remote access tool or the user interface provided by the modification tool; or the second computing device can run the modification tool to communicate with other electronic devices to obtain the BIOS variable translation information, and the other electronic devices can be, for example, computers or other servers.
[0105] S102: The second computing device generates a translation table according to BIOS variable translation information.
[0106] Exemplarily, the translation table is used to describe the correspondence between BIOS option parameter information and BIOS variable information.
[0107] As mentioned above, the BIOS variable translation information can describe the correspondence between the BIOS option parameter information and the BIOS variable information in text form, but the text form is not convenient for subsequent data processing. Therefore, a translation table in the form of a data table can be generated according to the BIOS variable translation information.
[0108] In some possible implementations, the second computing device includes a preset parsing rule, which indicates the meaning of each field in the text-based BIOS variable translation information. The second computing device can run the modification tool to parse the BIOS variable translation information into a data table according to the preset parsing rule. Exemplarily, the second computing device can parse the BIOS variable translation information into a key-value pair according to the preset parsing rule, and convert the text-based BIOS variable translation information into a translation table in a data table by using the key-value pair to correspond to the data table.
[0109] For example, taking the example in step S101 as an example, according to the preset parsing rules, the BIOS variable translation information is parsed to obtain the key-value pairs "BootRetry: Endless Boot Support", "0: Disabled" and "1: Enable". The second computing device includes a preset initial translation table. For example, Table 1 is a schematic diagram of an initial translation table provided in an embodiment of the present application. Referring to Table 1, the initial translation table includes all BIOS variable information of the BIOS program. The BIOS variable information can be used as a key. According to the key, the key-value pairs in the BIOS variable translation information are corresponded. After filling the initial translation table, a translation table is obtained. Referring to Table 2, Table 2 is an example of a translation table provided in an embodiment of the present application.
[0110] Table 1 Initial translation table
[0111]
[0112] Table 2 Translation table
[0113]
[0114]
[0115] In some possible implementations, a large language model is preset in the second computing device, and the second computing device can run the modification tool, fill the BIOS variable translation information into a preset template (Prompt), input the filled template into the large language model, and output a translation table. The preset template can be, for example, "Please output a data table based on the following [BIOS variable translation information] content."
[0116] Optionally, step S102 may be executed immediately after the second computing device runs the modification tool to obtain BIOS variable translation information, or may be executed when a translation table is needed, which is not limited in the embodiments of the present application.
[0117] S103: The second computing device stores the translation table in the second storage space.
[0118] Exemplarily, the second storage space is other storage space that is independent of the BIOS chip in the second computing device. As mentioned above, the second computing device stores a development toolkit of a modification tool, and the second storage space can be the storage location of the development toolkit of the modification tool in the hard disk of the second computing device; or, the second storage space is any storage location in the hard disk of the second computing device; or, the second storage space is a storage location in a local database of the second computing device, or a storage location in a cloud database that is connected to the second computing device in communication. The embodiment of the present application does not limit this, and can be set according to actual needs.
[0119] In this embodiment, the second computing device generates a translation table representing the correspondence between the BIOS option parameter information and the BIOS variable information based on the BIOS variable translation information representing the correspondence between the BIOS option parameter information and the BIOS variable information, and stores the translation table in the second storage space. In this way, the user can establish a translation table required by the business needs based on the business needs, and the translation table can be stored in the second storage space. Compared with storing the correspondence in the BIOS chip, updating the translation table does not require generating a new BIOS version, which improves the flexibility of updating the correspondence.
[0120] Figure 4 A flow chart of another method for generating a BIOS translation table provided in an embodiment of the present application. Figure 3 Based on the embodiment shown, the method for generating the BIOS translation table provided in the embodiment of the present application is described in detail. Figure 4 As shown, the method includes:
[0121] S201. The second computing device obtains BIOS variable translation information.
[0122] This step is similar to the aforementioned step S101 and will not be described again here.
[0123] S202: The second computing device parses the BIOS variable translation information according to a preset parsing rule to obtain a translation table.
[0124] Exemplarily, the preset parsing rule can indicate the meaning of each field in the textual BIOS variable translation information, and the second computing device can run the modification tool to parse the BIOS variable translation information into a data table according to the preset parsing rule to obtain a translation table.
[0125] In some possible implementations, the preset parsing rules include a start identifier, an end identifier, and a correspondence between a data format and a variable type, wherein the start identifier is used to indicate the start of BIOS variable translation information, the end identifier is used to indicate the end of BIOS variable translation information, and the data between the start identifier and the end identifier is used to indicate the correspondence between BIOS option parameter information and BIOS variable information, wherein the correspondence can set a plurality of data formats based on the variable type, in other words, the type of the variable is distinguished by different data formats.
[0126] Under this implementation method, the second computing device can run the modification tool, and if it is recognized that the BIOS variable translation information includes a start identifier, then based on the correspondence between the data format and the variable type, the correspondence between the BIOS option parameter information and the BIOS variable information of the variable type corresponding to the data format is extracted, and the correspondence between the extracted BIOS option parameter information and the BIOS variable information is stored in the initial translation table until the end identifier is recognized, and the translation table is obtained based on the initial translation table.
[0127] In a possible implementation, the data format may include multiple fields, each field corresponding to a variable type one-to-one. For example, if the variable type includes an enumeration type, a numerical type, a text type, and a sequence type, then fields 2-10 may be set as the correspondence between the BIOS option parameter information and the BIOS variable information corresponding to the variable of the enumeration type; fields 10-15 may be set as the correspondence between the BIOS option parameter information and the BIOS variable information corresponding to the variable of the numerical type; fields 15-25 may be set as the correspondence between the BIOS option parameter information and the BIOS variable information corresponding to the variable of the text type; and fields 25-35 may be set as the correspondence between the BIOS option parameter information and the BIOS variable information corresponding to the variable of the sequence type. In this way, the second computing device may identify the type of BIOS variable information corresponding to the field based on the field value, so as to extract the correspondence between the BIOS option parameter information and the BIOS variable information of the variable type from the BIOS variable translation information, and more accurately identify the BIOS option parameter information corresponding to the BIOS variable information.
[0128] In another possible implementation, the data format has multiple preset paragraphs; each preset paragraph is used to represent a different meaning, and then the second computing device can run the modification tool to determine whether each preset paragraph has a value based on a preset regular expression, for example, referring to the following examples 1-4, and then determine the variable type corresponding to the data format, and then according to the variable type, extract the correspondence between the BIOS option parameter information of the variable type and the BIOS variable information from the BIOS variable translation information.
[0129] Example 1, the content of the BIOS variable translation information between the start marker and the end marker is as follows:
[0130] “Format: <displayname> , <itemname> ; <optionname1> : <optionvalue1> , <optionname2> : <optionvalue2> ; <default>;".
[0131] The BIOS variable translation information is divided into multiple paragraphs by ";". Referring to Example 1, the first preset paragraph can be the correspondence between the parameter name (DisplayName) and the variable name (ItemName); the second preset paragraph is the correspondence between the parameter value (OptionName1) and the variable value (OptionValue1) corresponding to the variable name. This paragraph may include multiple sets of correspondences between parameter values and variable values, which is not limited in the embodiments of the present application; the third preset paragraph is the default value, which may be the default value of the variable. The content of the default value is specifically related to the setting of the variable.
[0132] If the second computing device runs the modification tool and determines that both the second preset paragraph and the third preset paragraph have values, for example, referring to Example 1, there are characters between the first ";" representing the first preset paragraph and the second ";" representing the second preset paragraph, and there are characters between the second ";" representing the second preset paragraph and the third ";" representing the third preset paragraph, indicating that both the second preset paragraph and the third preset paragraph are set with values, rather than blank paragraphs, and further indicating that the correspondence between the variable value and the parameter value of the variable is listed, and the variable value has a default value, then it is determined that the variable type corresponding to the data format is an enumeration type, and the second computing device can run the modification tool to extract the correspondence between the enumeration type BIOS option parameter information and the BIOS variable information from the BIOS variable translation information.
[0133] Example 2: The content of the BIOS variable translation information between the start and end markers is as follows: "Format: <displayname> , <itemname> ;; <default> ; <max> , <min> , <step> , <radix>”.
[0134] The BIOS variable translation information is divided into multiple paragraphs by ";". Referring to Example 2, based on the preset paragraphs shown in Example 1, a fourth preset paragraph is also included. The fourth preset paragraph can be the maximum and minimum values corresponding to the variable value, and can also include the step size or numerical system, etc. The specific setting can be based on actual needs, and the embodiment of the present application is not limited here.
[0135] If the second computing device runs the modification tool and determines that the second preset paragraph does not have a value, and the third preset paragraph has a value, for example, referring to Example 2, the second ";" representing the second preset paragraph appears immediately after the first ";" representing the first preset paragraph, and there is no character between the two, indicating that no value is set for the second preset paragraph. In other words, the second preset paragraph is a blank paragraph, but there are characters between the second ";" representing the second preset paragraph and the third ";" representing the third preset paragraph, indicating that the third preset paragraph is set with a value, rather than a blank paragraph, and further indicates that the variable value of the variable is a value within a range, not a fixed value, and does not need to set a parameter value for interpretation, and has a default value, then it is determined that the variable type corresponding to the data format is a numerical type, and the second computing device can run the modification tool to extract the correspondence between the numerical type BIOS option parameter information and the BIOS variable information from the BIOS variable translation information. It should be noted that the maximum value, minimum value and step size in the fourth preset paragraph are related to the setting of the variable.
[0136] Example 3: The content of the BIOS variable translation information between the start and end markers is as follows: "Format: <displayname> , <itemname> ;;; <max> , <min>”.
[0137] The BIOS variable translation information is divided into multiple paragraphs by ";". Referring to Example 3, based on the preset paragraphs shown in Example 1, a fourth preset paragraph is also included. The fourth preset paragraph can be the maximum length and the minimum length corresponding to the variable value.
[0138] If the second computing device runs the modification tool and determines that both the second preset paragraph and the third preset paragraph do not have values, for example, referring to Example 3, the second ";" representing the second preset paragraph appears immediately after the first ";" representing the first preset paragraph, and there is no character between the two, indicating that no value is set for the second preset paragraph. In other words, the second preset paragraph is a blank paragraph, and the third ";" representing the third preset paragraph appears immediately after the second ";" representing the second preset paragraph, and there is no character between the two, indicating that no value is set for the third preset paragraph. In other words, the third preset paragraph is a blank paragraph, which can further indicate that the variable value of the variable itself is of text type, and there is no need to set the corresponding parameter value for interpretation, and there is no default value, then it is determined that the variable type corresponding to the data format is text type, and the second computing device can run the modification tool to extract the correspondence between text type BIOS option parameter information and BIOS variable information from the BIOS variable translation information. It should be noted that the text length of the fourth preset paragraph limits the variable value, and the specific value is related to the setting of the variable.
[0139] Example 4: The content of the BIOS variable translation information between the start marker and the end marker is as follows:
[0140] "Format: <displayname> , <itemname> ; <optionname1> : <optionvalue0> , <optionname2> : <optionvalue1> , <optionname3> : <optionvalue2> , <optionname4> : <optionvalue3>;;".
[0141] In the BIOS variable translation information, multiple paragraphs are divided by ";". Referring to Example 4, based on the preset paragraphs shown in Example 1, if the second computing device runs the modification tool and determines that the second preset paragraph has a value, and the third preset paragraph does not have a value, for example, referring to Example 4, there are characters between the first ";" representing the first preset paragraph and the second ";" representing the second preset paragraph, indicating that the second preset paragraph has a value, and the third ";" representing the third preset paragraph appears immediately after the second ";" representing the second preset paragraph, and there are no characters between the two, indicating that no value is set for the third preset paragraph. In other words, the third preset paragraph is a blank paragraph, which further indicates that the variable value of the variable is a sequence composed of the variable values in the second preset paragraph, and there is no default value, then it is determined that the variable type corresponding to the data format is a sequence type, and the second computing device can run the modification tool to extract the correspondence between the sequence type BIOS option parameter information and the BIOS variable information from the BIOS variable translation information.
[0142] It should be noted that the above preset parsing rule is only an illustration of a rule, and the variable type can be expanded on the basis of the above preset parsing rule so as to be able to identify more types of variables.
[0143] Through the above method, the second computing device can accurately parse and process the BIOS variable translation information based on preset parsing rules to obtain a translation table. In addition, different variable types can be taken into consideration and different types of BIOS variables can be identified using data formats so that the variable values of the BIOS variables can be more accurately identified, thereby improving the accuracy of the translation table.
[0144] Exemplarily, the second computing device may run the modification tool to fill the parsing result obtained by parsing according to the preset parsing rule into the initial translation table shown in Table 1, and generate the translation table shown in Table 2.
[0145] In this way, the second computing device can run the modification tool to generate a translation table based on the BIOS variable translation information customized by the user, which can be set based on the user's business needs and can be flexibly updated.
[0146] In some possible implementations, the start identifier may also include an identifier of a target platform; the target platform includes a central processing unit of the same type; the identifier of the target platform may be a code assigned to the target platform by the second computing device, or may be a CPU model or manufacturer identifier, etc., which is not limited in the embodiments of the present application. Among them, the same type may be a CPU from the same manufacturer, or a CPU of the same model, or a CPU from the same production batch, which is not limited in the embodiments of the present application, and may be specifically set according to actual needs. It should be understood that different types of CPUs may have different functions, and the contents of the variables in the corresponding BIOS programs are different. Therefore, it is necessary to set a BIOS translation table for the same type of CPU.
[0147] Optionally, the end identifier may also include an identifier of the target platform. Exemplarily, the start identifier and the end identifier may be as shown below, where Platform Name is used to indicate the identifier of the target platform.
[0148] Format: <platformstartlabel>,<Platform Name>; <address>; <size>
[0149] Format: <platformendlabel>,<Platform Name> ;
[0150] In this implementation, after the second computing device runs the modification tool to obtain the translation table, a corresponding relationship between the target platform and the translation table can be established according to the identifier of the target platform included in the start identifier. For example, the translation table can be named with the identifier of the target platform, or a mapping relationship between the identifier of the target platform and the identifier of the translation table can be established. The identifier of the translation table can be, for example, the name of the translation table or the ID of the translation table.
[0151] In this way, the second computing device can run the modification tool to generate a translation table of the target platform corresponding to the business needs based on the user-defined BIOS variable translation information. If other computing devices, such as a third computing device, also include the same target platform, the translation table corresponding to the target platform can also be sent to the third computing device for storage without having to create the translation table corresponding to the target platform again; wherein, the third computing device has a target platform.
[0152] In some possible implementations, for the same target platform, the second computing device can also run the modification tool to establish a correspondence between the user identifier and the translation table, and generate a translation table corresponding to the user identifier according to the user identifier. In this way, if multiple users use the same target platform, user-specific translation tables can be generated to meet the business needs of different users.
[0153] In some possible implementations, the start identifier may also include the storage location of the BIOS variable information in the BIOS chip of the second computing device. It should be understood that the BIOS variable information in the BIOS program is stored in the BIOS chip. For example, the BIOS chip may include a preset mapping table and a storage block of BIOS variables, wherein the preset mapping table may indicate the correspondence between each BIOS variable and the storage location in the storage block of the BIOS variable, and the storage block of the BIOS variable is used to store each BIOS variable information, such as the variable name and the variable value. The start identifier may include the storage location of the storage block of the BIOS variable information in the BIOS chip, or the storage location of the preset mapping table, so as to facilitate the subsequent accurate determination of the location of the BIOS variable.
[0154] Referring to the illustration of the aforementioned start identifier, Address is used to indicate the storage location of the BIOS variable information in the BIOS chip of the second computing device.
[0155] Optionally, the start identifier may also include the size of the BIOS variable translation information, such as the Size in the above-mentioned start identifier. The start identifier also includes a label of the start identifier, and the end identifier also includes a label of the end identifier, such as the PlatformStartLabel in the above-mentioned start identifier, which is used to indicate the start of the start identifier, or the start of the BIOS variable translation information. The PlatformEndLabel in the above-mentioned end identifier is used to indicate the start of the end identifier, or the end of the BIOS variable translation information.
[0156] S203: The second computing device stores the translation table in the second storage space.
[0157] This step is similar to the aforementioned step S103 and will not be described again here.
[0158] In some possible implementations, the second computing device can run the modification tool, generate translation tables corresponding to multiple platforms based on the methods described in the above embodiments, and generate a new software development kit based on the initial software development kit of the modification tool. In other words, the software development kit of the modification tool includes translation tables corresponding to multiple platforms. The new software development kit can be transplanted to other computing devices for installation and operation, thereby achieving cross-platform compatibility of a modification tool.
[0159] In this embodiment, the second computing device runs the modification tool, sets parsing rules, and uses the parsing rules to parse and process the BIOS variable translation information to obtain a translation table. The parsing rules are provided with a start identifier, an end identifier, and a correspondence between the data format and the variable type. Based on the parsing rules, the correspondence between the BIOS option parameter information and the BIOS variable information can be more accurately extracted, thereby improving the accuracy of the translation table.
[0160] Figure 5 A flowchart of a method for processing BIOS variable information provided in an embodiment of the present application, the method comprising:
[0161] S301. A first computing device obtains target parameter information.
[0162] Exemplarily, the target parameter information is used to indicate a parameter processing mode, and the target BIOS option parameter information corresponding to the parameter processing mode. The target BIOS option parameter information is used to characterize the BIOS option parameter information to be processed. The parameter processing mode may include reading a parameter value or writing a parameter value. When the parameter processing mode is reading a parameter value, the target BIOS option parameter information corresponding to the parameter processing mode includes the read parameter name. When the parameter processing mode is writing a parameter value, the target BIOS option parameter information corresponding to the parameter processing mode includes the written parameter name and parameter value. The target parameter information may be in the form of a command line or a script, wherein the script includes multiple command lines.
[0163] For example, the target parameter information may be as follows:
[0164] Example 5: uniCfg-ms-fi<Display Name> , which means reading the parameter value of the parameter name Display Name, where the parameter name Display Name is used as the target BIOS option parameter information.
[0165] Example 6: uniCfg-ms-fi<Display Name> -op <option>, which means writing the parameter value whose parameter name is Display Name and the parameter value is Option, wherein the parameter name Display Name and the parameter value Option are used as the target BIOS option parameter information.
[0166] It can be understood that the target parameter information may be the processing of one BIOS option parameter information, for example, the target parameter information may be in the command line format shown in the aforementioned example 5; it may also be the processing of multiple BIOS option parameter information, for example, the target parameter information may be in the command line format shown in the aforementioned multiple examples 5.
[0167] It should be noted that the above target parameter information is only an illustration provided by the embodiment of the present application, and the embodiment of the present application does not limit the content of the target parameter information.
[0168] The first computing device may be the aforementioned second computing device, or a third computing device, or may be a computing device with the same configuration as the aforementioned second computing device or third computing device.
[0169] In some possible implementations, the first computing device may run the modification tool to receive target parameter information input by the user through a remote access tool or a user interface provided by the modification tool; or the first computing device may communicate with other electronic devices to obtain the target parameter information, and the other electronic devices may be, for example, computers or other servers.
[0170] S302: The first computing device obtains a correspondence between BIOS option parameter information and BIOS variable information.
[0171] Exemplarily, the correspondence is stored in a first storage space, which is another storage space independent of the BIOS chip in the first computing device. For example, the first computing device stores a development toolkit of a modification tool, and the first storage space can be a storage location of the development toolkit of the modification tool in the hard disk of the first computing device; or, the first storage space can be any storage location in the hard disk of the first computing device; or, the first storage space can be a storage location in a local database of the first computing device, or a storage location in a cloud database that is connected to the first computing device in communication. The present application embodiment does not limit this, and can be set according to actual needs.
[0172] In some possible implementations, the first computing device may run the modification tool, generate the corresponding relationship through the implementation method described in the above embodiment, and store it in the first storage space, or the first computing device may communicate with the above second computing device to obtain the corresponding relationship and store it in the first storage space. Therefore, the first computing device may extract the corresponding relationship from the first storage space.
[0173] S303: The first computing device determines target BIOS variable information corresponding to the target BIOS option parameter information according to the corresponding relationship and the target BIOS option parameter information.
[0174] Exemplarily, the target BIOS variable information is used to represent the BIOS variable information to be processed, and the correspondence relationship can indicate the correspondence between the BIOS option parameter information and the BIOS variable information. Therefore, the first computing device can run the modification tool to determine the target BIOS variable information corresponding to the target BIOS option parameter information in the target parameter information based on the correspondence relationship.
[0175] For example, when the parameter processing method is to read parameter value, the target BIOS option parameter information includes the read parameter name, and the target BIOS variable information includes the variable name; when the parameter processing method is to write parameter value, the target BIOS option parameter information includes the written parameter name and parameter value, and the target BIOS variable information includes the variable name and variable value.
[0176] S304: The first computing device processes the target BIOS variable information based on the parameter processing method indicated by the target parameter information to obtain a processing result.
[0177] Exemplarily, the processing result corresponds to the parameter processing method indicated in the target parameter information. If the parameter processing method is to read the parameter value, the processing result may be the read parameter value; if the parameter processing method is to write the parameter value, the processing result may be a prompt message of successful writing returned, or the written parameter value returned. The specific setting can be based on actual needs.
[0178] In some possible implementations, referring to the example of the target parameter information in step S301, the first computing device can run the modification tool to determine, based on the correspondence, the target BIOS variable information of the target BIOS option parameter information corresponding to the parameter processing method in the target parameter information. In other words, based on the correspondence, the target BIOS variable information can be used to replace the target BIOS option parameter information, and the target parameter information can be translated into target BIOS variable information that can be recognized by the BIOS program, and then the target BIOS variable information can be processed according to the parameter processing method to obtain a processing result.
[0179] In this embodiment, the first computing device can obtain the correspondence between the BIOS option parameter information and the BIOS variable information from the first storage space, and according to the correspondence, process the target BIOS option parameter information based on the parameter processing method indicated by the target parameter information to obtain a processing result. In this way, the first computing device can directly obtain the correspondence between the BIOS option parameter information and the BIOS variable information from the first storage space, and based on the correspondence, use the BIOS option parameter information to process the BIOS variable information, thereby reducing the complexity of processing the BIOS variable information, and the correspondence can be flexibly stored in the first storage space, which improves the flexibility of updating and storing the correspondence compared to being solidified in the BIOS chip.
[0180] Figure 6 A schematic diagram of an application scenario of a method for processing BIOS variable information provided in an embodiment of the present application. Figure 5 Based on the embodiment shown, the processing method of BIOS variable information provided by the embodiment of the present application is described in detail. Figure 6 As shown, the method includes:
[0181] S401: A first computing device obtains target parameter information.
[0182] This step is similar to the aforementioned step S301 and will not be described again here.
[0183] S402: The first computing device obtains a target platform of the first computing device.
[0184] Exemplarily, the target platform may include the same type of CPU. It should be understood that the first computing device includes the target platform.
[0185] In a possible implementation, a mapping relationship between a CPU and a target platform may be preset in the first computing device. Therefore, the first computing device may determine the target platform of the first computing device based on an identifier of the included CPU.
[0186] In another possible implementation, the target parameter information may indicate the target platform. Therefore, the first computing device may determine the target platform from the target parameter information. Exemplarily, the target parameter information may be the following examples:
[0187] Example 7: uniCfg -p <platform>-ms-fi<Display Name> , which means reading the parameter value of the parameter name Display Name in the target platform platform.
[0188] Example 8: uniCfg -p <platform>-ms-fi<Display Name> -on <option>, which means writing the parameter value of the parameter name Display Name in the target platform platform, where the parameter value is Option.
[0189] S403: The first computing device determines a translation table corresponding to the target platform according to the target platform.
[0190] Exemplarily, the corresponding relationship may be stored in the first storage space in the form of a translation table.
[0191] In some possible implementations, the software development kit of the modification tool includes translation tables corresponding to multiple platforms. After the first computing device installs the modification tool, the first storage space stores translation tables corresponding to multiple platforms. For example, a translation table library can be set, and the translation table library includes translation tables for multiple platforms. Exemplarily, Table 3 is a schematic diagram of a translation table library provided in an embodiment of the present application.
[0192] Table 3 Translation table library
[0193] Platform Logo Translation table Platform 1 Translation Table 1 Platform 2 Translation Table 2 Platform 3 Translation Table 3
[0194] The first computing device may extract a translation table corresponding to the target platform based on the translation table library shown in Table 3 and according to the identifier of the target platform.
[0195] In some possible implementations, the first computing device can run the modification tool, generate a translation table corresponding to the target platform through the implementation described in the aforementioned embodiment, and store it in the first storage space, or the first computing device can communicate with the aforementioned second computing device to obtain the translation table corresponding to the target platform, and store it in the first storage space. Therefore, the first computing device can run the modification tool to extract the translation table corresponding to the target platform from the first storage space. It should be understood that the first computing device includes the same target platform as the second computing device.
[0196] S404: The first computing device obtains a correspondence between BIOS option parameter information and BIOS variable information based on a translation table corresponding to the target platform.
[0197] As mentioned above, the correspondence between the BIOS option parameter information and the BIOS variable information can be stored in the first storage space in the form of a translation table. Therefore, by obtaining the translation table, the correspondence between the BIOS option parameter information and the BIOS variable information can be obtained.
[0198] refer to Figure 6 As shown, taking the first storage space as the hard disk of the first computing device as an example, the translation table can be obtained from the hard disk, in other words, the correspondence between the BIOS option parameter information and the BIOS variable information can be obtained.
[0199] S405. The first computing device determines target BIOS variable information corresponding to the target BIOS option parameter information according to the corresponding relationship and the target BIOS option parameter information.
[0200] This step is similar to the aforementioned step S303 and will not be described again here.
[0201] S406: The first computing device determines a storage address of the target BIOS variable information in a BIOS chip of the first computing device according to the target BIOS variable information and a preset mapping table.
[0202] Exemplarily, the preset mapping table is used to describe the correspondence between BIOS variable information and storage addresses in the BIOS chip, for example, it can be a mapping relationship between variable names and storage addresses. The preset mapping table can be stored in the BIOS chip of the first computing device. Exemplarily, Table 4 is a schematic diagram of a preset mapping table provided in an embodiment of the present application.
[0203] Table 4 Preset mapping table
[0204] Variable Name Storage address Variable 1 Address 1 Variable 2 Address 2
[0205] refer to Figure 6 As shown, the first computing device can run the modification tool to obtain the preset mapping table shown in Table 4 stored in the BIOS chip, and determine the storage address corresponding to the target BIOS variable information according to the variable name in the target BIOS variable information. In this way, the first computing device can accurately determine the storage address of the target BIOS variable in the BIOS chip based on the preset mapping table, thereby ensuring the accuracy of BIOS variable processing.
[0206] S407: The first computing device processes the target BIOS variable information stored in the BIOS chip according to the storage address in the BIOS chip and the parameter processing method indicated by the target parameter information to obtain a processing result.
[0207] It should be understood that the target BIOS variable information is stored in the BIOS chip, so reference Figure 6 As shown, the first computing device needs to determine the storage address of the target BIOS variable information in the BIOS chip, read the variable value of the variable name indicated by the target BIOS variable information from the storage address, or write the variable value of the variable name indicated by the target BIOS variable information.
[0208] In some possible implementations, if the parameter processing method is to read the parameter value, at this time, the target BIOS option parameter information includes the parameter name, and the target BIOS variable information includes the variable name. The first computing device can run the modification tool, read the variable value of the variable name in the target BIOS variable information from the BIOS chip according to the storage address in the BIOS chip; and determine the parameter value corresponding to the variable value of the read variable name according to the translation table; and output the parameter value corresponding to the parameter name in the target BIOS option parameter information. In other words, the first computing device can run the modification tool, replace the parameter name in the target BIOS option parameter information of the parameter value to be read with the variable name in the target BIOS variable information in the translation table, read the variable value corresponding to the variable name in the target BIOS variable information from the BIOS chip, and replace the variable value with the parameter value based on the translation table again, and return it to the user for the user to understand.
[0209] In this way, the first computing device can flexibly read the target BIOS variable information based on the translation table, and obtain the variable values of the target BIOS variable information that are easy for the user to understand.
[0210] In some possible implementations, if the parameter processing method is to write parameter values, the target BIOS option parameter information includes parameter names and parameter values, and the target BIOS variable information includes variable names and variable values. The first computing device can run the modification tool, and according to the storage address in the BIOS chip, use the variable value in the target BIOS variable information as the variable value of the variable name in the target BIOS variable information stored in the BIOS chip. In other words, the first computing device can run the modification tool to modify the original variable value of the variable name in the target BIOS variable information stored in the BIOS chip to the new variable value included in the target BIOS variable information. For example, the original variable value of variable A stored in the BIOS chip is 1, the target BIOS variable information includes variable A, and the new variable value of variable A is 0. After this step, the variable value of variable A stored in the BIOS chip is 0.
[0211] In this way, the first computing device can flexibly write the target BIOS variable information based on the translation table, convert the parameter values input by the user that are easy for the user to understand into variable values, and write them into the BIOS chip, thereby reducing the complexity of the BIOS variable information writing process.
[0212] In some possible implementations, the first computing device may, in response to the translation table export instruction, extract the translation table corresponding to the target platform indicated by the translation table export instruction from the first storage space, and output it to the first export address indicated by the translation table export instruction. Exemplarily, the first computing device may run a modification tool to receive the translation table export instruction input by a user through a remote access tool or a user interface provided by the modification tool. The translation table export instruction may indicate the target platform and the first export address, which may be, for example, the path address of a folder.
[0213] For example, the translation table export instruction may be: uniCfg -p <platform>-gt <file>, wherein platform is used to indicate the target platform, and file is used to indicate the first export address. It should be noted that the translation table export instruction is only an illustration provided in the embodiment of the present application, and the embodiment of the present application does not limit the content of the translation table export instruction.
[0214] In this way, users can export translation tables of BIOS variables corresponding to business needs, improve the accuracy of translation table export, and can modify the translation table, or transplant the translation table to other computing devices for use, thereby improving the update efficiency of the translation table.
[0215] In some possible implementations, the first computing device may store the translation table of the target platform indicated by the translation table import instruction in the first storage space in response to the translation table import instruction. Exemplarily, the first computing device may run the modification tool to receive the translation table import instruction input by the user through the remote access tool or the user interface provided by the modification tool. The translation table import instruction may indicate the target platform and the import address, which may be the path address of a folder.
[0216] For example, the translation table import instruction can be: uniCfg -p <platform>-st <file>, where platform is used to indicate the target platform, and file is used to indicate the import address. It should be noted that the translation table import instruction is only an illustration provided in the embodiment of the present application, and the embodiment of the present application does not limit the content of the translation table import instruction.
[0217] Through this method, the user can import the translation table of variables corresponding to the business needs to achieve accurate import of the translation table. In addition, if the translation table is solidified in the BIOS chip, the update of the translation table requires reconstruction of the BIOS version. Through this method, the translation table can be directly imported without reconstruction of the BIOS program, thereby improving the flexibility of updating the translation table. At the same time, if the translation table needs to be modified, it can be modified through the aforementioned translation table export instruction, and then imported into the first storage space based on the translation table import instruction, thereby further improving the flexibility of updating the translation table.
[0218] In some possible implementations, the first computing device may run the modification tool, and in response to the option parameter batch export instruction, determine the translation table corresponding to the target platform indicated by the option parameter batch export instruction; then determine the storage address of each BIOS variable information in the translation table corresponding to the target platform in the BIOS chip of the first computing device according to the translation table corresponding to the target platform and the preset mapping table; then read the variable value of each BIOS variable information in the translation table corresponding to the target platform stored in the BIOS chip according to the storage address in the BIOS chip; finally, determine the parameter value of the variable value of each BIOS variable information read according to the translation table corresponding to the target platform and the variable value of each BIOS variable information read; output the parameter value of the BIOS option parameter information in the translation table corresponding to the target platform to the second export address indicated by the option parameter batch export instruction. The option parameter batch export instruction is used to indicate the target platform and the second export address; the second export address may be the path address of a folder.
[0219] For example, the option parameter batch export command can be uniCfg -p <platform>-gt <file>, where platform is used to indicate the target platform, and file is used to indicate the second export address. It should be noted that the option parameter batch export instruction is only an illustration provided by the embodiment of the present application, and the embodiment of the present application does not limit the content of the option parameter batch export instruction.
[0220] In this way, the first computing device can read the variable values corresponding to each BIOS variable information in the translation table from the BIOS chip based on all BIOS variable information in the translation table required by business needs, convert them into parameter values that the user can understand, and return them to the user, thereby improving the reading efficiency of BIOS variable information.
[0221] In some possible implementations, the first computing device can run the modification tool, and after obtaining the parameter values of each BIOS option parameter in the translation table based on the option parameter batch export instruction, the parameter values can be modified, and the parameter values of each BIOS option parameter in the modified translation table can be written into the BIOS chip based on the option parameter batch import instruction. The specific steps are similar to the steps of writing a single BIOS option parameter and will not be repeated here.
[0222] For example, the option parameter batch import command can be: uniCfg -p <platform>-ss <file>, where platform is used to indicate the target platform, and file is used to indicate the import address. It should be noted that the option parameter batch import instruction is only an illustration provided by the embodiment of the present application, and the embodiment of the present application does not limit the content of the option parameter batch import instruction.
[0223] In this way, the first computing device can batch modify all BIOS option parameter information in the translation table required by business needs and write them into the BIOS chip in batches, thereby improving the writing efficiency of BIOS variable information.
[0224] In this embodiment, the first computing device can determine the translation table corresponding to the target platform according to the target platform included in the first computing device, and then can translate into target BIOS variable information based on the translation table and target parameter information corresponding to the target platform, and after determining the storage location of the target BIOS variable information in the BIOS chip based on the target BIOS variable information and the preset mapping table, read or write the variable value to realize the processing of the BIOS variable information in the BIOS program. In this way, the correspondence between the BIOS option parameter information and the BIOS variable information is stored in the form of a translation table that is easy to process, and the processing of the BIOS variable information is realized based on the translation table, which reduces the complexity of the processing of the BIOS variable information. At the same time, the translation tables of multiple platforms can be set in the same computing device, and the translation table adapted to the target platform included in the first computing device can be selected to realize the cross-platform compatibility of the translation table and improve the deployment efficiency of the computing device.
[0225] Figure 7 A schematic diagram of a BIOS variable information processing device provided in an embodiment of the present application. The device can be applied to a first computing device, such as Figure 7 As shown, the device 500 includes:
[0226] The first acquisition module 501 is used to acquire target parameter information; wherein the target parameter information is used to indicate a parameter processing method and target BIOS option parameter information corresponding to the parameter processing method;
[0227] A second acquisition module 502 is used to acquire a correspondence between BIOS option parameter information and BIOS variable information; wherein the correspondence is stored in a first storage space; the first storage space is other storage space independent of the BIOS chip in the first computing device;
[0228] A determination module 503, configured to determine target BIOS variable information corresponding to the target BIOS option parameter information according to the corresponding relationship and the target BIOS option parameter information;
[0229] The processing module 504 is used to process the target BIOS variable information based on the parameter processing method indicated by the target parameter information to obtain a processing result.
[0230] In one implementation, the corresponding relationship is stored in the first storage space in the form of a translation table; the processing module 504 is specifically configured to:
[0231] Determine, according to the target BIOS variable information and a preset mapping table, a storage address of the target BIOS variable information in a BIOS chip of the first computing device; wherein the preset mapping table is used to describe a correspondence between the BIOS variable information and the storage address in the BIOS chip;
[0232] The target BIOS variable information stored in the BIOS chip is processed according to the storage address in the BIOS chip and the parameter processing mode indicated by the target parameter information to obtain a processing result.
[0233] In one implementation, the corresponding relationship is stored in the first storage space in the form of a translation table; the second acquisition module 502 is specifically configured to:
[0234] Acquire a target platform of the first computing device; wherein the target platform includes central processing units of the same type;
[0235] According to the target platform, determining a translation table corresponding to the target platform;
[0236] Based on the translation table corresponding to the target platform, the correspondence between the BIOS option parameter information and the BIOS variable information is obtained.
[0237] In one implementation, the second acquisition module 502 is specifically configured to:
[0238] In response to a translation table import instruction, storing the translation table corresponding to the target platform indicated by the translation table import instruction from the import address indicated by the translation table import instruction to the first storage space; wherein the translation table import instruction is used to indicate the target platform and the import address; or,
[0239] In response to a translation table export instruction, a translation table corresponding to the target platform indicated by the translation table export instruction is extracted from the first storage space and output to a first export address indicated by the translation table export instruction; wherein the translation table export instruction is used to indicate the target platform and the first export address.
[0240] In one implementation, the correspondence is stored in the first storage space in the form of a translation table, the translation table has a correspondence with the target platform, and the device further includes an export module for:
[0241] In response to an option parameter batch export instruction, determining a translation table corresponding to a target platform indicated by the option parameter batch export instruction; wherein the option parameter batch export instruction is used to indicate a target platform and a second export address; and the target platform includes a central processing unit of the same type;
[0242] Determining the storage address of each BIOS variable information in the translation table corresponding to the target platform in the BIOS chip of the first computing device according to the translation table corresponding to the target platform and the preset mapping table; wherein the preset mapping table is used to describe the correspondence between the BIOS variable information and the storage address in the BIOS chip;
[0243] Reading, according to the storage address in the BIOS chip, the variable value of each BIOS variable information in the translation table corresponding to the target platform stored in the BIOS chip;
[0244] Determining parameter values of the variable values of each BIOS variable information read according to the translation table corresponding to the target platform and the variable values of each BIOS variable information read;
[0245] Output the parameter value of the BIOS option parameter information in the translation table corresponding to the target platform to the second export address indicated by the option parameter batch export instruction.
[0246] The BIOS variable information processing device provided in this embodiment can execute the BIOS variable information processing method in the above method embodiment, and its beneficial effects are similar, which will not be described again here.
[0247] Figure 8 A schematic diagram of a BIOS translation table generation device provided in an embodiment of the present application. The device can be applied to a second computing device, such as Figure 8 As shown, the device 600 includes:
[0248] The acquisition module 601 is used to acquire BIOS variable translation information; wherein the BIOS variable translation information is used to describe the correspondence between BIOS option parameter information and BIOS variable information;
[0249] A generating module 602, configured to generate a translation table according to the BIOS variable translation information; wherein the translation table is used to describe the correspondence between the BIOS option parameter information and the BIOS variable information;
[0250] The storage module 603 is used to store the translation table in a second storage space; wherein the second storage space is other storage space independent of the BIOS chip in the second computing device.
[0251] In one implementation, the generating module 602 is specifically configured to:
[0252] The BIOS variable translation information is parsed according to preset parsing rules to obtain the translation table.
[0253] In one implementation, the preset parsing rule includes a start mark, an end mark, and a correspondence between a data format and a variable type; the generating module 602 is specifically used to:
[0254] If the start identifier is identified, the correspondence between the BIOS option parameter information and the BIOS variable information of the variable type corresponding to the data format is extracted from the BIOS variable translation information according to the correspondence between the data format and the variable type, and stored in the initial translation table until the end identifier is identified, and the translation table is obtained according to the initial translation table.
[0255] In one implementation, the data format has a plurality of preset sections; the generating module 602 is specifically configured to:
[0256] If it is determined that both the second preset paragraph and the third preset paragraph have values, it is determined that the variable type corresponding to the data format is an enumeration type, and the correspondence between the enumeration type BIOS option parameter information and the BIOS variable information is extracted from the BIOS variable translation information; or,
[0257] If it is determined that the second preset section does not have a value, and the third preset section has a value, then the variable type corresponding to the data format is determined to be a numerical type, and the correspondence between the numerical type BIOS option parameter information and the BIOS variable information is extracted from the BIOS variable translation information; or,
[0258] If it is determined that neither the second preset paragraph nor the third preset paragraph has a value, then determining that the variable type corresponding to the data format is a text type, and extracting the correspondence between the text type BIOS option parameter information and the BIOS variable information from the BIOS variable translation information; or,
[0259] If it is determined that the second preset paragraph has a value and the third preset paragraph does not have a value, it is determined that the variable type corresponding to the data format is a sequence type, and the correspondence between the sequence type BIOS option parameter information and the BIOS variable information is extracted from the BIOS variable translation information.
[0260] The device for generating a BIOS translation table provided in this embodiment can execute the method for generating a BIOS translation table in the above method embodiment, and its beneficial effects are similar, which will not be described in detail here.
[0261] Fig. 9 A schematic diagram of the structure of a computing device is provided for an embodiment of the present application. Fig. 9 As shown, the computing device 700 includes a processor 701 and a memory 702 communicatively connected to the processor.
[0262] The memory 702 is used to store programs. Specifically, the program may include program codes, and the program codes include computer operation instructions. The memory 702 may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory.
[0263] The processor 701 is used to execute the computer-executable instructions stored in the memory 702 to implement the method for processing BIOS variable information described in the aforementioned method embodiment, or the method for generating a BIOS translation table. The processor 701 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0264] The computing device 700 may further include a communication interface 703, so as to communicate and interact with an external device through the communication interface 703. The external device may be, for example, a first computing device or an electronic device.
[0265] In specific implementation, if the communication interface 703, the memory 702 and the processor 701 are implemented independently, the communication interface 703, the memory 702 and the processor 701 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc., but it does not mean that there is only one bus or one type of bus.
[0266] Optionally, in a specific implementation, if the communication interface 703, the memory 702 and the processor 701 are integrated on a chip, the communication interface 703, the memory 702 and the processor 701 can communicate through an internal interface.
[0267] The computing device provided in this embodiment can execute the technical solution in the above method embodiment, and its beneficial effects are similar, which will not be described again here.
[0268] An embodiment of the present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the technical solution provided by any of the aforementioned method embodiments.
[0269] An embodiment of the present application also provides a computer program product, including a computer program, which is used to implement the technical solution provided by the aforementioned method embodiment when executed by a processor.
[0270] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the embodiments of the present application, rather than to limit them. Although the embodiments of the present application have 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 replace some or all of the technical features therein by equivalents. These modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.< / file> < / platform> < / file> < / platform> < / file> < / platform> < / file> < / platform> < / option> < / platform> < / platform> < / option> < / platformendlabel> < / size> < / address> < / platformstartlabel> < / optionname4> < / optionvalue2> < / optionname3> < / optionvalue1> < / optionname2> < / optionvalue0> < / optionname1> < / itemname> < / displayname> < / min> < / max> < / itemname> < / displayname> < / radix> < / step> < / min> < / max> < / default> < / itemname> < / displayname> < / default> < / optionvalue2> < / optionname2> < / optionvalue1> < / optionname1> < / itemname> < / displayname>
Claims
1. A method for processing BIOS variable information, characterized in that: The method is applied to a first computing device; the method comprises: Obtain target parameter information; wherein the target parameter information is used to indicate a parameter processing method, and target BIOS option parameter information corresponding to the parameter processing method; Obtaining a correspondence between BIOS option parameter information and BIOS variable information; wherein the correspondence is stored in a first storage space; the first storage space is other storage space independent of the BIOS chip in the first computing device; Determining target BIOS variable information corresponding to the target BIOS option parameter information according to the corresponding relationship and the target BIOS option parameter information; Based on the parameter processing method indicated by the target parameter information, the target BIOS variable information is processed to obtain a processing result.
2. The method according to claim 1, characterized in that The corresponding relationship is stored in the first storage space in the form of a translation table; Based on the parameter processing mode indicated by the target parameter information, the target BIOS variable information is processed to obtain a processing result, including: Determine, according to the target BIOS variable information and a preset mapping table, a storage address of the target BIOS variable information in a BIOS chip of the first computing device; wherein the preset mapping table is used to describe a correspondence between the BIOS variable information and the storage address in the BIOS chip; The target BIOS variable information stored in the BIOS chip is processed according to the storage address in the BIOS chip and the parameter processing mode indicated by the target parameter information to obtain a processing result.
3. The method according to claim 1, characterized in that The corresponding relationship is stored in the first storage space in the form of a translation table; Get the correspondence between BIOS option parameter information and BIOS variable information, including: Acquire a target platform of the first computing device; wherein the target platform includes central processing units of the same type; According to the target platform, determining a translation table corresponding to the target platform; Based on the translation table corresponding to the target platform, the correspondence between the BIOS option parameter information and the BIOS variable information is obtained.
4. The method according to claim 3, characterized in that The method further comprises: In response to a translation table import instruction, storing the translation table corresponding to the target platform indicated by the translation table import instruction from the import address indicated by the translation table import instruction to the first storage space; wherein the translation table import instruction is used to indicate the target platform and the import address; or, In response to a translation table export instruction, a translation table corresponding to the target platform indicated by the translation table export instruction is extracted from the first storage space and output to a first export address indicated by the translation table export instruction; wherein the translation table export instruction is used to indicate the target platform and the first export address.
5. The method according to any one of claims 1 to 4, characterized in that: The corresponding relationship is stored in the first storage space in the form of a translation table, and the translation table has a corresponding relationship with the target platform. The method further includes: In response to an option parameter batch export instruction, determining a translation table corresponding to a target platform indicated by the option parameter batch export instruction; wherein the option parameter batch export instruction is used to indicate a target platform and a second export address; and the target platform includes a central processing unit of the same type; Determining the storage address of each BIOS variable information in the translation table corresponding to the target platform in the BIOS chip of the first computing device according to the translation table corresponding to the target platform and the preset mapping table; wherein the preset mapping table is used to describe the correspondence between the BIOS variable information and the storage address in the BIOS chip; Reading, according to the storage address in the BIOS chip, the variable value of each BIOS variable information in the translation table corresponding to the target platform stored in the BIOS chip; Determining parameter values of the variable values of each BIOS variable information read according to the translation table corresponding to the target platform and the variable values of each BIOS variable information read; Output the parameter value of the BIOS option parameter information in the translation table corresponding to the target platform to the second export address indicated by the option parameter batch export instruction.
6. A method for generating a BIOS translation table, characterized in that: The method is applied to a second computing device; the method comprises: Obtaining BIOS variable translation information; wherein the BIOS variable translation information is used to describe the correspondence between BIOS option parameter information and BIOS variable information; Generate a translation table according to the BIOS variable translation information; wherein the translation table is used to describe the correspondence between the BIOS option parameter information and the BIOS variable information; The translation table is stored in a second storage space; wherein the second storage space is other storage space independent of the BIOS chip in the second computing device.
7. The method according to claim 6, characterized in that Generating the translation table according to the BIOS variable translation information includes: The BIOS variable translation information is parsed according to preset parsing rules to obtain the translation table.
8. The method according to claim 7, characterized in that The preset parsing rules include a start mark, an end mark, and a correspondence between a data format and a variable type; According to the preset parsing rules, the BIOS variable translation information is parsed to obtain the translation table, including: If the start identifier is identified, the correspondence between the BIOS option parameter information and the BIOS variable information of the variable type corresponding to the data format is extracted from the BIOS variable translation information according to the correspondence between the data format and the variable type, and stored in the initial translation table until the end identifier is identified, and the translation table is obtained according to the initial translation table.
9. The method according to claim 8, characterized in that The data format has a plurality of preset sections; according to the correspondence between the data format and the variable type, extracting the correspondence between the BIOS option parameter information and the BIOS variable information of the variable type corresponding to the data format from the BIOS variable translation information, including: If it is determined that both the second preset paragraph and the third preset paragraph have values, it is determined that the variable type corresponding to the data format is an enumeration type, and the correspondence between the enumeration type BIOS option parameter information and the BIOS variable information is extracted from the BIOS variable translation information; or, If it is determined that the second preset section does not have a value, and the third preset section has a value, then the variable type corresponding to the data format is determined to be a numerical type, and the correspondence between the numerical type BIOS option parameter information and the BIOS variable information is extracted from the BIOS variable translation information; or, If it is determined that neither the second preset paragraph nor the third preset paragraph has a value, then determining that the variable type corresponding to the data format is a text type, and extracting the correspondence between the text type BIOS option parameter information and the BIOS variable information from the BIOS variable translation information; or, If it is determined that the second preset paragraph has a value and the third preset paragraph does not have a value, it is determined that the variable type corresponding to the data format is a sequence type, and the correspondence between the sequence type BIOS option parameter information and the BIOS variable information is extracted from the BIOS variable translation information.
10. A computing device, characterized in that: The computing device includes: a processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method for processing BIOS variable information according to any one of claims 1-5, or the method for generating a BIOS translation table according to any one of claims 6-9.
Citation Information
Patent Citations
Parameter configuration management method and device based on graphical user interface
CN107273163A
Method and system for reducing startup time of server and medium
CN113064639A
Processing method and electronic equipment
CN116954732A
System and method for automatically managing updated UEFI variables
US20180293061A1
Systems and methods for repairing corruption to BIOS boot critical memory variables
US20220283918A1
Cited By
Processing method for BIOS variable information, and computing device
WO2026040443A1
