Display method and device of BIOS configuration interface, storage medium and electronic equipment

By reading the target requirement table from the BIOS configuration interface and dynamically constructing a JSON file, the problem of inflexible BIOS configuration interface display was solved, enabling customized interface display and improving operational convenience and development efficiency.

CN122111522APending Publication Date: 2026-05-29NINGCHANG INFORMATION TECH (HANGZHOU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
NINGCHANG INFORMATION TECH (HANGZHOU) CO LTD
Filing Date
2026-01-28
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

In existing technologies, when pushing option information, the BIOS configuration interface is difficult to modify, and there is a risk that non-customer-required options may be modified. In addition, the workload of developers is high, and a lot of effort is required to compare options during version iteration, which is cumbersome and prone to errors.

Method used

By responding to the power-on command of the target device, the target requirement table is read from the storage medium, a JSON file of the BIOS configuration interface is dynamically constructed, and it is pushed to the BMC. Only the user-specified option information is displayed, avoiding the display of irrelevant configuration items.

Benefits of technology

It enables dynamic display of the customized BIOS configuration interface, improving the flexibility and adaptability of the interface, reducing the workload of developers, simplifying the version release process, and reducing the risk of device malfunction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122111522A_ABST
    Figure CN122111522A_ABST
Patent Text Reader

Abstract

The application provides a BIOS configuration interface display method and device, a storage medium and an electronic device, and the method comprises the following steps: in response to a starting instruction of a target device, reading a target requirement table from a storage medium of the target device, wherein the requirement table is used for storing customization page information of a basic input / output system (BIOS) configuration interface; dynamically constructing a JSON file of the BIOS configuration interface according to the target requirement table; pushing the JSON file to a baseboard management controller (BMC) of the target device, so that the BMC displays a customized BIOS configuration interface on a display screen during the starting process of the target device by using the JSON file. By using the application, the technical problem that the customized BIOS configuration interface cannot be dynamically displayed in the related art is solved, and the flexibility and plasticity of the BIOS configuration interface are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of server technology, and more specifically, to a method and apparatus for displaying a BIOS configuration interface, a storage medium, and an electronic device. Background Technology

[0002] In related technologies, the Basic Input Output System (BIOS) is a set of boot programs deployed on the motherboard memory chip. The Baseboard Management Controller (BMC) is a fundamental core functional subsystem of the server, primarily responsible for core functions such as hardware status management, operating system management, and health status management. The BIOS typically pushes "BIOS Setup interface" option information to the BMC by constructing a JSON (JavaScript Object Notation) file.

[0003] In related technologies, BIOS typically uses one of two methods to construct JSON files: First, it creates a JSON file based on the identifier (i.e., MapStringId) corresponding to the option information in the "BIOS Setup interface" and pushes the created JSON file to the BMC; second, it constructs a JSON file by explicitly converting the MapStringId into a "Uni string" displayed in the "BIOS Setup interface" and pushes it to the BMC.

[0004] In related technologies, one approach involves capturing all options containing MapStringId during each boot process, constructing a JSON file, and pushing it to the BMC. This approach pushes all option MapStringIds to the BMC, significantly increasing the difficulty for customers to modify options and also posing a risk of non-customer-required options being modified. Another approach requires developers to manually mask non-customer-required MapStringIds and construct the JSON file. This approach greatly increases the workload for developers, and during version iterations, developers need to expend considerable effort comparing options to prevent irrelevant options from being pushed, making the process cumbersome and error-prone.

[0005] No efficient and accurate solution has yet been found to address the aforementioned issues in the relevant technologies. Summary of the Invention

[0006] This invention provides a method and apparatus for displaying a BIOS configuration interface, a storage medium, and an electronic device to solve technical problems in related technologies.

[0007] According to an embodiment of the present invention, a method for displaying a BIOS configuration interface is provided, comprising: responding to a power-on command of a target device; reading a target requirement table from a storage medium of the target device, wherein the requirement table is used to store customized page information of a basic input / output system BIOS configuration interface; dynamically constructing a JSON file of the BIOS configuration interface according to the target requirement table; and pushing the JSON file to a baseboard management controller (BMC) of the target device, so that the BMC displays the customized BIOS configuration interface on a display screen using the JSON file during the power-on process of the target device.

[0008] When the device is powered on, users can select custom BIOS configuration interface options from the target requirements table. The BMC only displays the user-specified options and does not display any configuration items unrelated to the requirements. This provides a solution for displaying a custom BIOS configuration interface, solves the technical problem of not being able to dynamically display a custom BIOS configuration interface in related technologies, and improves the flexibility and adaptability of the BIOS configuration interface.

[0009] Optionally, before reading the target requirement table from the storage medium of the target device, the method further includes: displaying a layout interface of the requirement table in the editing interface of the BIOS configuration interface, wherein the layout interface is identical to the layout information of the BIOS configuration interface; detecting user configuration instructions for the BIOS configuration interface in the layout interface, wherein the configuration instructions are used to indicate which BIOS configuration pages and BIOS configuration items need to be displayed or not to be displayed in the customized BIOS configuration interface; generating the target requirement table using the configuration instructions, and storing it in the storage medium of the target device.

[0010] The solution in this embodiment pre-configures the target requirement table for the BIOS configuration interface according to the user's personalized actual needs and stores it in the storage medium of the target device. Subsequently, when the target device is powered on, the target requirement table can be directly read and called to display the customized BIOS configuration interface, which improves the customization efficiency of the BIOS configuration interface. It is only necessary to dynamically adjust the corresponding requirement table according to the customer's needs, without needing to understand the specific instruction information. Non-R&D personnel can also operate it, which can improve the efficiency of version release.

[0011] Optionally, reading the target requirement table from the storage medium of the target device includes one of the following: reading the target requirement table from the BMC of the target device; or reading the target requirement table from the electrically erasable programmable read-only memory (EEPROM) of the target device.

[0012] By using the solution in this embodiment, the target requirement table corresponding to the customized BIOS configuration interface is stored in the BMC or EEPROM of the target device in advance. The target requirement table can be read from the BMC or EEPROM of the target device, which improves the flexibility of target requirement table storage. Moreover, there is no need to add new hardware to the target device. The BIOS configuration interface can be dynamically customized by reading the target requirement table local to the target device. There is no need to adjust the code content of the BIOS configuration interface, which reduces the development time of developers and improves development efficiency.

[0013] Optionally, dynamically constructing the JSON file of the BIOS configuration interface based on the target requirement table includes: selecting several target BIOS configuration pages that match the target requirement table from the BIOS configuration page set of the BIOS configuration interface; for each target BIOS configuration page, selecting several target BIOS configuration items that match the target requirement table from the BIOS configuration item set of the BIOS configuration interface; and dynamically constructing the JSON file of the BIOS configuration interface based on the several target BIOS configuration pages and the several target BIOS configuration items.

[0014] The solution implemented in this way first selects several matching target BIOS configuration pages through the target requirement table, then selects matching target BIOS configuration items through the target requirement table, and then dynamically constructs a JSON file of the BIOS configuration interface using the matching target BIOS configuration pages and target BIOS configuration items. The BMC only displays the option information specified by the customer and will not display any configuration items that are irrelevant to the requirements, which significantly improves the convenience of customer operation and effectively avoids the risk of device malfunction due to modification of irrelevant options.

[0015] Optionally, selecting several target BIOS configuration pages that match the target requirement table from the BIOS configuration page set in the BIOS configuration interface includes: obtaining the BIOS configuration page set of the BIOS configuration interface of the target device's BIOS system; for each BIOS configuration page in the BIOS configuration page set, determining whether the page identifier of the BIOS configuration page is recorded in the target requirement table; if the page identifier of the BIOS configuration page is recorded in the target requirement table, selecting the BIOS configuration page as the target BIOS configuration page to be displayed upon startup; if the page identifier of the BIOS configuration page is not recorded in the target requirement table, determining the BIOS configuration page as a non-target BIOS configuration page not to be displayed upon startup.

[0016] Using the solution in this example, several target BIOS configuration pages are selected through the target requirements table. The BMC only displays the target BIOS configuration pages specified by the customer, and no pages unrelated to the requirements will appear. This significantly improves the convenience of customer operation and effectively avoids the risk of device malfunction due to entering or modifying unrelated BIOS configuration pages.

[0017] Optionally, selecting several target BIOS configuration items that match the target requirement table from the BIOS configuration item set in the BIOS configuration interface includes: obtaining the BIOS configuration item set of the target BIOS configuration page of the BIOS configuration interface of the target device's BIOS system; for each BIOS configuration item in the BIOS configuration item set, determining whether the configuration item identifier of the BIOS configuration item is recorded in the target requirement table; if the configuration item identifier of the BIOS configuration item is recorded in the target requirement table, selecting the BIOS configuration item as the target BIOS configuration item to be displayed on the target BIOS configuration page upon startup; if the configuration item identifier of the BIOS configuration item is not recorded in the target requirement table, determining the BIOS configuration item as a non-target BIOS configuration item that is not displayed on the target BIOS configuration page upon startup.

[0018] Using the solution in this example, by selecting several matching target BIOS configuration items through the target requirements table, the BMC will only display the target BIOS configuration items specified by the customer, and will not display any configuration items unrelated to the requirements. This significantly improves the convenience of customer operation and effectively avoids the risk of device malfunction due to entering or modifying unrelated BIOS configuration items.

[0019] Optionally, dynamically constructing a JSON file for the BIOS configuration interface based on the plurality of target BIOS configuration pages and the plurality of target BIOS configuration items includes: for each target BIOS configuration item in each target BIOS configuration page, reading the character identifier and string mapping identifier of the target BIOS configuration item; determining whether there is a configuration item with the same name as the character identifier of the target BIOS configuration item among all target BIOS configuration items; if there is a configuration item with the same name as the character identifier of the target BIOS configuration item among all target BIOS configuration items, concatenating the character identifier and string mapping identifier of the target BIOS configuration item to generate a configuration item identifier of the target BIOS configuration item; if there is no configuration item with the same name as the character identifier of the target BIOS configuration item among all target BIOS configuration items, constructing the configuration item identifier of the target BIOS configuration item using the character identifier of the target BIOS configuration item; and dynamically constructing a JSON file for the BIOS configuration interface using the configuration item identifier.

[0020] This invention allows for flexible selection of character identifiers and / or string mapping identifiers to construct JSON files using a target requirement table, ensuring the uniqueness of configuration item identifiers in the JSON file while improving the efficiency of option lookup and location within the JSON file.

[0021] Optionally, after reading the target requirement table from the storage medium of the target device, the method further includes: detecting whether the version of the BIOS configuration interface has been updated; if the version of the BIOS configuration interface has been updated, reading the latest interface information of the BIOS configuration interface; determining whether there is an update item in the latest interface information that matches the target requirement table; if there is an update item in the latest interface information that matches the target requirement table, updating the target requirement table based on the update item; if there is no update item in the latest interface information that matches the target requirement table, prohibiting updating the target requirement table.

[0022] By adopting the solution in this implementation scenario, when the BIOS configuration interface is updated due to BIOS version iteration and upgrade, there is no need to pay attention to the changes in all option information. It is only necessary to focus on the selection of option information in the customer's customized target requirements table, thereby avoiding the risks brought to users by the addition of new options during the version iteration process and simplifying the development process.

[0023] According to another embodiment of the present invention, a display device for a BIOS configuration interface is provided, comprising: a first reading module, configured to read a target requirement table from a storage medium of the target device in response to a power-on command of the target device, wherein the requirement table is used to store customized page information of the basic input / output system BIOS configuration interface; a construction module, configured to dynamically construct a JSON file of the BIOS configuration interface according to the target requirement table; and a first display module, configured to push the JSON file to the baseboard management controller (BMC) of the target device, so that the BMC displays the customized BIOS configuration interface on a display screen using the JSON file during the power-on process of the target device.

[0024] Optionally, the device further includes: a second display module, configured to display a layout interface of the requirement table in the editing interface of the BIOS configuration interface before the first reading module reads the target requirement table from the storage medium of the target device, wherein the layout interface is identical to the layout information of the BIOS configuration interface; a first detection module, configured to detect user configuration instructions for the BIOS configuration interface in the layout interface, wherein the configuration instructions are used to indicate which BIOS configuration pages and BIOS configuration items need to be displayed or not to be displayed in the customized BIOS configuration interface; and a generation module, configured to generate the target requirement table using the configuration instructions and store it in the storage medium of the target device.

[0025] Optionally, the first reading module includes one of the following: a first reading unit, configured to read a target demand table from the BMC of the target device; and a second reading unit, configured to read a target demand table from the electrically erasable programmable read-only memory (EEPROM) of the target device.

[0026] Optionally, the construction module includes: a first selection unit, configured to select several target BIOS configuration pages that match the target requirement table from the BIOS configuration page set in the BIOS configuration interface; a second selection unit, configured to select several target BIOS configuration items that match the target requirement table from the BIOS configuration item set in the BIOS configuration interface for each target BIOS configuration page; and a construction unit, configured to dynamically construct a JSON file of the BIOS configuration interface based on the several target BIOS configuration pages and the several target BIOS configuration items.

[0027] Optionally, the first selection unit includes: an acquisition subunit, configured to acquire a set of BIOS configuration pages of the BIOS configuration interface of the BIOS system of the target device; a judgment subunit, configured to determine, for each BIOS configuration page in the set of BIOS configuration pages, whether the page identifier of the BIOS configuration page is recorded in the target requirement table; and a selection subunit, configured to select the BIOS configuration page as the target BIOS configuration page to be displayed upon startup if the page identifier of the BIOS configuration page is recorded in the target requirement table; and to determine the BIOS configuration page as a non-target BIOS configuration page to be displayed without startup if the page identifier of the BIOS configuration page is not recorded in the target requirement table.

[0028] Optionally, the second selection unit includes: an acquisition subunit, configured to acquire a set of BIOS configuration items for the target BIOS configuration page of the BIOS configuration interface of the target device's BIOS system; a selection subunit, configured to determine, for each BIOS configuration item in the set of BIOS configuration items, whether the configuration item identifier of the BIOS configuration item is recorded in the target requirement table; and a selection subunit, configured to select the BIOS configuration item as the target BIOS configuration item to be displayed on the target BIOS configuration page when it is to be booted if the configuration item identifier of the BIOS configuration item is to be booted if it is not recorded in the target requirement table; and to determine the BIOS configuration item as a non-target BIOS configuration item that is not to be displayed on the target BIOS configuration page when it is not to be booted if the configuration item identifier of the BIOS configuration item is not recorded in the target requirement table.

[0029] Optionally, the construction unit includes: a reading subunit, used to read the character identifier and string mapping identifier of each target BIOS configuration item in each target BIOS configuration page; a judging subunit, used to judge whether there is a configuration item with the same name as the character identifier of the target BIOS configuration item among all target BIOS configuration items; a generating subunit, used to generate a configuration item identifier of the target BIOS configuration item by concatenating the character identifier and string mapping identifier of the target BIOS configuration item if there is a configuration item with the same name as the character identifier of the target BIOS configuration item among all target BIOS configuration items; and a construction subunit, used to dynamically construct a JSON file of the BIOS configuration interface using the configuration item identifier.

[0030] Optionally, the device further includes: a second detection module, configured to detect whether the version of the BIOS configuration interface has been updated after the first reading module reads the target requirement table from the storage medium of the target device; the second reading module, configured to read the latest interface information of the BIOS configuration interface if the version of the BIOS configuration interface has been updated; a judgment module, configured to determine whether there is an update item matching the target requirement table in the latest interface information; and an update module, configured to update the target requirement table based on the update item if there is an update item matching the target requirement table in the latest interface information; and to prohibit updating the target requirement table if there is no update item matching the target requirement table in the latest interface information.

[0031] According to another aspect of the embodiments of this application, a storage medium is also provided, the storage medium including a stored program that executes the above steps when the program is run.

[0032] According to another aspect of the embodiments of this application, an electronic device is also provided, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; wherein: the memory is used to store computer programs; and the processor is used to execute the steps in the above method by running the programs stored in the memory.

[0033] According to yet another embodiment of the present invention, a storage medium is also provided, wherein a computer program is stored therein, wherein the computer program is configured to execute the steps in any of the above-described apparatus embodiments when running.

[0034] Through this embodiment of the invention, in response to the power-on command of the target device, a target requirement table is read from the storage medium of the target device. This requirement table stores customized page information for the Basic Input / Output System (BIOS) configuration interface. A JSON file for the BIOS configuration interface is dynamically constructed based on the target requirement table. The JSON file is then pushed to the Baseboard Management Controller (BMC) of the target device, enabling the BMC to display the customized BIOS configuration interface on the screen using the JSON file during the device's power-on process. When the device powers on, users select user-customized BIOS configuration interface options from the target requirement table. The BMC only displays the user-specified options and avoids displaying any configuration items unrelated to the requirements. This provides a solution for displaying a customized BIOS configuration interface, solving the technical problem of not being able to dynamically display a customized BIOS configuration interface in related technologies, and improving the flexibility and adaptability of the BIOS configuration interface. Attached Figure Description

[0035] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings: Figure 1 This is a hardware structure block diagram of a server according to an embodiment of the present invention; Figure 2 This is a flowchart of a method for displaying a BIOS configuration interface according to an embodiment of the present invention; Figure 3 This is a flowchart of BIOS configuration page parsing in an embodiment of the present invention; Figure 4 This is a flowchart illustrating the parsing process of BIOS configuration items in an embodiment of the present invention; Figure 5 This is a flowchart illustrating the dynamic construction of a JSON file in an embodiment of the present invention; Figure 6 This is a structural block diagram of a BIOS configuration interface display device according to an embodiment of the present invention. Detailed Implementation

[0036] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application. It should be noted that, unless otherwise specified, the embodiments and features in the embodiments of the present application can be combined with each other.

[0037] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0038] Example 1 The method embodiment provided in Embodiment 1 of this application can be executed in servers, computers, computer motherboards, and similar device management devices. Taking running on a server as an example, Figure 1 This is a hardware structure block diagram of a server according to an embodiment of the present invention. Figure 1 As shown, a server may include one or more ( Figure 1 Only one is shown in the image. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. Optionally, the server may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the server described above. For example, the server may also include components that are more complex than... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.

[0039] The memory 104 can be used to store server programs, such as application software programs and modules, like the server program corresponding to a BIOS configuration interface display method in this embodiment of the invention. The processor 102 executes various functional applications and data processing by running the server program stored in the memory 104, thus implementing the above-described method. The memory 104 may include high-speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the server via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0040] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the server's communication provider. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module used for wireless communication with the Internet.

