A setting interface command format synchronization method, device, equipment and medium
By editing the command format interaction page in the BIOS setup interface and uploading it to the BMC, the cumbersome problem of synchronizing and modifying the interaction code between the BIOS and BMC is solved, achieving convenient command format synchronization and a secure synchronization process.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- INSPUR SUZHOU INTELLIGENT TECH CO LTD
- Filing Date
- 2022-11-23
- Publication Date
- 2026-04-21
AI Technical Summary
During BIOS updates, adding new options requires modifying the protocol command list, which makes it cumbersome to synchronize the modification of the interaction code between the BIOS and BMC, and cannot be flexibly imported into the firmware already in use for immediate use.
By editing the command format interaction page in the BIOS setup interface, saving and restarting the server, the configuration information is uploaded to the BMC. The BIOS FLASH chip is read and written using the BMC's SPI bus, thus synchronizing the command formats of the BIOS and BMC and avoiding code synchronization modifications.
It enables convenient command format synchronization, lowers the operational threshold, improves synchronization efficiency, and ensures the security of the synchronization process through preset hotkeys and account passwords.
Smart Images

Figure CN115729607B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of server technology, and in particular to a method, apparatus, device and medium for synchronizing command formats in a settings interface. Background Technology
[0002] Currently, the BIOS (Basic Input Output System) SETUP interface provides settings for various BIOS functions. For example, on x86 architecture platforms, BIOS can modify the CPU (Central Processing Unit) power performance mode, set the CPU frequency and number of cores, and improve overall server performance through options; it can also disable or enable the server's PXE (Preboot Execution Environment) service; and it can modify the server's boot mode, etc. The most direct way to modify BIOS SETUP options is to press F1 or Delte when the server boots up and displays the logo to enter the BIOS SETUP and make manual modifications. However, this method has the following drawbacks: 1. It requires human supervision; 2. It cannot perform batch operations; 3. It requires an external monitor and keyboard.
[0003] Given the above points, to meet the requirements of batch configuration and remote network configuration, relevant IPMI (Intelligent Platform Management Interface) commands have been added to the BIOS to optimize the three limitations mentioned above. The specific implementation is as follows: First, the engineer connects their work computer to the server's BMC (Baseboard Management Controller) network. Using the system's IPMI tool, commands are sent to the target server. The commands include the BMC's IP address, BMC username and password, and the relevant IPMI commands. The BMC stores the commands after accurately receiving them. After the server restarts, the BMC passes the previously transmitted BIOS option commands to the BIOS, and the BIOS modifies the options after receiving and processing the commands. This method allows for batch modification via scripts and eliminates the need for manual modification at the server with an external monitor and keyboard.
[0004] There is a protocol command list between BIOS and BMC, which specifies the meaning of each bit in the command. BIOS and BMC use this protocol command to refine the relevant IPS / I interaction code and then complete the implementation through joint debugging. However, a problem arises during BIOS updates: new options are often added or existing options are modified. To modify newly added options using the above method, the protocol command list needs to be modified to add the new options to the table. Then, BIOS and BMC need to modify their respective IPS / I interaction command code according to the modified table and re-release the version. This requires BIOS and BMC to simultaneously modify the interaction code and release corresponding versions to complete the entire interaction process, which is cumbersome and cannot be flexibly imported into existing firmware for immediate use. Summary of the Invention
[0005] To address at least one of the problems mentioned in the background art, this application provides a method, apparatus, device, and medium for synchronizing interface command formats, which enables synchronized modification by uploading files to the BMC after interface modification, providing convenient operation and improved synchronization efficiency.
[0006] The specific technical solutions provided in this application are as follows:
[0007] Firstly, a method for synchronizing command formats in the settings interface is provided, including:
[0008] In response to the server powering on and entering the basic input / output system settings interface, the command format interaction page is edited. The command format interaction page is used to describe the protocol command interaction logic between the current basic input / output system and the baseboard management controller of the server.
[0009] The edited command format interaction page is saved, and the server is restarted. The basic input / output system configures commands based on the edited command format interaction page.
[0010] The configured Basic Input / Output System (BIOS) file is uploaded to the web server of the Baseboard Management Controller (BMC), so that the BMC web server can update the firmware of the BIOS and the command format space of the configuration interface of the BMC based on the configured BIOS file.
[0011] Furthermore, before restarting the server, saving the edited command format interactive page includes:
[0012] The basic input / output system stores the edited content of all command format interactive pages into non-volatile memory and sets the configuration information modification flag to 1.
[0013] Furthermore, after restarting the server, the basic input / output system configures commands according to the edited command format interactive page, including:
[0014] The basic input / output system reads the modification flag of the configuration information;
[0015] If the modification flag is 1, the basic input / output system reads the edited content of the command format interaction page in the non-volatile memory, and converts the edited command format into characters and writes them to the flash memory address for the baseboard management controller to read.
[0016] The basic input / output system performs logical operations based on the command format information value corresponding to the edited content to complete the configuration of the command format.
[0017] Furthermore, after the server is powered on, the method further includes:
[0018] The basic input / output system reads the modification flag of the configuration information;
[0019] If the modification flag is 1, the basic input / output system reads the edit content of the command format interaction page in the non-volatile memory;
[0020] If the modification flag is 0, the basic input / output system does not read the command format configuration information in the non-volatile memory.
[0021] Furthermore, uploading the configured basic input / output system file to the baseboard management controller web server includes:
[0022] Read the flash memory, generate and obtain the firmware file of the configured basic input / output system;
[0023] Log in to the web server of the baseboard management controller and upload the firmware file so that the baseboard management controller can read and edit the content according to the flash memory address.
[0024] Furthermore, the web server of the baseboard management controller updates the firmware of the basic input / output system and the command format space of the setting interface of the baseboard management controller according to the configured basic input / output system file, including:
[0025] The baseboard management controller erases the basic input / output system flash memory and writes it according to the uploaded firmware file;
[0026] The baseboard management controller reads the edit content according to the flash memory address and configures the command format space of the settings interface according to the command format.
[0027] Furthermore, after the baseboard management controller web server updates the firmware of the basic input / output system and the command format space of the configuration interface of the baseboard management controller according to the configured basic input / output system file, the method further includes:
[0028] A prompt message is displayed on the web server of the baseboard management controller, indicating that the baseboard management controller configuration is complete.
[0029] Secondly, a device for synchronizing the command format of a settings interface is provided, the device comprising:
[0030] The modification module is used to edit the command format interaction page in response to the server powering on and entering the basic input / output system settings interface. The command format interaction page is used to describe the protocol command interaction logic between the current basic input / output system and the baseboard management controller of the server.
[0031] The configuration module is used to save the edited command format interaction page and restart the server. The basic input / output system configures commands based on the edited command format interaction page.
[0032] The upload and update module is used to upload the configured basic input / output system file to the web server of the baseboard management controller, so that the web server of the baseboard management controller can update the firmware of the basic input / output system and the command format space of the configuration interface of the baseboard management controller according to the configured basic input / output system file.
[0033] Thirdly, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the settings interface command format synchronization method.
[0034] Fourthly, a computer-readable storage medium is provided, storing computer-executable instructions for executing the settings interface command format synchronization method.
[0035] The embodiments of this application have the following beneficial effects:
[0036] This application provides a method, apparatus, device, and medium for synchronizing command formats in a settings interface. This allows for synchronized modification of files via a command format interaction page, followed by uploading to the BMC. It eliminates the need for the BI OS and BMC to synchronize interaction code and release corresponding versions, resulting in a lower operational threshold, greater convenience, and improved synchronization efficiency. The BI OS pre-sets condition codes. After settings are configured in the settings interface, the relevant settings are converted into reserved condition values, achieving the desired BI OS settings. These settings are then written to a pre-defined FLASH address. After uploading the BI OS firmware file to the BMCWEB, the BMC reads the edited content from the FLASH address, performs encoding conversion to obtain the BI OS's interaction format information, and rewrites its own content according to preset condition functions, thus synchronizing the BI OS and BMC. Furthermore, the BI OS SETUP is configured with preset hotkeys to access the customized page, and the BMC WEB also requires account and password login to prevent unauthorized modifications and ensure the security of the synchronization process. Attached Figure Description
[0037] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0038] Figure 1 This document shows a general flowchart of the method for synchronizing the setting interface command format provided in an embodiment of this application.
[0039] Figure 2 A detailed flowchart of a method for synchronizing the settings interface command format according to an embodiment of this application is shown.
[0040] Figure 3 This diagram illustrates the structure of the setting interface command format synchronization device provided in an embodiment of this application.
[0041] Figure 4 Exemplary systems that can be used to implement the various embodiments described in this application are shown. Detailed Implementation
[0042] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0043] It should be understood that, in the description of this application, unless the context explicitly requires it, the words "comprising," "including," and similar terms throughout the specification and claims should be interpreted as encompassing rather than being exclusive or exhaustive; that is, meaning "including but not limited to."
[0044] Example 1
[0045] This application provides a method for synchronizing command formats in a settings interface, referencing... Figure 1 ,include:
[0046] S1. In response to the server powering on and entering the basic input / output system settings interface, edit the command format interaction page. The command format interaction page is used to describe the protocol command interaction logic between the current basic input / output system and the server's baseboard management controller.
[0047] S2. Save the edited command format interaction page and restart the server. The basic input / output system will configure commands based on the edited command format interaction page.
[0048] S3. Upload the configured basic input / output system file to the web server of the baseboard management controller so that the web server of the baseboard management controller can update the firmware of the basic input / output system and the command format space of the configuration interface of the baseboard management controller according to the configured basic input / output system file.
[0049] Specifically, the BMC interconnects with the CPLD (Complex Programmable Logic Device) and the BIOS chip via the SPI (Serial Peripheral Interface) communication bus. Furthermore, the BMC can read and write to the BIOS's FLASH chip via the CPLD's SPI bus. In current server functionality, updating the BIOS via the BMC web utilizes the BMC's write capability. The BMC can perform precise write operations to the BIOS FLASH chip based on the flash memory address. When updating the BIOS firmware via the BMC web, users often have the option to retain or not retain BIOS configuration updates. This functionality relies on the BMC's ability to precisely erase and write to the BIOS FLASH based on its address. The difference between retaining and not retaining configuration lies in whether the BMC erases the data in the BI OS's option storage address. The BI OS stores option values within a fixed address range in the FLASH memory. When the user chooses to retain configuration updates, the BMC skips this FLASH address range when erasing the BI OS FLASH, thus preserving the BI OS options. The BMC also has the ability to read from the BI OS FLASH. In some projects, the BI OS can write information it wants to convey to the BMC into blank addresses in the BI OS FLASH according to a specific format. The BMC directly reads the information in the corresponding address of the BI OS FLASH chip via the SPI bus and obtains the information the BI OS wants to pass to the BMC by converting the format. Therefore, a dedicated page for editing BI OS SETUP options and BMC interaction protocol commands can be added to the BI OS SETUP interface for users to edit. After editing, the BI OS configures pre-written interaction condition functions based on the edited content, implementing the user-edited interaction logic, and simultaneously configuring information functions in a specified area. When the BI OS firmware file is uploaded via BMC WEB (i.e., the web server of the aforementioned baseboard management controller), BMC can read the information functions in the specified area to obtain the current BI OS SETUP option interaction logic and adjust its own interaction logic, thereby flexibly realizing the synchronization of the interaction command format between BI OS and BMC.
[0050] The following will combine Figure 2 Further explanation:
[0051] In some implementations, S2 includes the following steps before restarting the server:
[0052] S21. The basic input / output system stores the edited content of all command format interactive pages into non-volatile memory and sets the configuration information modification flag to 1.
[0053] In some implementations, after restarting the server, S2 further includes:
[0054] S22, Basic Input / Output System reads configuration information modification flag;
[0055] S23. If the flag is changed to 1, the basic input / output system reads the edited content of the command format interaction page in the non-volatile memory, and converts the edited command format into characters and writes them to the flash memory address for the board management controller to read.
[0056] S24. The basic input / output system performs logical operations based on the command format information value corresponding to the edited content to complete the configuration of the command format.
[0057] Specifically, after editing, a save and restart process is executed. During the restart, BI OS converts the results of the editing interface into various condition values for the reserved code. Before restarting, BI OS stores the edited content of all command format interaction pages into NVROM (non-volatile read-only memory) and sets the configuration information modification flag to 1. After restarting, BI OS first reads the configuration information modification flag. If the modification flag is 0, the command format configuration in NVROM is not read; if the modification flag is 1, BI OS needs to read the command format definition configuration in NVROM. BI OS needs to rewrite the various condition values of the relevant command format according to the edited content, and simultaneously rewrite the relevant content into hexadecimal characters according to the modified format and write them into the fixed FLASH address space (i.e., the aforementioned flash memory address) previously agreed upon with BMC, so that the content can be passed to BMC later. Then, the BI OS code continues to run, performing logical operations according to the corresponding command format information values, ultimately achieving the requirement of setting the command format. BI OS writes the condition values in NVROM into the previously preset interactive structure condition values, thereby enabling the modification of the interactive command format on the BI OS side.
[0058] In some implementations, after the server is powered on, the method further includes:
[0059] 101. Basic Input / Output System reads configuration information modification flag;
[0060] 102. If the flag is changed to 1, the basic input / output system reads the edit content of the command format interactive page in the non-volatile memory;
[0061] 103. If the flag is changed to 0, the basic input / output system will not read the command format configuration information in the non-volatile memory.
[0062] Specifically, in response to server startup, the BI OS reads the configuration information modification flag. If the modification flag is 0, it does not read the command format configuration information in the NVROM; if the modification flag is 1, it reads the customized configuration information in the NVROM. When the modification flag is 0, the BI OS has a default value before any interactive command format editing; before any editing, the BI OS can use the default interactive format. If the flag is 1, it indicates that the interactive command format has been modified, and the BI OS then reads the relevant parameters of the interactive format from the NVROM.
[0063] Specifically, after entering the BI OS SETUP interface, the command format interaction page can be accessed via a preset hotkey. To prevent accidental operation or modification, the options in the command format interaction page can be hidden and displayed using a specific key combination. When editing the command format in the editing page, the SETUP command for interaction between BI OS and BMC is generally an I PM I command, including a command header and a command body. The command header consists of fixed characters to distinguish it from other types of interaction commands. The command body is generally a dozen bytes long, with each byte consisting of 8 bits, each bit having two states: 0 and 1. Some options in the BI OS SETUP settings interface contain two sub-options; these options can be represented by one bit in the interaction command. Some options contain three or four sub-options; these options require two bits to represent their state in the interaction command, and so on. In the command format interaction page, first select the option to be represented, then select the corresponding byte in the command format, and finally select the initial bit position for that option within the corresponding byte. BI OS can set the number of bits based on the number of sub-options.
[0064] In some implementations, S3 includes:
[0065] S31. Read the flash memory, generate and obtain the firmware file of the configured basic input / output system;
[0066] S32. Log in to the web server of the baseboard management controller and upload the firmware file so that the baseboard management controller can read and edit the content according to the flash memory address.
[0067] Specifically, the first step is to obtain the modified BI OS firmware file with the corrected interactive command format. Obtaining the BI OS firmware file is crucial for transferring the edited content from the BI OS FLASH to the BMC. Firmware files are typically in .bin or .fd format. The file is usually generated by reading the FLASH. After the engineer sets the interactive format, saves, shuts down, and disconnects the power, the BI OS FLASH can be removed and installed on a programmer to read the FLASH and generate the file. Besides reading the FLASH via a programmer, the BMC can theoretically read all the contents of the BI OS FLASH. The firmware file can be uploaded by logging into the BMC WEB web server, allowing the BMC to read the content previously written to a specified address in the FLASH. The BMC IP address allows connection to the BMC WEB interface; entering the BMC username and password allows login to manage the server status. The username and password login ensures security throughout the process.
[0068] In some implementations, S3 further includes:
[0069] S33, The baseboard management controller erases the basic input / output system flash memory and writes to the basic input / output system flash memory according to the uploaded firmware file;
[0070] S34. The baseboard management controller reads the edit content according to the flash memory address and configures the command format space of the setting interface according to the command format.
[0071] Specifically, when updating the BIOS firmware via the BIOS management controller's web server, the BIOS Management Center (BMC) can first erase the BIOS flash using the conventional method, and then write the firmware file to the BIOS flash. After writing, it can read the written command format content according to the agreed flash memory address. During the interaction, the BMC often acts as a transfer mechanism. The user transmits modifications to BIOS SETUP options to the BMC via the IPM I command. The BMC transfers this information and then transmits it to the BIOS during the boot process, where the BIOS processes and modifies it. Therefore, the BMC only needs to know the length of the entire command and the default bytes. The BIOS directly writes the set interaction command length and default values as strings to the specified flash memory location for the BMC to read. After reading, a conversion command can be used to convert the read machine code into a specified format. Since the BMC reads BIOS flash in hexadecimal machine code format, it needs to convert the hexadecimal content to a readable format. After conversion, the BMC configures its SETUP command format space according to the command format. After conversion by the BMC, the format, size, and default values of the current BIOS SETUP interactive commands are obtained. This allows you to configure your own transfer space. At this point, the synchronization of the interactive command format on the BMC side is complete.
[0072] In some implementations, after S3, the method further includes:
[0073] S4. Display a prompt message on the web server of the substrate management controller. The prompt message indicates that the substrate management controller configuration is complete.
[0074] Specifically, the Baseboard Management Controller (BMC) web server uses an intuitive display to remind engineers that the setup is complete, facilitating subsequent normal power-on operations and the end of the synchronization process.
[0075] In this embodiment, files can be edited via a command-line interactive page and then uploaded to the BMC for synchronous modification. This eliminates the need for the BI OS and BMC to synchronize and modify the interaction code and release corresponding versions, resulting in a lower barrier to entry, greater convenience, and improved synchronization efficiency. The BI OS pre-sets conditional codes, which, after being configured in the settings interface, are converted into reserved conditional values to achieve the desired BI OS settings. These settings are then written to a pre-defined FLASH address. After the BI OS firmware file is uploaded to the BMC WEB, the BMC reads the edited content from the FLASH address, performs encoding conversion to obtain the BI OS's interactive format information, and rewrites its own content according to preset conditional functions, thus achieving synchronization between the BI OS and BMC. Furthermore, the BI OS SETUP includes a preset hotkey for accessing the customization page, and the BMC WEB also requires an account and password for login to prevent unauthorized modifications and ensure the security of the synchronization process.
[0076] It should be noted that the terms "S1," "S2," etc., are used only for descriptive purposes and do not specifically refer to the order or sequence, nor are they intended to limit this application. They are merely for the convenience of describing the method of this application and should not be construed as indicating the sequential order of the steps. Furthermore, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. When the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed in this application.
[0077] Example 2
[0078] Corresponding to the above embodiments, this application also provides a device for synchronizing the command format of the settings interface, see below. Figure 3 The device includes a modification module, a configuration module, and an upload / update module.
[0079] The system includes a modification module for editing the command format interaction page in response to server startup and entry into the Basic Input / Output System (PIOS) settings interface. This command format interaction page describes the protocol command interaction logic between the current PIOS and the server's baseboard management controller. A configuration module saves the edited command format interaction page and restarts the server. The PIOS then configures its commands based on the edited command format interaction page. An upload / update module uploads the configured PIOS file to the baseboard management controller's web server, allowing the web server to update the PIOS firmware and configure the command format space of the baseboard management controller's settings interface based on the configured PIOS file.
[0080] Furthermore, the configuration module is also used by the basic input / output system to store the edited content of all the command format interactive pages into non-volatile memory, and to set the configuration information modification flag to 1.
[0081] Furthermore, the configuration module is also used for the basic input / output system to read the modification flag bit of the configuration information; and for the basic input / output system to read the edited content of the command format interaction page in the non-volatile memory if the modification flag bit is 1, and to convert the edited command format into characters and write it to the flash memory address for the baseboard management controller to read; and is also used for the basic input / output system to perform logical operation according to the command format information value corresponding to the edited content to complete the configuration of the command format.
[0082] Furthermore, the modification module is also used for the basic input / output system to read the modification flag bit of the configuration information; and for the basic input / output system to read the editing content of the command format interaction page in the non-volatile memory if the modification flag bit is 1; and for the basic input / output system not to read the command format configuration information in the non-volatile memory if the modification flag bit is 0.
[0083] Furthermore, the upload and update module is also used to read the flash memory, generate and obtain the firmware file of the configured basic input / output system; and to log in to the web server of the baseboard management controller to upload the firmware file, so that the baseboard management controller can read and edit the content according to the flash memory address.
[0084] Furthermore, the upload update module is also used by the baseboard management controller to erase the basic input / output system flash memory and write to the basic input / output system flash memory according to the uploaded firmware file; and by the baseboard management controller to read the edit content according to the flash memory address and configure the command format space of the setting interface according to the command format.
[0085] Furthermore, the upload and update module is also used to display a prompt message on the web server of the baseboard management controller, the prompt message being used to indicate that the baseboard management controller configuration is complete.
[0086] Specific limitations regarding the settings interface command format synchronization device can be found in the relevant limitations described above in the embodiments of the settings interface command format synchronization method, and will not be repeated here. Each module in the aforementioned settings interface command format synchronization device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0087] Example 3
[0088] Corresponding to the above embodiments, this application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it can implement the above-mentioned method for synchronizing the setting interface command format.
[0089] like Figure 4 As shown, in some embodiments, the system can serve as any of the aforementioned electronic devices used to set the interface command format synchronization method in each of the various embodiments. In some embodiments, the system may include one or more computer-readable media (e.g., system memory or NVM / storage device) having instructions and one or more processors (e.g., one or more processors) coupled to the one or more computer-readable media and configured to execute the instructions to implement the module and thus perform the actions described in this application.
[0090] In one embodiment, the system control module may include any suitable interface controller to provide any suitable interface to at least one of the processors(s) and / or any suitable device or component communicating with the system control module.
[0091] The system control module may include a memory controller module to provide an interface to the system memory. The memory controller module may be a hardware module, a software module, and / or a firmware module.
[0092] System memory can be used, for example, to load and store data and / or instructions for the system. In one embodiment, system memory may include any suitable volatile memory, such as suitable DRAM. In some embodiments, system memory may include Double Data Rate Type Quad Synchronous Dynamic Random Access Memory (DDR4 SDRAM).
[0093] In one embodiment, the system control module may include one or more input / output (I / O) controllers to provide interfaces to the NVM / storage device and (one or more) communication interfaces.
[0094] For example, an NVM / storage device can be used to store data and / or instructions. An NVM / storage device may include any suitable non-volatile memory (e.g., flash memory) and / or may include any suitable (one or more) non-volatile storage devices (e.g., one or more hard disk drives (HDDs), one or more optical disc drives (CDs), and / or one or more digital universal optical disc (DVD) drives).
[0095] NVM / storage devices may include storage resources that are physically part of a device on which the system is mounted, or that can be accessed by the device without necessarily being part of it. For example, an NVM / storage device may be accessed over a network via one or more communication interfaces.
[0096] One or more communication interfaces may provide the system with an interface to communicate over one or more networks and / or with any other suitable device. The system may wirelessly communicate with one or more components of a wireless network in accordance with any of the standards and / or protocols in one or more wireless network standards and / or protocols.
[0097] In one embodiment, at least one of the processors may be logically packaged with one or more controllers of the system control module (e.g., a memory controller module). In one embodiment, at least one of the processors may be logically packaged with one or more controllers of the system control module to form a system-in-package (SiP). In one embodiment, at least one of the processors may be integrated with the logic of one or more controllers of the system control module on the same die. In one embodiment, at least one of the processors may be integrated with the logic of one or more controllers of the system control module on the same die to form a system-on-a-chip (SoC).
[0098] In various embodiments, the system may be, but is not limited to, a server, workstation, desktop computing device, or mobile computing device (e.g., laptop computing device, handheld computing device, tablet computer, netbook, etc.). In various embodiments, the system may have more or fewer components and / or different architectures. For example, in some embodiments, the system includes one or more cameras, a keyboard, a liquid crystal display (LCD) screen (including a touchscreen display), a non-volatile memory port, multiple antennas, a graphics chip, an application-specific integrated circuit (ASIC), and a speaker.
[0099] It should be noted that this application can be implemented in software and / or a combination of software and hardware, for example, using an application-specific integrated circuit (ASIC), a general-purpose computer, or any other similar hardware device. In one embodiment, the software program of this application can be executed by a processor to implement the steps or functions described above. Similarly, the software program of this application (including related data structures) can be stored in a computer-readable recording medium, such as RAM memory, magnetic or optical drives, floppy disks, and similar devices. Furthermore, some steps or functions of this application can be implemented in hardware, for example, as circuitry that cooperates with a processor to perform the various steps or functions.
[0100] Furthermore, a portion of this application can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to this application through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.
[0101] Communication media include media through which communication signals containing, for example, computer-readable instructions, data structures, program modules, or other data are transmitted from one system to another. Communication media can include guided transmission media (such as cables and wires (e.g., optical fibers, coaxial cables, etc.)) and wireless (unguided transmission) media capable of propagating energy waves, such as sound, electromagnetic, RF, microwave, and infrared. Computer-readable instructions, data structures, program modules, or other data can be embodied as modulated data signals in, for example, wireless media (such as carrier waves or similar mechanisms embodied as part of spread spectrum technology). The term "modulated data signal" refers to a signal whose one or more characteristics are altered or set in a manner that encodes information in the signal. Modulation can be analog, digital, or a hybrid modulation technique.
[0102] Herein, one embodiment of this application includes an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the apparatus is triggered to run a method and / or technical solution based on the foregoing embodiments of this application.
[0103] Example 4
[0104] Corresponding to the above embodiments, this application also provides a computer-readable storage medium storing computer-executable instructions for executing a method for synchronizing command formats in a settings interface.
[0105] In this embodiment, a computer-readable storage medium may include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data. For example, a computer-readable storage medium includes, but is not limited to, volatile memories such as random access memory (RAM, DRAM, SRAM); and non-volatile memories such as flash memory, various read-only memories (ROM, PROM, EPROM, EEPROM), magnetic and ferromagnetic / ferroelectric memories (MRAM, FeRAM); and magnetic and optical storage devices (hard disks, magnetic tapes, CDs, DVDs); or other currently known media or those developed hereafter capable of storing computer-readable information / data for use by a computer system.
[0106] Although preferred embodiments have been described in this application, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of this application.
[0107] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A method for synchronizing command formats in a settings interface, characterized in that, include: In response to the server powering on and entering the Basic Input / Output System (BIOS) settings interface, the command format interaction page is edited. The command format interaction page is used to describe the protocol command interaction logic between the current BIOS and the server's baseboard management controller. The BIOS configures the pre-written interaction condition functions by editing the content, realizes the user-edited interaction logic, and configures the information functions in the specified area. The edited command format interaction page is saved, and the server is restarted. The basic input / output system configures commands based on the edited command format interaction page. The configured Basic Input / Output System (BIOS) file is uploaded to the Baseboard Management Controller (BMC) web server, so that the BMC web server can update the firmware of the BIOS and configure the command format space of the BMC settings interface according to the command format.
2. The method for synchronizing the command format of the settings interface according to claim 1, characterized in that, Before restarting the server, saving the edited command format interactive page includes: The basic input / output system stores the edited content of all command format interactive pages into non-volatile memory and sets the configuration information modification flag to 1.
3. The method for synchronizing the command format of the settings interface according to claim 2, characterized in that, After the server is restarted, the basic input / output system configures commands according to the edited command format interactive page, including: The basic input / output system reads the modification flag of the configuration information; If the modification flag is 1, the basic input / output system reads the edited content of the command format interaction page in the non-volatile memory, and converts the edited command format into characters and writes them to the flash memory address for the baseboard management controller to read. The basic input / output system performs logical operations based on the command format information value corresponding to the edited content to complete the configuration of the command format.
4. The method for synchronizing the command format of the settings interface according to claim 2, characterized in that, After the server is powered on, the method further includes: The basic input / output system reads the modification flag of the configuration information; If the modification flag is 1, the basic input / output system reads the edit content of the command format interaction page in the non-volatile memory; If the modification flag is 0, the basic input / output system does not read the command format configuration information in the non-volatile memory.
5. The method for synchronizing the command format of the settings interface according to claim 3, characterized in that, Uploading the configured basic input / output system file to the baseboard management controller web server includes: Read the flash memory, generate and obtain the firmware file of the configured basic input / output system; Log in to the web server of the baseboard management controller and upload the firmware file so that the baseboard management controller can read and edit the content according to the flash memory address.
6. The method for synchronizing the command format of the settings interface according to claim 5, characterized in that, The baseboard management controller web server updates the firmware of the basic input / output system and the command format space of the setting interface of the baseboard management controller according to the configured basic input / output system file, including: The baseboard management controller erases the basic input / output system flash memory and writes it according to the uploaded firmware file; The baseboard management controller reads the edit content according to the flash memory address and configures the command format space of the settings interface according to the command format.
7. The method for synchronizing the command format of the settings interface according to claim 1, characterized in that, After the baseboard management controller web server updates the firmware of the basic input / output system according to the configured basic input / output system file and configures the command format space of the baseboard management controller's settings interface according to the command format, the method further includes: A prompt message is displayed on the web server of the baseboard management controller, indicating that the baseboard management controller configuration is complete.
8. A device for synchronizing command formats in a settings interface, characterized in that, The device includes: The modification module is used to edit the command format interaction page in response to the server powering on and entering the basic input / output system settings interface. The command format interaction page is used to describe the protocol command interaction logic between the current basic input / output system and the baseboard management controller of the server. The basic input / output system configures the pre-written interaction condition functions by editing the content, realizes the user-edited interaction logic, and configures the information functions in the specified area. The configuration module is used to save the edited command format interaction page and restart the server. The basic input / output system configures commands based on the edited command format interaction page. The upload and update module is used to upload the configured basic input / output system file to the web server of the baseboard management controller, so that the web server of the baseboard management controller can update the firmware of the basic input / output system and configure the command format space of the setting interface of the baseboard management controller according to the configured basic input / output system file.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the setting interface command format synchronization method as described in any one of claims 1 to 7.
10. A computer-readable storage medium storing computer-executable instructions, characterized in that, The computer-executable instructions are used to execute the settings interface command format synchronization method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Method and device for realizing Setup interaction between BMC and BIOS, terminal and storage medium
CN109471645A
System and method for dynamically configuring storage mapping
US20210255983A1