CN115729607A - Method, device, equipment and medium for setting interface command format synchronization - Google Patents

Method, device, equipment and medium for setting interface command format synchronization Download PDF

Info

Publication number
CN115729607A
CN115729607A CN202211475993.9A CN202211475993A CN115729607A CN 115729607 A CN115729607 A CN 115729607A CN 202211475993 A CN202211475993 A CN 202211475993A CN 115729607 A CN115729607 A CN 115729607A
Authority
CN
China
Prior art keywords
command format
output system
basic input
command
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211475993.9A
Other languages
Chinese (zh)
Inventor
陈相晨
黄静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202211475993.9A priority Critical patent/CN115729607A/en
Publication of CN115729607A publication Critical patent/CN115729607A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The application discloses a method, a device, equipment and a medium for setting interface command format synchronization, and relates to the technical field of servers. The method comprises the following steps: responding to the starting of a server and entering a basic input and output system setting interface, and editing the command format interactive page; storing the edited command format interactive page, restarting the server, and performing command configuration by the basic input and output system according to the edited command format interactive page; and uploading the configured basic input and output system file to a webpage server of the baseboard management controller, so that the webpage server of the baseboard management controller updates the firmware of the basic input and output system and configures the command format space of the setting interface of the baseboard management controller according to the configured basic input and output system file. According to the method and the device, the files can be synchronously modified by modifying the interface and uploading the files to the BMC, so that the operation is convenient and fast, and the synchronization efficiency is improved.

Description