[0041] This embodiment provides a method for displaying a BIOS configuration interface. Figure 2 This is a flowchart of a method for displaying a BIOS configuration interface according to an embodiment of the present invention, such as... Figure 2 As shown, the process includes the following steps: Step S202: In response to the power-on command of the target device, read the target requirement table from the storage medium of the target device, wherein the requirement table is used to store the customized page information of the BIOS configuration interface of the basic input / output system.

[0042] In this embodiment, the BIOS configuration interface is the BIOS Setup interface.

[0043] Optionally, the target requirements table is a table or text that stores customized page information for the BIOS Setup interface. The customized page information in the target requirements table includes multiple pages, each storing customized page information for the customized BIOS configuration interface.

[0044] In one example, reading the target requirement table from the storage medium of the target device includes: reading the attribute information of the target device, wherein the attribute information includes: hardware information, software version information, location information, login account information (corresponding to the user permission scope), and reading the matching target requirement table from the requirement table set in the storage medium of the target device according to the attribute information.

[0045] Step S204: Dynamically construct the JSON file of the BIOS configuration interface based on the target requirement table.

[0046] The JSON file in this embodiment is a data exchange format used to encapsulate BIOS configuration information (such as BIOS configuration pages, BIOS configuration items, etc.). In addition to JSON files, other data exchange formats negotiated between the motherboard and the BMC can also be used.