Method, device, equipment and medium for setting interface command format synchronization
Technical Field
The present application relates to the field of server technologies, and in particular, to a method, an apparatus, a device, and a medium for setting interface command format synchronization.
Background
Currently, in the SETUP interface of the B I OS (Bas I c I nput Output System ), setting items of each function of the B IOS are provided. For example, in the X86 architecture platform, through setting of options, the B IOS may modify a power performance mode of a CPU (central processing unit), set a frequency and a core number of the CPU, and improve performance of the entire server; the PXE (Preboot eXecut i on Env i environment) service function of the server can be closed and opened through the option; the startup mode of the server can also be modified by options, and so on. The most direct method for modifying the B I OS SETUP option is to manually modify the B I OS SETUP option after entering the BIOS SETUP by pressing F1 or De l ete hot key when the server is started up and displays l ogo. However, this method has the following drawbacks: 1. people must be on duty; 2. batch operation cannot be performed; 3. the operation needs to be matched with an external display and keyboard equipment.
In order to meet the requirements of batch configuration and networking remote configuration, a related ipmi (intelligent platform Management interface) command is added to the BI OS to optimize the three limitations, which is specifically implemented as follows: first, an engineer accesses a work computer of the engineer to a BMC (Baseboard Management controller) network of a server. Through an I PM I tool under the system, an instruction is input to achieve the purpose of sending an I PM I command to a target server. The contents of the command include the ip address of the BMC, the BMC username password and the associated ipm I command. The BMC stores after precisely receiving the command related to the B IOS option. After the server is restarted, the BMC transfers the command related to the previous transfer of the BIOS option to the BIOS, and the B IOS modifies the option after receiving and processing the command. The mode can be modified in batch through the script, and manual modification such as external display and keyboard on the side of the server is not needed.
A command list of a protocol is arranged between the B IOS and the BMC, and option meanings represented by various bits in the command are written in the protocol. The IOS and the BMC perfects the related I PM I interactive code through the protocol command, and then the mode is realized through joint debugging. But a problem is currently encountered in B IOS update iterations: in the process of B IOS updating iteration, some options are added or the option value is modified in the past options. When the newly added options are modified in the manner, the protocol command list needs to be modified, the newly added options are added into the protocol table, and then the BIOS and the BMC modify the codes of the I/M I interaction commands of the BIOS and the BMC according to the modified table and reissue the version. Therefore, the whole interaction process can be completed only by synchronously modifying the interaction code and issuing the corresponding version by the IOS and the BMC, and the method is complex and cannot be flexibly introduced into the used firmware to realize instant use.
Disclosure of Invention
In order to solve at least one problem mentioned in the background art, the application provides a method, a device, equipment and a medium for setting interface command format synchronization, which can realize synchronous modification by modifying an interface and uploading a file to a BMC, and is convenient to operate and capable of improving synchronization efficiency.
The embodiment of the application provides the following specific technical scheme:
in a first aspect, a method for synchronizing command formats of a setting interface is provided, which includes:
responding to the starting of a server and entering a basic input and output system setting interface, and editing a command format interaction page, wherein the command format interaction page is used for describing the protocol command interaction logic of the current basic input and output system and a substrate management controller of the server;
saving the edited command format interactive page, restarting the server, and performing command configuration by the basic input and output system according to the edited command format interactive page;
and uploading the configured basic input and output system file to a webpage server of a substrate management controller, so that the webpage server of the substrate management controller updates the firmware of the basic input and output system and configures the command format space of the setting interface of the substrate management controller according to the configured basic input and output system file.
Further, before restarting the server, the saving the edited command format interactive page includes:
and the basic input and output system stores the edited contents of all the command format interactive pages into a nonvolatile memory and sets the change flag bit of the configuration information to be 1.
Further, after the restarting of the server, the basic input output system performs command configuration according to the edited command format interaction page, including:
the basic input and output system reads the change flag bit of the configuration information;
if the change flag bit is 1, the basic input output system reads the editing content of the command format interactive page in the nonvolatile memory, converts the edited command format into characters and writes the characters into a flash memory address for the substrate management controller to read;
and the basic input and output system performs logic operation according to the command format information value corresponding to the editing content to complete the configuration of the command format.
Further, after the server is powered on, the method further includes:
the basic input and output system reads the change flag bit of the configuration information;
if the change flag bit is 1, the basic input and output system reads the editing content of the command format interactive page in the nonvolatile memory;
and if the change flag bit is 0, the basic input and output system does not read the command format configuration information in the nonvolatile memory.
Further, the uploading the configured bios file to the web server of the baseboard management controller includes:
reading the flash memory, and generating and acquiring a firmware file of the configured basic input and output system;
and logging in a web server of the baseboard management controller to upload the firmware file so that the baseboard management controller can read the editing content according to the flash memory address.
Further, the updating, by the baseboard management controller web server, the firmware of the bios and the command format space of the setting interface of the baseboard management controller according to the configured bios file include:
the baseboard management controller erases the basic input and output system flash memory and writes the basic input and output system flash memory according to the uploaded firmware file;
and the baseboard management controller reads the editing content according to the flash memory address and configures and sets a command format space of an interface according to a command format.
Further, after the baseboard management controller web server updates the firmware of the bios according to the configured bios file and configures a command format space of a setting interface of the baseboard management controller, the method further includes:
and displaying prompt information at the web server of the baseboard management controller, wherein the prompt information is used for displaying that the configuration of the baseboard management controller is completed.
In a second aspect, there is provided a device for setting interface command format synchronization, the device comprising:
the modification module is used for responding to the starting of a server and entering a basic input and output system setting interface, and editing a command format interaction page, wherein the command format interaction page is used for describing the protocol command interaction logic of the current basic input and output system and a substrate management controller of the server;
the configuration module is used for storing the edited command format interactive page and restarting the server, and the basic input and output system performs command configuration according to the edited command format interactive page;
and the uploading and updating module is used for uploading the configured basic input and output system file to a webpage server of the baseboard management controller so that the webpage server of the baseboard management controller updates the firmware of the basic input and output system and configures the command format space of the setting interface of the baseboard management controller according to the configured basic input and output system file.
In a third aspect, an electronic device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the setting interface command format synchronization method is implemented.
In a fourth aspect, a computer-readable storage medium is provided that stores computer-executable instructions for performing the method for setting interface command format synchronization.
The embodiment of the application has the following beneficial effects:
according to the method, the device, the equipment and the medium for setting the interface command format synchronization, the file can be uploaded to the BMC to realize synchronous modification after the command format interactive page is edited, the BI OS and the BMC do not need to synchronously modify an interactive code and issue a corresponding version, the operation threshold is low, the operation is more convenient and faster, and the synchronization efficiency is improved. A condition code is preset by the B I OS, after an interface is set, relevant settings are converted into each reserved condition value, the setting effect of the B I OS end is achieved, the relevant settings are written into an appointed FLASH address, after a B I OS firmware file is uploaded to a BMC WEB, the BMC obtains interactive format information of the B I OS end through code conversion by reading editing contents in the FLASH address and rewriting relevant contents of the B I OS end according to a preset condition function, and synchronization of the B I OS and the BMC end is achieved. In addition, a preset hot key is configured under the BI OS SETUP to enter a customized page, and meanwhile, the BMC WEB also needs an account number password to log in, so that the irrelevant personnel is prevented from being modified randomly, and the safety of the synchronization process is ensured.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a general flowchart illustrating a method for setting interface command format synchronization according to an embodiment of the present disclosure;
FIG. 2 illustrates a detailed flow diagram of a method for setting interface command format synchronization according to one embodiment of the present application;
fig. 3 is a schematic structural diagram illustrating a setting interface command format synchronization apparatus according to an embodiment of the present application;
FIG. 4 illustrates an exemplary system that can be used to implement the various embodiments described in this application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
It should be understood that throughout the description and claims of this application, unless the context clearly requires otherwise, the words "comprise", "comprising", and the like, are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense; that is, what is meant is "including but not limited to".
Example one
The application provides a method for setting interface command format synchronization, which, with reference to fig. 1, includes:
s1, responding to the starting of a server and entering a basic input and output system setting interface, and editing a command format interaction page, wherein the command format interaction page is used for describing a protocol command interaction logic of a current basic input and output system and a substrate management controller of the server;
s2, storing the edited command format interactive page, restarting the server, and carrying out command configuration by the basic input and output system according to the edited command format interactive page;
and S3, uploading the configured basic input and output system file to a webpage server of the baseboard management controller, so that the webpage server of the baseboard management controller updates the firmware of the basic input and output system and configures the command format space of the setting interface of the baseboard management controller according to the configured basic input and output system file.
Specifically, the BMC is interconnected with a CPLD (Comp ex program l Log I c Dev I ce, a complex programmable logic device) and a B IOS chip through an SP I (serial peripheral interface) communication bus. And the BMC can read and write the FLASH (FLASH memory) chip of the B IOS through the SPI bus of the CPLD, and in the current server function, the update of the B I OS through the BMC WEB is realized by utilizing the write function of the BMC. The BMC can accurately write the B I OS FLASH chip according to the FLASH memory address, the BMC can always select to reserve the B I OS configuration update and not reserve the B I OS configuration update when WEB updates the B I OS firmware, and the premise of realizing the function is that the BMC can accurately erase and write the B I OS FLASH according to the FLASH address. The difference between the reserved configuration and the unreserved configuration lies in whether the BMC erases data in the option storage address of the B I OS, the content of the B I OS storage option value is in a fixed address range of the FLASH, and under the condition that the user selects the reserved configuration update, the BMC skips the FLASH address range of the B I OS storage option value when erasing the B I OS FLASH, so that the B I OS option is reserved. The BMC also has the capability of reading the B I OS FLASH, and in some items, the B I OS can write information to be transmitted to the BMC into a blank address of the B I OS FLASH in a specific format. The BMC directly reads the information in the corresponding address of the FLASH chip of the B I OS through the SP I bus, and acquires the information which the B I OS wants to transmit to the BMC through format conversion. Therefore, a page specially used for editing the B I OS SETUP option and the BMC interactive protocol command can be added in the SETUP interface of the B I OS of the basic input and output system for a user to edit, the edited B I OS configures the pre-written interactive condition function through editing contents, the interactive logic edited by the user is realized, and meanwhile, the information function in the designated area is configured. When the firmware file of the B I OS is uploaded through the BMC WEB (namely the WEB page server of the baseboard management controller), the BMC can read the information function in the designated area to acquire the SETUP option interaction logic of the current B I OS and adjust the interaction logic of the BMC, so that the synchronization of the B I OS and the BMC interaction command format is flexibly realized.
This will be further explained in connection with fig. 2:
in some embodiments, prior to restarting the server, S2 comprises:
and S21, the basic input and output system stores the edited contents of all the command format interactive pages into a nonvolatile memory and sets the change flag bit of the configuration information to be 1.
In some embodiments, after restarting the server, S2 further comprises:
s22, reading a change zone bit of the configuration information by the basic input and output system;
s23, if the change flag bit is 1, the basic input and output system reads the editing content of the command format interaction page in the nonvolatile memory, converts the edited command format into characters and writes the characters into a flash memory address for the reading of the baseboard management controller;
and S24, the basic input and output system performs logic operation according to the command format information value corresponding to the editing content to complete the configuration of the command format.
Specifically, after the editing is completed, a save restart is performed. And in the restarting process, the BI OS converts the result of the editing interface into each condition value of the reserved codes. Before restarting, the BI OS stores the edited contents of all the command format interactive pages into an NVROM (nonvolatile memory), and sets a configuration information change flag bit to be 1. After the restart, the bai OS reads the change flag bit of the configuration information, and if the change flag bit is 0, the command format configuration in the NVROM is not read, and if the change flag bit is 1, the bai OS needs to read the command format definition configuration in the NVROM. The bi OS needs to rewrite each condition value of the relevant command format according to the edited content, and at the same time, rewrite the relevant content into 16-ary characters according to the modified format, and write the characters into a fixed FLASH address space (i.e., the FLASH address) negotiated with the BMC previously, so as to transfer the content to the BMC subsequently. And then, the BI OS code continues to run, and performs logic running according to the corresponding command format information value, so as to finally meet the requirement of setting the command format. And the BI OS writes the condition value in the NVROM into a preset interaction structure condition value, thereby realizing the modification of the interaction command format on the BI OS side.
In some embodiments, after the server is powered on, the method further comprises:
101. reading a change zone bit of the configuration information by the basic input and output system;
102. if the change flag bit is 1, the basic input and output system reads the editing content of the command format interactive page in the nonvolatile memory;
103. if the change flag bit is 0, the basic input/output system does not read the command format configuration information in the nonvolatile memory.
Specifically, in response to the server startup, the bai OS reads the change flag of the configuration information, and if the change flag is 0, the command format configuration information in the NVROM is not read, and if the change flag is 1, the customized configuration information in the NVROM is read. The change flag bit is 0, the BI OS has a default value when the interactive command format editing is not performed, and the BI OS can adopt the default interactive format before the interactive command format editing is not performed. If the flag bit is 1, the format of the interactive command is modified, and the BI OS reads the relevant parameters of the interactive format in the NVROM at the moment.
Specifically, after entering the B I OS SETUP interface, the command format interactive page may be called up by a preset hot key, and particularly, to prevent the user from performing a wrong operation or a wrong modification, the option entering the command format interactive page may be hidden and displayed by using a specific combination key. When editing the command format in the edit page, the SETUP command interacted between the B I OS and the BMC is generally an I PM I command, and includes a command header and a command body. Wherein the command header is a fixed character for the purpose of distinguishing from other types of interactive commands. The command body is typically tens of bytes in length, each byte consisting of 8 bi t, each bi t having two cases, 0 and 1. Some options in the bai OS SETUP interface include two sub-options, which can use a bi t to indicate their own status in the interactive command. There are some options that contain three or four sub-options, which require two bt to represent their own status in the interactive command, and so on. In the command format interactive page, firstly, an option needing to be expressed is selected, then, a corresponding byte in the corresponding command format is selected, and finally, the initial b i t bit of the option of the corresponding byte is selected. The bii OS may set the bit number according to the number of its option sub-options.
In some embodiments, S3 comprises:
s31, reading the flash memory, and generating and acquiring a firmware file of the configured basic input and output system;
and S32, logging in a webpage server of the baseboard management controller to upload a firmware file so that the baseboard management controller can read the editing content according to the flash memory address.
Specifically, the B I OS firmware file in which the format of the interactive command is modified is first acquired, and the B I OS firmware file is acquired to transfer the edited content in the B I OS FLASH to the BMC. The firmware file is typically in the.bi n file format or the.fd file format. The file is generally generated by reading FLASH. When the engineer sets the interactive format, the system is shut down and powered off, the B I OS FLASH can be taken down and installed on the burner to read the FLASH and generate a file. Besides reading the FLASH by the burner, the BMC can theoretically read all contents of the FLASH of the BI OS. Firmware files can be uploaded by logging in a WEB server BMC WEB of the base plate management controller, so that the BMC can read the content written into the FLASH designated address before. The BMC IP can be connected with a BMC WEB interface by obtaining the BMC IP, the BMC WEB can be logged in by inputting a BMC account password to control the condition of the server, and the security of the whole process is ensured by logging in through the account password.
In some embodiments, S3 further comprises:
s33, the base plate management controller erases the basic input and output system flash memory and writes the basic input and output system flash memory according to the uploaded firmware file;
and S34, the baseboard management controller reads the editing content according to the flash memory address, and configures and sets a command format space of the interface according to the command format.
Specifically, the B IOS firmware is updated through the web server of the baseboard management controller, and the BMC may erase the B IOS FLASH in a conventional general manner, and then write the B IOS FLASH in the updated B IOS firmware file. After the writing is completed, the written command format content can be read according to the appointed flash memory address. In the interaction process, the BMC terminal often plays the role of unloading. The user transmits the modification of the related options of the B I OS SETUP to the BMC through an I PM I command, the BMC performs unloading and transmits the modification to the B IOS in the starting process, and the modification is performed after the B IOS is processed. So the BMC only needs to know the length of the entire command and defaults to each byte. Therefore, the BIOS directly writes the set interactive command length and the default value into the position of the appointed FLASH according to the character string format for the BMC to read. After the reading is completed, the read machine code may be converted into a specified format by a conversion command. Since BMC reads B I OS FLASH all get 16-ary machine code format, 16-ary content needs to be converted into readable format. And the BMC configures the self SETUP command format space according to the command format after conversion. And the BMC obtains the format size and the default value of the current BIOS SETUP interactive command after conversion, and configures the own dump space according to the format size and the default value. At this point, the synchronization of the interactive command format on the BMC side is completed.
In some embodiments, after S3, the method further comprises:
and S4, displaying prompt information at the webpage server side of the baseboard management controller, wherein the prompt information is used for displaying the completion of the configuration of the baseboard management controller.
Specifically, the baseboard management controller WEB page server BMC WEB reminds engineers of completing the setting through visual display, so that the engineers can conveniently perform subsequent normal startup and other operations, and the whole synchronization process is finished.
In the embodiment, the file can be uploaded to the BMC to realize synchronous modification after the command format interactive page is edited, the BI OS and the BMC do not need to synchronously modify an interactive code and release a corresponding version, the operation threshold is low, the operation is more convenient and faster, and the synchronization efficiency is improved; a condition code is preset by the B I OS, after setting an interface, relevant settings are converted into reserved condition values, so that the setting effect of the B I OS end is achieved, the relevant settings are written into an appointed FLASH address, a B I OS firmware file is uploaded to a BMC WEB, the BMC obtains interactive format information of the B I OS end through code conversion by reading editing contents in the FLASH address, and relevant contents of the B I OS end are rewritten according to a preset condition function, so that synchronization of the B I OS and the BMC end is achieved. In addition, a preset hot key is configured under the BI OS SETUP to enter a customized page, and meanwhile, the BMC WEB also needs an account number password to log in, so that the irrelevant personnel is prevented from being modified randomly, and the safety of the synchronization process is ensured.
It should be noted that the terms "S1", "S2", etc. are used for describing steps only, do not refer to an order or sequence meaning, and do not limit the present application, and are used for describing the method of the present application only and should not be understood as indicating the sequence of steps. In addition, technical solutions between the embodiments may be combined with each other, but must be based on the realization of the technical solutions by a person skilled in the art, and when the technical solutions are contradictory to each other or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope claimed in the present application.
Example two
Corresponding to the above embodiment, the present application further provides a device for setting interface command format synchronization, and referring to fig. 3, the device includes a modification module, a configuration module, and an upload update module.
The modification module is used for responding to the starting of a server and entering a basic input and output system setting interface, and editing a command format interaction page, wherein the command format interaction page is used for describing the protocol command interaction logic of the current basic input and output system and a substrate management controller of the server; the configuration module is used for storing the edited command format interactive page and restarting the server, and the basic input and output system performs command configuration according to the edited command format interactive page; and the uploading and updating module is used for uploading the configured basic input and output system file to a webpage server of the baseboard management controller so that the webpage server of the baseboard management controller updates the firmware of the basic input and output system and configures the command format space of the setting interface of the baseboard management controller according to the configured basic input and output system file.
Further, the configuration module is further configured to store, by the bios, the edited content of all the command format interaction pages in the nonvolatile memory, and set a change flag of the configuration information to 1.
Further, the configuration module is further configured to read, by the bios, a change flag of the configuration information; and if the change flag bit is 1, the bios reads the editing content of the command format interaction page in the nonvolatile memory, and converts the edited command format into a character to be written into a flash memory address for the bmc to read; and the basic input and output system is also used for carrying out logic operation according to the command format information value corresponding to the editing content to complete the configuration of the command format.
Further, the modification module is further configured to read, by the bios, a change flag of the configuration information; and if the change flag bit is 1, the basic input output system reads the editing content of the command format interactive page in the nonvolatile memory; and the BIOS is further configured to not read the command format configuration information in the nonvolatile memory if the change flag bit is 0.
Furthermore, the uploading updating module is also used for reading the flash memory, generating and acquiring a configured firmware file of the basic input and output system; and the system is used for logging in a webpage server of the baseboard management controller to upload the firmware file so that the baseboard management controller can read the editing content according to the flash memory address.
Further, the uploading updating module is also used for erasing the basic input and output system flash memory by the baseboard management controller and writing the basic input and output system flash memory according to the uploaded firmware file; and the command format space is used for reading the editing content by the baseboard management controller according to the flash memory address and configuring a setting interface according to the command format.
Further, the uploading and updating module is further configured to display prompt information at the web server of the baseboard management controller, where the prompt information is used to display that the configuration of the baseboard management controller is completed.
For the specific limitations of the device for setting the interface command format synchronization, reference may be made to the above-mentioned limitations related to the method for setting the interface command format synchronization, and therefore, the details are not repeated herein. The modules in the setting interface command format synchronization device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
EXAMPLE III
Corresponding to the above embodiment, the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the program, the method for synchronizing the setting interface command format may be implemented.
As shown in fig. 4, in some embodiments, the system can be used as the electronic device for setting the interface command format synchronization method in any one of the embodiments. In some embodiments, a system may include one or more computer-readable media (e.g., system memory or NVM/storage) having instructions and one or more processors (e.g., processor (s)) coupled with the one or more computer-readable media and configured to execute the instructions to implement modules to perform actions described herein.
For one embodiment, the system control module may include any suitable interface controller to provide any suitable interface to at least one of the processor(s) and/or any suitable device or component in communication with the system control module.
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.
System memory may be used, for example, to load and store data and/or instructions for the system. For one embodiment, the system memory may include any suitable volatile memory, such as suitable DRAM. In some embodiments, the system memory may include a double data rate type four synchronous dynamic random access memory (DDR 4 SDRAM).
For one embodiment, the system control module may include one or more input/output (I/O) controllers to provide an interface to the NVM/storage and communication interface(s).
For example, the NVM/storage may be used to store data and/or instructions. The NVM/storage may include any suitable non-volatile memory (e.g., flash memory) and/or may include any suitable non-volatile storage device(s) (e.g., one or more hard disk drive(s) (HDD (s)), one or more Compact Disc (CD) drive(s), and/or one or more Digital Versatile Disc (DVD) drive (s)).
The NVM/storage may include storage resources that are physically part of the device on which the system is installed or it may be accessible by the device and not necessarily part of the device. For example, the NVM/storage may be accessible over a network via the communication interface(s).
The communication interface(s) may provide an interface for the system 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 the wireless network according to any of one or more wireless network standards and/or protocols.
For one embodiment, at least one of the processor(s) may be packaged together with logic for one or more controllers of the system control module (e.g., memory controller module). For one embodiment, at least one of the processor (S) may be packaged together with logic for one or more controllers of the system control module to form a system in package (sip). For one embodiment, at least one of the processor(s) may be integrated on the same die with logic for one or more controllers of the system control module. For one embodiment, at least one of the processor(s) may be integrated on the same die with logic of one or more controllers of a system control module to form a system on a chip (SoC).
In various embodiments, the system may be, but is not limited to being: a server, a workstation, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet, a netbook, etc.). In various embodiments, the system may have more or fewer components and/or different architectures. For example, in some embodiments, a system includes one or more cameras, a keyboard, a Liquid Crystal Display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an application specific integrated circuit (AS ic), and speakers.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, using application specific integrated circuits (AS ICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Further, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
In addition, some of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application through the operation of the computer. Those skilled in the art will appreciate that the form in which the computer program instructions reside on a computer-readable medium includes, but is not limited to, source files, executable files, installation package files, and the like, and that the manner in which the computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Computer-readable media herein can be any available computer-readable storage media or communication media that can be accessed by a computer.
Communication media includes media by which communication signals, including, for example, computer readable instructions, data structures, program modules, or other data, are transmitted from one system to another. Communication media may include conductive transmission media such as cables and wires (e.g., fiber optics, coaxial, etc.) and wireless (non-conductive transmission) media capable of propagating energy waves such as acoustic, electromagnetic, RF, microwave, and infrared. Computer readable instructions, data structures, program modules, or other data may be embodied in a modulated data signal, for example, in a wireless medium such as a carrier wave or similar mechanism such as is embodied as part of spread spectrum techniques. The term "modulated data signal" means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. The modulation may be analog, digital or hybrid modulation techniques.
An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or a solution according to the aforementioned embodiments of the present application.
Example four
Corresponding to the above embodiment, the present application further provides a computer-readable storage medium storing computer-executable instructions for executing the method for setting interface command format synchronization.
In the present embodiment, computer-readable storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information, such as computer-readable instructions, data structures, program modules, or other data. For example, computer-readable storage media include, but are not limited to, volatile memory such as random access memory (RAM, DRAM, SRAM); and non-volatile memory 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 disk, magnetic tape, CD, DVD); or other now known media or later developed that can store computer-readable information/data for use by a computer system.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all changes and modifications that fall within the scope of the embodiments of the present application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A method for synchronizing command formats of a setting interface is characterized by comprising the following steps:
responding to the starting of a server and entering a basic input and output system setting interface, and editing a command format interaction page, wherein the command format interaction page is used for describing the protocol command interaction logic of the current basic input and output system and a substrate management controller of the server;
saving the edited command format interactive page, restarting the server, and performing command configuration by the basic input and output system according to the edited command format interactive page;
and uploading the configured basic input and output system file to a webpage server of a baseboard management controller, so that the webpage server of the baseboard management controller updates the firmware of the basic input and output system and configures the command format space of the setting interface of the baseboard management controller according to the configured basic input and output system file.
2. The method for synchronizing command formats of setting interfaces of claim 1, wherein before the restarting the server, the saving of the command format interaction page after the editing is completed comprises:
and the basic input and output system stores the edited contents of all the command format interactive pages into a nonvolatile memory and sets the change flag bit of the configuration information to be 1.
3. The method for synchronizing command formats of setting interfaces of claim 2, wherein after the restarting of the server, the bios performs command configuration according to the edited command format interaction page, and the method comprises:
the basic input and output system reads the change flag bit of the configuration information;
if the change flag bit is 1, the basic input and output system reads the editing content of the command format interaction page in the nonvolatile memory, converts the edited command format into characters and writes the characters into a flash memory address for the substrate management controller to read;
and the basic input and output system performs logic operation according to the command format information value corresponding to the editing content to complete the configuration of the command format.
4. The method for synchronizing command formats of setting interfaces of claim 2, wherein after the server is powered on, the method further comprises:
the basic input and output system reads the change flag bit of the configuration information;
if the change flag bit is 1, the basic input and output system reads the editing content of the command format interactive page in the nonvolatile memory;
and if the change flag bit is 0, the basic input and output system does not read the command format configuration information in the nonvolatile memory.
5. The method for synchronizing command formats of setting interfaces of claim 3, wherein uploading the configured bios file to the web server of the bmc comprises:
reading the flash memory, and generating and acquiring a firmware file of the configured basic input and output system;
and logging in a web server of the baseboard management controller to upload the firmware file so that the baseboard management controller can read the editing content according to the flash memory address.
6. The method for synchronizing command formats of setting interfaces of claim 5, wherein the updating of the firmware of the bios and the configuring of the command format space of the setting interface of the bmc by the bmc web server according to the configured bios file comprises:
the baseboard management controller erases the basic input and output system flash memory and writes the basic input and output system flash memory according to the uploaded firmware file;
and the baseboard management controller reads the editing content according to the flash memory address and configures and sets a command format space of an interface according to a command format.
7. The setting interface command format synchronization method according to claim 1, wherein after the bmc web server updates the bios firmware and configures the command format space of the setting interface of the bmc according to the configured bios file, the method further comprises:
and displaying prompt information at the web server of the baseboard management controller, wherein the prompt information is used for displaying that the configuration of the baseboard management controller is completed.
8. A set interface command format synchronization apparatus, the apparatus comprising:
the modification module is used for responding to the starting of a server and entering a basic input and output system setting interface, and editing a command format interaction page, wherein the command format interaction page is used for describing the protocol command interaction logic of the current basic input and output system and a substrate management controller of the server;
the configuration module is used for storing the edited command format interactive page and restarting the server, and the basic input and output system performs command configuration according to the edited command format interactive page;
and the uploading and updating module is used for uploading the configured basic input and output system file to a webpage server of the baseboard management controller so that the webpage server of the baseboard management controller updates the firmware of the basic input and output system and configures the command format space of the setting interface of the baseboard management controller according to the configured basic input and output system file.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method for setting interface command format synchronization according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing computer-executable instructions for performing the method for setting interface command format synchronization of any one of claims 1 to 7.
CN202211475993.9A 2022-11-23 2022-11-23 Method, device, equipment and medium for setting interface command format synchronization Pending CN115729607A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211475993.9A CN115729607A (en) 2022-11-23 2022-11-23 Method, device, equipment and medium for setting interface command format synchronization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211475993.9A CN115729607A (en) 2022-11-23 2022-11-23 Method, device, equipment and medium for setting interface command format synchronization