[0047] Step S206: Push the JSON file to the Baseboard Management Controller (BMC) of the target device, so that the BMC uses the JSON file to display a customized BIOS configuration interface on the display screen during the power-on process of the target device.

[0048] Optionally, the motherboard and BMC can communicate via a specific interface protocol (such as LPC (Low Pin Count) communication protocol, eSPI (Enhanced Serial Peripheral Interface) communication protocol, etc.). The JSON file can be pushed to the BMC through a specific interface protocol, or it can be sent to the BMC via serial port / UART, CAN, LIN bus, or wireless communication.

[0049] In this embodiment, the customized BIOS configuration interface can be a BIOS configuration interface that only displays a portion of the BIOS configuration pages. For example, during normal startup, the BIOS configuration interface needs to switch between displaying 10 BIOS configuration pages (the complete BIOS configuration interface contains all 10 BIOS configuration pages). Through customization, only the 5 BIOS configuration pages corresponding to the target requirement table can be selected. At the same time, the customized BIOS configuration interface can be a BIOS configuration interface that only displays a portion of the BIOS configuration items. For example, during normal startup, a certain BIOS configuration page needs to display 8 BIOS configuration items (the complete BIOS configuration page contains all 8 BIOS configuration items). Through customization, only the 4 BIOS configuration items corresponding to the target requirement table can be selected.

[0050] Through the above steps, in response to the power-on command of the target device, a target requirement table is read from the storage medium of the target device. This requirement table stores customized page information for the Basic Input / Output System (BIOS) configuration interface. A JSON file for the BIOS configuration interface is dynamically constructed based on the target requirement table. This JSON file is then pushed to the Baseboard Management Controller (BMC) of the target device, enabling the BMC to display the customized BIOS configuration interface on the screen during the device's power-on process. When the device powers on, users select user-customized BIOS configuration interface options from the target requirement table. The BMC only displays the user-specified options and avoids displaying any configuration items unrelated to the requirements. This achieves a solution for displaying a customized BIOS configuration interface, solving the technical problem of not being able to dynamically display a customized BIOS configuration interface in related technologies, and improving the flexibility and adaptability of the BIOS configuration interface.

[0051] In this embodiment, before reading the target requirement table from the storage medium of the target device, the method further includes: displaying a layout interface of the requirement table in the editing interface of the BIOS configuration interface, wherein the layout interface is the same as the layout information of the BIOS configuration interface; detecting user configuration instructions for the BIOS configuration interface in the layout interface, wherein the configuration instructions are used to indicate which BIOS configuration pages and BIOS configuration items need to be displayed or not to be displayed in the customized BIOS configuration interface; generating the target requirement table using the configuration instructions, and storing it in the storage medium of the target device.

[0052] The BIOS configuration interface of the target device can be initialized and customized during the factory manufacturing stage to generate a target requirement table and store it in the target device's storage medium.

[0053] The layout of the requirements table is consistent with the layout of the BIOS configuration interface. For example, if the BIOS configuration interface has three pages, the requirements table will also have three pages. The target requirements table can be a table or text. The editing interface of the BIOS configuration interface displays all BIOS configuration pages and all BIOS configuration items for each page. In one example, the BIOS configuration interface has three pages: Page 1, Page 2, and Page 3. Different BIOS configuration pages are accessed at different stages or through different buttons. Each BIOS configuration page displays several BIOS configuration items. For example, Page 1 has configuration items 11, 12, and 13; Page 2 has configuration items 21 and 22; and Page 3 has configuration items 31, 32, 33, and 34.

[0054] Optionally, configuration commands can be selection commands. If page 1 and page 2 are selected in the layout interface, then page 1 and page 2 will be the target BIOS configuration pages to be displayed. Additionally, if configuration item 11 is selected on page 1, then configuration item 11 will be the target BIOS configuration item in page 1 to be displayed. Configuration commands can also be conditional commands, with corresponding values ​​of "yes" and "no". If the conditional command for page 1 and page 2 in the layout interface is "yes", then page 1 and page 2 will be the target BIOS configuration pages to be displayed.

[0055] The solution in this embodiment pre-configures the target requirement table for the BIOS configuration interface according to the user's personalized actual needs and stores it in the storage medium of the target device. Subsequently, when the target device is powered on, the target requirement table can be directly read and called to display the customized BIOS configuration interface, which improves the customization efficiency of the BIOS configuration interface. It is only necessary to dynamically adjust the corresponding requirement table according to the customer's needs, without needing to understand the specific instruction information. Non-R&D personnel can also operate it, which can improve the efficiency of version release.

[0056] Optionally, reading the target requirement table from the storage medium of the target device may include, but is not limited to: reading the target requirement table from the BMC of the target device; or reading the target requirement table from the electrically erasable programmable read-only memory (EEPROM) of the target device.

[0057] In this embodiment, the storage medium is a medium on the target device that stores the target demand table. The BIOS can read the target demand table from the storage medium. For example, the target demand table can be stored in the BMC, and the BIOS can obtain the target demand table through interaction with the BMC. This storage medium can be a BMC, or an EEPROM (Electrically Erasable Programmable Read-Only Memory, a type of memory chip that does not lose data after power failure), or any other form of storage device that can be accessed by the BIOS.

[0058] By using the solution in this embodiment, the target requirement table corresponding to the customized BIOS configuration interface is stored in the BMC or EEPROM of the target device in advance. The target requirement table can be read from the BMC or EEPROM of the target device, which improves the flexibility of target requirement table storage. Moreover, there is no need to add new hardware to the target device. The BIOS configuration interface can be dynamically customized by reading the target requirement table local to the target device. There is no need to adjust the code content of the BIOS configuration interface, which reduces the development time of developers and improves development efficiency.

[0059] In one embodiment of this example, dynamically constructing a JSON file for the BIOS configuration interface based on the target requirement table includes: selecting several target BIOS configuration pages that match the target requirement table from the BIOS configuration page set in the BIOS configuration interface; for each target BIOS configuration page, selecting several target BIOS configuration items that match the target requirement table from the BIOS configuration item set in the BIOS configuration interface; and dynamically constructing a JSON file for the BIOS configuration interface based on the several target BIOS configuration pages and the several target BIOS configuration items.

[0060] The BIOS configuration page set in this embodiment is a complete resource library pre-existing in the BIOS code, including all possible BIOS configuration pages in the current version of the BIOS system.

[0061] During the startup phase, the BIOS uses a page parsing unit and an option parsing unit to dynamically construct a JSON file. The page parsing unit selects several target BIOS configuration pages that match the target requirement table, and the option parsing unit selects several target BIOS configuration items that match the target requirement table. Finally, the JSON file of the BIOS configuration interface is dynamically constructed.

[0062] The solution implemented in this way first selects several matching target BIOS configuration pages through the target requirement table, then selects matching target BIOS configuration items through the target requirement table, and then dynamically constructs a JSON file of the BIOS configuration interface using the matching target BIOS configuration pages and target BIOS configuration items. The BMC only displays the option information specified by the customer and will not display any configuration items that are irrelevant to the requirements, which significantly improves the convenience of customer operation and effectively avoids the risk of device malfunction due to modification of irrelevant options.

[0063] In one example, selecting several target BIOS configuration pages that match the target requirement table from the BIOS configuration page set of the BIOS configuration interface includes: obtaining the BIOS configuration page set of the BIOS configuration interface of the target device's BIOS system; for each BIOS configuration page in the BIOS configuration page set, determining whether the page identifier of the BIOS configuration page is recorded in the target requirement table; if the page identifier of the BIOS configuration page is recorded in the target requirement table, selecting the BIOS configuration page as the target BIOS configuration page to be displayed upon startup; if the page identifier of the BIOS configuration page is not recorded in the target requirement table, determining the BIOS configuration page as a non-target BIOS configuration page to be displayed without startup.

[0064] During the machine startup process of the target device, the information of each page of the BIOS configuration page is parsed and judged. It is checked whether the page has been selected by the customer in the target requirements table, so as to decide whether to enter the option parsing unit to further parse the option information under the page. If it is recorded in the target requirements table, the option information under the page is further parsed. If it is not recorded in the target requirements table, the current page does not need to be displayed in the customized BIOS configuration interface and does not need to be built into the JSON file. Figure 3This is a flowchart of BIOS configuration page parsing in an embodiment of the present invention. It traverses the BIOS Setup interface page information. For each BIOS configuration page, it determines whether the page has been selected by the customer according to the target requirement table. If so, it enters the option parsing unit for further processing. If not, it continues to traverse the next page information of the BIOS Setup interface until the traversal is complete.

[0065] Using the solution in this example, several target BIOS configuration pages are selected through the target requirements table. The BMC only displays the target BIOS configuration pages specified by the customer, and no pages unrelated to the requirements will appear. This significantly improves the convenience of customer operation and effectively avoids the risk of device malfunction due to entering or modifying unrelated BIOS configuration pages.

[0066] In one example, selecting several target BIOS configuration items that match the target requirement table from the BIOS configuration item set in the BIOS configuration interface includes: obtaining the BIOS configuration item set of the target BIOS configuration page of the BIOS system of the target device; for each BIOS configuration item in the BIOS configuration item set, determining whether the configuration item identifier of the BIOS configuration item is recorded in the target requirement table; if the configuration item identifier of the BIOS configuration item is recorded in the target requirement table, selecting the BIOS configuration item as the target BIOS configuration item to be displayed on the target BIOS configuration page upon startup; if the configuration item identifier of the BIOS configuration item is not recorded in the target requirement table, determining the BIOS configuration item as a non-target BIOS configuration item that is not displayed on the target BIOS configuration page upon startup.

[0067] The BIOS configuration page set in this embodiment is a complete resource library pre-existing in the BIOS code, including all possible BIOS configuration items in the current version of the BIOS system.

[0068] In this example, when a customer selects a page in the BIOS configuration page, all options (configuration items) within that target BIOS configuration page are parsed, and it is determined whether the option has been selected by the customer in the target requirements table. This determines whether the option should be written to the JSON file. If it is recorded in the target requirements table, the target BIOS configuration item is written to the JSON file. If it is not recorded in the target requirements table, the current BIOS configuration item does not need to be displayed in the target BIOS configuration page, nor does it need to be built into the JSON file.

[0069] Using the solution in this example, by selecting several matching target BIOS configuration items through the target requirements table, the BMC will only display the target BIOS configuration items specified by the customer, and will not display any configuration items unrelated to the requirements. This significantly improves the convenience of customer operation and effectively avoids the risk of device malfunction due to entering or modifying unrelated BIOS configuration items.

[0070] In one example, dynamically constructing a JSON file for the BIOS configuration interface based on the plurality of target BIOS configuration pages and the plurality of target BIOS configuration items includes: for each target BIOS configuration item in each target BIOS configuration page, reading the character identifier and string mapping identifier of the target BIOS configuration item; determining whether there is a configuration item with the same name as the character identifier of the target BIOS configuration item among all target BIOS configuration items; if there is a configuration item with the same name as the character identifier of the target BIOS configuration item among all target BIOS configuration items, concatenating the character identifier and string mapping identifier of the target BIOS configuration item to generate a configuration item identifier of the target BIOS configuration item; if there is no configuration item with the same name as the character identifier of the target BIOS configuration item among all target BIOS configuration items, constructing the configuration item identifier of the target BIOS configuration item using the character identifier of the target BIOS configuration item; and dynamically constructing a JSON file for the BIOS configuration interface using the configuration item identifier.

[0071] In this example, the character identifier is a Uni string (short for Unicode string), and the string mapping identifier is a MapStringId. The Uni string is the character information that can be displayed for each option in the BIOS Setup interface, such as "BIOSRedfish". The MapStringId is the unique ID value mapped to each BIOS option and is used to identify the identity information of the option, such as "Setupstring1002".

[0072] In the option parsing unit, you can choose to build the JSON file using either "MapStringId" or "Uni string". Since the BIOS has many options, using only "Uni string" to build the JSON file can easily result in duplicate options. If duplicate names exist, the "MapStringId" and "Uni string" can be automatically combined to ensure option uniqueness. While using only "MapStringId" to build the JSON file prevents duplicate options, it makes option searching and locating inconvenient.

[0073] Figure 4This is a flowchart of the BIOS configuration item parsing process in this embodiment of the invention. It iterates through the options on the target BIOS configuration page, determines whether an option should be written to a JSON file based on the target requirement table. If so, it decides whether to use "MapStringId" or "Uni string" to construct the JSON. If "MapStringId" is used, the option's "MapStringId" is written to the JSON file. If "Uni string" is used, it checks if the option's "Uni string" is duplicated. If so, the option's "MapStringId" and "Uni string" are concatenated into a new string, and this new string is written to the JSON file. Otherwise, the option's "Uni string" is directly written to the JSON file. This process continues until the last option on the page is reached.

[0074] This invention allows for flexible selection of character identifiers and / or string mapping identifiers to construct JSON files using a target requirement table, ensuring the uniqueness of configuration item identifiers in the JSON file while improving the efficiency of option lookup and location within the JSON file.

[0075] In one implementation scenario of this embodiment, after reading the target requirement table from the storage medium of the target device, the method further includes: detecting whether the version of the BIOS configuration interface has been updated; if the version of the BIOS configuration interface has been updated, reading the latest interface information of the BIOS configuration interface; determining whether there is an update item in the latest interface information that matches the target requirement table; if there is an update item in the latest interface information that matches the target requirement table, updating the target requirement table based on the update item; if there is no update item in the latest interface information that matches the target requirement table, prohibiting the updating of the target requirement table.

[0076] In one example, the old BIOS configuration interface includes pages 1, 2, and 3, while the updated interface includes pages 1, 2, 3, and 4, meaning page 4 has been added in this update. If the target requirement table includes pages 1 and 2, then there is no need to update the page information of the target requirement table. However, if the old interface includes configuration item 11 and configuration item 12 on page 1, and the updated interface includes configuration item 11, configuration item 12, and configuration item 13 on page 1, then configuration item 13 needs to be added to the target requirement table and updated.

[0077] Optionally, the updated items can be items that have been added, deleted, or changed in the latest BIOS configuration interface information relative to the old interface information. The items can be pages and configuration items.

[0078] Optionally, updating the target requirement table based on the update item includes: determining the updated page item and the changed configuration item in the latest interface information; determining whether the updated page item is recorded in the target requirement table; if the updated page item is recorded in the target requirement table, then updating the updated page item in the target requirement table; determining whether the page to which the changed configuration item belongs is recorded in the target BIOS configuration page of the target requirement table; if the page to which the changed configuration item belongs is recorded in the target BIOS configuration page of the target requirement table, then updating the changed configuration item in the target BIOS configuration page of the target requirement table; if the page to which the changed configuration item belongs is not recorded in the target BIOS configuration page of the target requirement table, then prohibiting updating the target requirement table.

[0079] By adopting the solution in this implementation scenario, when the BIOS configuration interface is updated due to BIOS version iteration and upgrade, there is no need to pay attention to the changes in all option information. It is only necessary to focus on the selection of option information in the customer's customized target requirements table, thereby avoiding the risks brought to users by the addition of new options during the version iteration process and simplifying the development process.

[0080] The following section provides a complete description of the method for dynamically constructing JSON files based on customer needs, as provided in this application embodiment, using a specific application scenario as an example. Figure 5 This is a flowchart of dynamically constructing a JSON file in an embodiment of the present invention, including: S51, Obtain customer needs information; S52, adjust the requirement table according to the customer's requirements to obtain the target requirement table; The requirements table stores the options information for the "BIOS Setup interface." This table has multiple pages, each storing information for a specific page of the "BIOS Setup interface," and its layout is consistent with the "BIOS Setup interface." The requirements table is a broad concept and can also be a medium that records option information, such as text or JSON format.

[0081] S53, import the demand table into the storage medium; The storage medium is used to store the demand table, allowing the BIOS to read the contents of the stored demand table during the boot phase. This storage medium can be a BMC, EEPROM, or any other form of storage device.

[0082] S54, during the boot process, the BIOS obtains the demand table from the storage medium; S55 dynamically constructs a JSON file based on the requirements table; During the dynamic construction of the JSON file, the BIOS uses the Page Resolution Unit and the Option Resolution Unit to dynamically construct the JSON file during the startup phase.

[0083] The execution flow of the page parsing unit includes: During machine startup, the information on each page of the "BIOS Setup interface" is parsed and judged to check whether the page has been selected by the customer in the requirements table, thereby deciding whether to enter the "Option Parsing Unit" to further parse the option information under the page.

[0084] The execution flow of the option parsing unit includes: When a customer selects a page in the "BIOS Setup" interface, all options on the page are parsed and it is determined whether the option has already been selected by the customer in the requirements table, thus deciding whether the option should be written to the JSON file.

[0085] In the option parsing unit, you can choose to use either "MapStringId" or "Uni string" to construct the JSON file. Since the BIOS has many options, using only "Uni string" to construct the JSON file can easily result in duplicate options. If duplicate names exist, "MapStringId" and "Uni string" will be automatically combined to ensure option uniqueness. While using only "MapStringId" to construct the JSON file prevents duplicate options, it makes option searching and locating inconvenient. The requirement table allows for flexible selection of either "MapStringId" or "Uni string" to construct the JSON file.

[0086] S56 pushes JSON files to BMC.

[0087] This embodiment includes, but is not limited to, using a requirements table format (any format that can record option information is acceptable, such as text mode) to construct a JSON file, achieving a WYSIWYG (What You Need Is What You Get) interface presentation. This embodiment can adjust the content of the requirements table according to different customer scenarios, including but not limited to adding or removing push options, and displaying push options using MapStringId or "Uni" string format, etc.

[0088] The solution in this embodiment dynamically constructs a JSON file of the "BIOS Setup interface" options based on a requirements list during the boot phase. It automatically identifies the options selected by the customer in the requirements list and populates the JSON file with a MapStringId or a "Uni string" as needed. The BIOS Configuration Management System (BMC) only displays the customer-specified options, avoiding any irrelevant configuration items. During BIOS version upgrades, there's no need to monitor changes to all options; only the customer-customized options need to be selected. This avoids the risks associated with adding new options during version iterations and simplifies the development process. It significantly improves the convenience of customer operation and effectively mitigates the risk of machine malfunctions due to modifications of irrelevant options, achieving a WYSIWYG (What You Need Is What You Get) interface.

[0089] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the related technology, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0090] Example 2 This embodiment also provides a display device for a BIOS configuration interface, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. The term "module" as used below can refer to a combination of software and hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also conceivable.

[0091] Figure 6 This is a structural block diagram of a BIOS configuration interface display device according to an embodiment of the present invention, such as... Figure 6 As shown, it includes: The first reading module 61 is used to respond to the power-on command of the target device and read the target demand table from the storage medium of the target device, wherein the demand table is used to store the customized page information of the BIOS configuration interface of the basic input / output system; Module 62 is used to dynamically construct a JSON file for the BIOS configuration interface based on the target requirement table; The first display module 63 is used to push the JSON file to the baseboard management controller (BMC) of the target device, so that the BMC can use the JSON file to display a customized BIOS configuration interface on the display screen during the power-on process of the target device.

[0092] Optionally, the device further includes: a second display module, configured to display a layout interface of the requirement table in the editing interface of the BIOS configuration interface before the first reading module reads the target requirement table from the storage medium of the target device, wherein the layout interface is identical to the layout information of the BIOS configuration interface; a first detection module, configured to detect user configuration instructions for the BIOS configuration interface in the layout interface, wherein the configuration instructions are used to indicate which BIOS configuration pages and BIOS configuration items need to be displayed or not to be displayed in the customized BIOS configuration interface; and a generation module, configured to generate the target requirement table using the configuration instructions and store it in the storage medium of the target device.

[0093] Optionally, the first reading module includes one of the following: a first reading unit, configured to read a target demand table from the BMC of the target device; and a second reading unit, configured to read a target demand table from the electrically erasable programmable read-only memory (EEPROM) of the target device.

[0094] Optionally, the construction module includes: a first selection unit, configured to select several target BIOS configuration pages that match the target requirement table from the BIOS configuration page set in the BIOS configuration interface; a second selection unit, configured to select several target BIOS configuration items that match the target requirement table from the BIOS configuration item set in the BIOS configuration interface for each target BIOS configuration page; and a construction unit, configured to dynamically construct a JSON file of the BIOS configuration interface based on the several target BIOS configuration pages and the several target BIOS configuration items.

[0095] Optionally, the first selection unit includes: an acquisition subunit, configured to acquire a set of BIOS configuration pages of the BIOS configuration interface of the BIOS system of the target device; a judgment subunit, configured to determine, for each BIOS configuration page in the set of BIOS configuration pages, whether the page identifier of the BIOS configuration page is recorded in the target requirement table; and a selection subunit, configured to select the BIOS configuration page as the target BIOS configuration page to be displayed upon startup if the page identifier of the BIOS configuration page is recorded in the target requirement table; and to determine the BIOS configuration page as a non-target BIOS configuration page to be displayed without startup if the page identifier of the BIOS configuration page is not recorded in the target requirement table.

[0096] Optionally, the second selection unit includes: an acquisition subunit, configured to acquire a set of BIOS configuration items for the target BIOS configuration page of the BIOS configuration interface of the target device's BIOS system; a selection subunit, configured to determine, for each BIOS configuration item in the set of BIOS configuration items, whether the configuration item identifier of the BIOS configuration item is recorded in the target requirement table; and a selection subunit, configured to select the BIOS configuration item as the target BIOS configuration item to be displayed on the target BIOS configuration page when it is to be booted if the configuration item identifier of the BIOS configuration item is to be booted if it is not recorded in the target requirement table; and to determine the BIOS configuration item as a non-target BIOS configuration item that is not to be displayed on the target BIOS configuration page when it is not to be booted if the configuration item identifier of the BIOS configuration item is not recorded in the target requirement table.

[0097] Optionally, the construction unit includes: a reading subunit, used to read the character identifier and string mapping identifier of each target BIOS configuration item in each target BIOS configuration page; a judging subunit, used to judge whether there is a configuration item with the same name as the character identifier of the target BIOS configuration item among all target BIOS configuration items; a generating subunit, used to generate a configuration item identifier of the target BIOS configuration item by concatenating the character identifier and string mapping identifier of the target BIOS configuration item if there is a configuration item with the same name as the character identifier of the target BIOS configuration item among all target BIOS configuration items; and a construction subunit, used to dynamically construct a JSON file of the BIOS configuration interface using the configuration item identifier.

[0098] Optionally, the device further includes: a second detection module, configured to detect whether the version of the BIOS configuration interface has been updated after the first reading module reads the target requirement table from the storage medium of the target device; the second reading module, configured to read the latest interface information of the BIOS configuration interface if the version of the BIOS configuration interface has been updated; a judgment module, configured to determine whether there is an update item matching the target requirement table in the latest interface information; and an update module, configured to update the target requirement table based on the update item if there is an update item matching the target requirement table in the latest interface information; and to prohibit updating the target requirement table if there is no update item matching the target requirement table in the latest interface information.

[0099] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.

[0100] Example 3 Embodiments of the present invention also provide a storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above method embodiments when running.

[0101] Optionally, in this embodiment, the storage medium can be configured to store a computer program for execution: S1, in response to the power-on command of the target device, read the target requirement table from the storage medium of the target device, wherein the requirement table is used to store the customized page information of the BIOS configuration interface of the basic input / output system; S2, dynamically construct the JSON file of the BIOS configuration interface based on the target requirement table; S3, push the JSON file to the Baseboard Management Controller (BMC) of the target device, so that the BMC uses the JSON file to display a customized BIOS configuration interface on the display screen during the power-on process of the target device.

[0102] Optionally, in this embodiment, the storage medium may include, but is not limited to, various media capable of storing computer programs, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0103] Embodiments of the present invention also provide an electronic device including a memory and a processor, the memory storing a computer program and the processor being configured to run the computer program to perform the steps in any of the above method embodiments.

[0104] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.

[0105] Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program: S1, in response to the power-on command of the target device, read the target requirement table from the storage medium of the target device, wherein the requirement table is used to store the customized page information of the BIOS configuration interface of the basic input / output system; S2, dynamically construct the JSON file of the BIOS configuration interface based on the target requirement table; S3, push the JSON file to the Baseboard Management Controller (BMC) of the target device, so that the BMC uses the JSON file to display a customized BIOS configuration interface on the display screen during the power-on process of the target device.

[0106] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, and will not be repeated here.

[0107] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0108] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0109] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection of units or modules may be electrical or other forms.

[0110] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0111] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0112] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to related technologies, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, controller, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.

[0113] The above are merely preferred embodiments of this application. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A method for displaying a BIOS configuration interface, characterized in that, include: In response to the power-on command of the target device, a target requirement table is read from the storage medium of the target device, wherein the requirement table is used to store the customization page information of the BIOS configuration interface of the basic input / output system; Dynamically construct the JSON file for the BIOS configuration interface based on the target requirements table; The JSON file is pushed to the Baseboard Management Controller (BMC) of the target device, so that the BMC uses the JSON file to display a customized BIOS configuration interface on the screen during the boot process of the target device.

2. The method according to claim 1, characterized in that, Before reading the target demand table from the storage medium of the target device, the method further includes: The layout of the requirements table is displayed in the editing interface of the BIOS configuration interface, wherein the layout information of the layout interface is the same as that of the BIOS configuration interface. The layout interface detects the user's configuration instructions for the BIOS configuration interface, wherein the configuration instructions are used to indicate which BIOS configuration pages and BIOS configuration items need to be displayed or not need to be displayed in the customized BIOS configuration interface; The target requirement table is generated using the configuration instructions and stored in the storage medium of the target device.

3. The method according to claim 1, characterized in that, Reading the target requirement table from the storage medium of the target device includes one of the following: Read the target requirement table from the BMC of the target device; Read the target requirements table from the electrically erasable programmable read-only memory (EEPROM) of the target device.

4. The method according to claim 1, characterized in that, The JSON file for dynamically constructing the BIOS configuration interface based on the aforementioned target requirements table includes: Select several target BIOS configuration pages that match the target requirements table from the BIOS configuration page set in the BIOS configuration interface; For each target BIOS configuration page, select several target BIOS configuration items that match the target requirement table from the BIOS configuration item set in the BIOS configuration interface; A JSON file for dynamically constructing the BIOS configuration interface is generated based on the target BIOS configuration pages and the target BIOS configuration items.

5. The method according to claim 4, characterized in that, Selecting several target BIOS configuration pages that match the target requirements table from the set of BIOS configuration pages in the BIOS configuration interface includes: Obtain the set of BIOS configuration pages of the BIOS configuration interface of the target device's BIOS system; For each BIOS configuration page in the BIOS configuration page set, determine whether the page identifier of the BIOS configuration page is recorded in the target requirement table; If the page identifier of the BIOS configuration page is recorded in the target requirement table, the BIOS configuration page is selected as the target BIOS configuration page to be displayed upon startup; if the page identifier of the BIOS configuration page is not recorded in the target requirement table, the BIOS configuration page is determined as a non-target BIOS configuration page that is not displayed upon startup.

6. The method according to claim 4, characterized in that, Selecting several target BIOS configuration items that match the target requirements table from the BIOS configuration item set in the BIOS configuration interface includes: Obtain the set of BIOS configuration items of the target BIOS configuration page of the BIOS system of the target device; For each BIOS configuration item in the BIOS configuration item set, determine whether the configuration item identifier of the BIOS configuration item is recorded in the target requirement table; If the configuration item identifier of the BIOS configuration item is recorded in the target requirement table, the BIOS configuration item is selected as the target BIOS configuration item to be displayed on the target BIOS configuration page upon startup; if the configuration item identifier of the BIOS configuration item is not recorded in the target requirement table, the BIOS configuration item is determined as a non-target BIOS configuration item that is not displayed on the target BIOS configuration page upon startup.

7. The method according to claim 4, characterized in that, The JSON file for dynamically constructing the BIOS configuration interface based on the aforementioned target BIOS configuration pages and the aforementioned target BIOS configuration items includes: For each target BIOS configuration item in each target BIOS configuration page, read the character identifier and string mapping identifier of the target BIOS configuration item; Determine if any of the target BIOS configuration items have the same name as the target BIOS configuration item; If there is a configuration item with the same name as the target BIOS configuration item among all target BIOS configuration items, the configuration item identifier of the target BIOS configuration item is generated by concatenating the character identifier and the string mapping identifier of the target BIOS configuration item; if there is no configuration item with the same name as the target BIOS configuration item among all target BIOS configuration items, the configuration item identifier of the target BIOS configuration item is constructed using the character identifier of the target BIOS configuration item. The configuration item identifies the JSON file used to dynamically construct the BIOS configuration interface.

8. The method according to claim 1, characterized in that, After reading the target demand table from the storage medium of the target device, the method further includes: Check if the BIOS configuration interface is updated; If the BIOS configuration interface has been updated, read the latest interface information of the BIOS configuration interface; Determine whether there is an update item in the latest interface information that matches the target requirement table; If the latest interface information contains an update item that matches the target requirement table, the target requirement table is updated based on the update item; if the latest interface information does not contain an update item that matches the target requirement table, updating the target requirement table is prohibited.

9. A display device for a BIOS configuration interface, characterized in that, include: The first reading module is used to respond to the power-on command of the target device and read the target demand table from the storage medium of the target device, wherein the demand table is used to store the customization page information of the BIOS configuration interface of the basic input / output system; A build module is used to dynamically construct a JSON file for the BIOS configuration interface based on the target requirements table; The first display module is used to push the JSON file to the baseboard management controller (BMC) of the target device, so that the BMC can use the JSON file to display a customized BIOS configuration interface on the display screen during the power-on process of the target device.

10. A storage medium, characterized in that, The storage medium stores a computer program, wherein the computer program is configured to execute the steps of the method for displaying the BIOS configuration interface as described in any one of claims 1 to 8 when it is run.

11. An electronic device comprising a processor, a communication interface, a memory, and a communication bus, wherein, The processor, communication interface, and memory communicate with each other via a communication bus; among which: Memory, used to store computer programs; A processor for executing the steps of the method for displaying the BIOS configuration interface as described in any one of claims 1 to 8 by running a program stored in memory.