Publications (1)

Publication Number Publication Date
CN115729607A true CN115729607A (en) 2023-03-03

Family

ID=85297694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211475993.9A Pending CN115729607A (en) 2022-11-23 2022-11-23 Method, device, equipment and medium for setting interface command format synchronization

Country Status (1)

Country Link
CN (1) CN115729607A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116991606A (en) * 2023-09-25 2023-11-03 苏州元脑智能科技有限公司 Baseboard management controller, and processing method and device of basic input/output system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116991606A (en) * 2023-09-25 2023-11-03 苏州元脑智能科技有限公司 Baseboard management controller, and processing method and device of basic input/output system
CN116991606B (en) * 2023-09-25 2024-02-02 苏州元脑智能科技有限公司 Baseboard management controller, and processing method and device of basic input/output system

Similar Documents

Publication Publication Date Title
WO2016029792A1 (en) Hardware device debugging method, device and system
US20140266592A1 (en) Network gateway system and method
CN106201563A (en) The method and apparatus that the collocation method of start-up parameter and device, mainboard start
CN114201360B (en) AER function management method, AER function management device, server and storage medium
CN115562738B (en) Port configuration method, component and hard disk expansion device
CN110321189B (en) Method and equipment for presenting hosted program in hosted program
CN115729607A (en) Method, device, equipment and medium for setting interface command format synchronization
CN113077834A (en) Storage device testing method and device, television and storage medium
WO2023087696A1 (en) Communication module and external interface configuration method and configuration apparatus therefor, and storage medium
CN113590185B (en) Page international configuration method, device, equipment and medium based on micro front end
JPH10116187A (en) Microcomputer
CN110166955B (en) Method and equipment for reminding schedule
CN115080069A (en) Debugging method and device for baseboard management controller, electronic equipment and storage medium
CN111752623A (en) Display configuration method and device, electronic equipment and readable storage medium
CN115509563A (en) Mirror image file manufacturing method, device, equipment and medium
CN113986460A (en) Data synchronization method, device, equipment and storage medium
CN107943575A (en) Multitask monitoring and managing method and device in SPI NAND
CN116149639A (en) Method and device for developing components, electronic equipment and storage medium
CN114185720A (en) Method, device, equipment and storage medium for server dynamic hot backup
CN113032164A (en) BMC and BIOS information interaction method, device, BMC and medium
CN110908934A (en) Physical network platform module, physical network platform equipment and control instruction processing system
US6715072B1 (en) System for automatically reading stored rewriting data and replacing system generated setup data by the rewriting data before system initialization
CN106101784B (en) A kind of repositioning method and device of smart television control Bluetooth chip
CN113709146B (en) Method, equipment and medium for presenting entry information
CN114153505B (en) Data interaction method, system, device, equipment and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination