CN109857466B - BIOS configuration method, device, server and computer readable storage medium - Google Patents

BIOS configuration method, device, server and computer readable storage medium Download PDF

Info

Publication number
CN109857466B
CN109857466B CN201811446321.9A CN201811446321A CN109857466B CN 109857466 B CN109857466 B CN 109857466B CN 201811446321 A CN201811446321 A CN 201811446321A CN 109857466 B CN109857466 B CN 109857466B
Authority
CN
China
Prior art keywords
bios
configuration
server
virtual machine
display page
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.)
Active
Application number
CN201811446321.9A
Other languages
Chinese (zh)
Other versions
CN109857466A (en
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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201811446321.9A priority Critical patent/CN109857466B/en
Publication of CN109857466A publication Critical patent/CN109857466A/en
Application granted granted Critical
Publication of CN109857466B publication Critical patent/CN109857466B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The disclosure provides a BIOS configuration method, a BIOS configuration device, a server and a computer readable storage medium. When the server is in a power-on state and a power-off state, the baseboard management controller creates a virtual machine according to first trigger information sent by the terminal equipment and the acquired server configuration information, and the virtual machine simulates a hardware environment in which a BIOS (basic input output System) mirror image operates; the method comprises the steps that a substrate management controller controls terminal equipment to generate a display page and establish a data transmission channel between the display page and a virtual machine, then a BIOS mirror image is loaded into the established virtual machine to run, and the BIOS is configured according to a configuration command sent by a user through a BIOS setting interface on the display page in the running process of the BIOS mirror image, so that compared with the prior art that the BIOS is remotely configured through an IPMI command, the method is simpler and more visual and is convenient for the user to use; meanwhile, the server is always in a power-on state and is not in a power-on state, so that the power consumption and the noise are effectively reduced.

Description

BIOS configuration method, device, server and computer readable storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a BIOS configuration method, device, server, and computer-readable storage medium.
Background
The BIOS (Basic Input Output System) is a set of programs that are fixed on a ROM chip on a computer motherboard, and stores the most important Basic Input and Output programs of the computer, System setting information, a self-test program after power-on, and a System self-start program, and its main function is to provide the bottommost and most direct hardware setting and control for the computer.
The BMC (Baseboard Management Controller) is an out-of-band Management system of a server, monitors and manages the server based on an IPMI (Intelligent Platform Management Interface) protocol, does not depend on a processor, a BIOS, or an operating system of the server, and has its own firmware, power supply, MAC address, and network Interface.
In order to enable a user to control the server starting process and hardware operation according to the user's own requirements, the BIOS provides a Setup interface for the user to configure the BIOS. That is, a user may start the server first, enter the BIOS Setup interface by pressing a shortcut key to modify the configuration data of the BIOS, and restart the system to enable the configuration to be effective after storing the modified configuration data, but this method requires starting the server, which results in power consumption and causes large noise. When the BIOS is remotely configured through the IPMI command, because the BIOS configuration options are many, the BIOS configuration options are generally realized by preferentially selecting important options, and unimportant options are not realized.
Disclosure of Invention
The present disclosure is directed to a BIOS configuration method, device, server and computer readable storage medium, so that a user can configure a BIOS through a BIOS setting interface without starting the server.
In order to achieve the above purpose, the technical scheme adopted by the disclosure is as follows:
in a first aspect, the present disclosure provides a BIOS configuration method applied to a baseboard management controller of a server, where the baseboard management controller is in communication connection with a BIOS memory chip of the server, and the BIOS memory chip stores a BIOS image, where the method includes: when the server is in a power-on and non-power-on state, a virtual machine is established according to first trigger information sent by terminal equipment and acquired server configuration information, and the virtual machine simulates a hardware environment in which the BIOS mirror image operates; controlling the terminal equipment to generate a display page, and establishing a data transmission channel between the display page and the virtual machine; loading the BIOS image into the virtual machine to run; and in the running process of the BIOS mirror image, receiving a configuration command sent by a user through a BIOS setting interface on the display page, and configuring the BIOS according to the configuration command.
In a second aspect, the present disclosure further provides a BIOS configuration apparatus applied to a baseboard management controller of a server, where the baseboard management controller is in communication connection with a BIOS memory chip of the server, and the BIOS memory chip stores a BIOS image, and the apparatus includes: the virtual machine creating module is used for creating a virtual machine according to first trigger information sent by terminal equipment and acquired server configuration information when the server is in a power-on and non-power-on state, and the virtual machine simulates a hardware environment in which the BIOS mirror image operates; the control module is used for controlling the terminal equipment to generate a display page and establishing a data transmission channel between the display page and the virtual machine; the BIOS loading module is used for loading the BIOS mirror image into the virtual machine to run; and the configuration module is used for receiving a configuration command sent by a user through a BIOS setting interface on the display page in the running process of the BIOS mirror image and configuring the BIOS according to the configuration command.
In a third aspect, the present disclosure also provides a server, including a memory storing a computer program and a baseboard management controller, where the computer program is read and executed by the baseboard management controller, so as to implement the method of the first aspect.
In a fourth aspect, the present disclosure also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is read and executed by a baseboard management controller, the computer program implements the method of the first aspect.
Compared with the prior art, the method has the following beneficial effects:
according to the BIOS configuration method, the BIOS configuration device, the server and the computer readable storage medium, when the server is powered on and is not started, the baseboard management controller creates a virtual machine according to first trigger information sent by the terminal equipment and acquired server configuration information, and the virtual machine simulates a hardware environment in which a BIOS mirror runs; the method comprises the steps that a baseboard management controller controls a terminal device to generate a display page, a data transmission channel between the display page and a virtual machine is established, a BIOS mirror image is loaded into the established virtual machine to operate, in the operation process of the BIOS mirror image, a configuration command sent by a user through a BIOS setting interface on the display page is received, and the BIOS is configured according to the configuration command. Because the created virtual machine is a simulated real hardware environment in which the BIOS mirror image runs, when the BIOS mirror image runs in the virtual machine, the BIOS mirror image runs in the real hardware environment, so that a user can directly enter a BIOS setting interface on a display page to configure the BIOS, and compared with the mode of remotely configuring the BIOS through an IPMI command in the prior art, the method is simpler and more visual and is convenient for the user to use; meanwhile, in the whole BIOS mirror image starting operation and BIOS configuration process, the server is always in a power-on state and is not in a power-on state, so that the power consumption and the noise are effectively reduced, and the system is suitable for being used in a scene of training and demonstrating a user.
Additional features and advantages of the disclosure will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the disclosure. The objectives and other advantages of the disclosure may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
To more clearly illustrate the technical solutions of the present disclosure, the drawings needed for the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present disclosure, and therefore should not be considered as limiting the scope, and those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 shows a block diagram of a server provided by the present disclosure.
FIG. 2 is a flow chart illustrating a BIOS configuration method provided by the present disclosure.
FIG. 3 is a flow chart illustrating another BIOS configuration method provided by the present disclosure.
FIG. 4 is a functional block diagram of a BIOS configuration device provided by the present disclosure.
Icon: 100-a server; 400-BIOS configuration means; 110-baseboard management controller; 120-a memory; 130-BIOS memory chip; 140-a CPU; 150-PCH chip; 410-a communication establishment module; 420-virtual machine creation module; 430-a control module; 440-BIOS load module; 450-configuration module; 460-configuration data write module.
Detailed Description
The technical solutions in the present disclosure will be described clearly and completely with reference to the accompanying drawings in the present disclosure, and it is to be understood that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. The components of the present disclosure, as generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure, presented in the figures, is not intended to limit the scope of the claimed disclosure, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the disclosure without making any creative effort, shall fall within the protection scope of the disclosure.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
Referring to fig. 1, a block diagram of a server 100 according to the present disclosure is shown. The server 100 includes a board management controller 110, a memory 120, a BIOS memory chip 130, a CPU (Central Processing Unit) 140, and a PCH (south bridge) chip 150, where the board management controller 110 is in communication with the memory 120 and the PCH chip 150, the BIOS memory chip 130 may be in communication with the board management controller 110 directly, or in communication with the board management controller 110 through the PCH chip 150, and the CPU140 is in communication with the PCH chip 150.
In this embodiment, the number of the CPUs 140 may be one or more, and the CPUs 140 may be interconnected through a UPI bus; the BIOS memory chip 130 is provided with a BIOS image area and a BIOS configuration area, the BIOS image area is used for storing a BIOS image, and the BIOS configuration area is used for storing BIOS configuration data; the baseboard management controller 110 and the PCH chip 150 are both powered by a Standby power supply, where the Standby power supply can be understood as a backup power supply, and a waiting voltage of +5V can be reserved when the system is turned off, so as to be used for a power supply and a system wake-up service, that is, when the server 100 is in a shutdown state, as long as the server 100 is powered on, the baseboard management controller 110 and the PCH chip 150 can normally operate through the voltage provided by the Standby power supply. The server 100 is provided with a management portal corresponding to the baseboard management controller 110, and when the management portal is connected to a certain terminal device (e.g., a Personal Computer (PC)), a user can remotely log in a management interface of the baseboard management controller 110 through the terminal device, thereby realizing remote monitoring and management of the server 100.
The memory 120 may be used to store software programs and modules, such as program instructions/modules corresponding to the BIOS configuration method and apparatus provided in the present disclosure, and the bmc 110 executes the software programs and modules stored in the memory 120 to perform various functional applications and data processing.
It will be appreciated that the configuration shown in fig. 1 is merely illustrative and that server 100 may include more or fewer components than shown in fig. 1 or have a different configuration than shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
The present disclosure also provides a computer-readable storage medium having stored thereon a computer program that is read and executed by the baseboard management controller 110 to implement the BIOS configuration method disclosed in the present disclosure.
Fig. 2 is a flowchart illustrating a BIOS configuration method according to the present disclosure. It should be noted that the BIOS configuration method described in this disclosure is not limited by the specific sequence described in fig. 2 and below, and it should be understood that, in other embodiments, the sequence of some steps in the BIOS configuration method described in this disclosure may be interchanged according to actual needs, or some steps may be omitted or deleted. The BIOS configuration method can be applied to the baseboard management controller 110, and the specific process shown in fig. 2 will be described in detail below.
Step S101, when the server 100 is in a power-on state and is not powered on, establishing communication with a terminal device according to an access request sent by the terminal device, so that a management interface of the baseboard management controller 110 is displayed on the terminal device, and the terminal device is further convenient to send first trigger information according to an operation of a user on the management interface.
For example, a user initiates an http request (i.e., the above access request) to the baseboard management controller 110 through a browser installed on a terminal device, and when the terminal device receives a response message sent by the baseboard management controller 110 according to the access request, a corresponding WEB page (i.e., the above management interface) is generated according to the response message and presented to the user, so that the user performs a relevant operation according to information displayed on the WEB page, thereby implementing remote access to the management interface of the baseboard management controller 110.
Step S102, when the server 100 is in a power-on state and is not powered on, creating a virtual machine according to the first trigger information sent by the terminal device and the acquired server configuration information, where the virtual machine simulates a hardware environment in which the BIOS image runs.
In this embodiment, the server configuration information may be factory configuration information stored in advance or configuration information dynamically acquired by the baseboard management controller 110 when the server 100 operates last time, and includes hardware configuration information of the server 100, such as a model of the CPU140, the number of the CPUs 140, a size of a hard disk, a display interface, and the like; the server configuration information may be stored in a FLASH chip connected to the baseboard management controller 110.
A trigger button is preset on a management interface of the baseboard management controller 110, the trigger button may be used to trigger a virtual machine service, after a user presses the trigger button on the management interface, the terminal device sends first trigger information to the baseboard management controller 110, and the first trigger information may trigger the baseboard management controller 110 to create a virtual machine according to the acquired server configuration information, thereby simulating a hardware environment in which a BIOS image runs. Since the virtual machine is created according to the hardware configuration information of the server 100, all the hardware configurations in the simulated hardware environment are the same as the hardware configuration of the server 100 itself.
Step S103, controlling the terminal equipment to generate a display page, and establishing a data transmission channel between the display page and the virtual machine.
In this embodiment, after the virtual machine is created, a display page needs to be generated on the terminal device, the baseboard management controller 110 redirects the input of the display page to the created virtual machine, and redirects the output of the virtual machine to the display page, so as to establish a data transmission channel between the display page and the virtual machine, so that a user can operate the virtual machine in real time through the display page, which is similar to the function of a remote desktop.
As an embodiment, the display page may be generated by automatically controlling the terminal device after the baseboard management controller 110 creates the virtual machine; as another embodiment, the display page may also be generated by the baseboard management controller 110 when receiving the second trigger information sent by the terminal device, where the step S103 includes: and controlling the terminal equipment to generate a display page according to second trigger information sent by the terminal equipment. Specifically, the baseboard management controller 110 sends output data output by the display interface of the virtual machine to the terminal device according to second trigger information sent by the terminal device, so that the terminal device generates the display page according to the output data.
The terminal device may send the second trigger information according to an operation of the user on the trigger button on the management interface, so as to open a display page on the management interface. For example, after the user presses the trigger button on the management interface, the terminal device sends second trigger information to the baseboard management controller 110, where the second trigger information may trigger the baseboard management controller 110 to send output data output by the display interface on the virtual machine to the terminal device, and the terminal device generates a corresponding display page according to the received output data and displays the display page on the browser.
And step S104, loading the BIOS image into the virtual machine for running.
In this embodiment, the baseboard management controller 110 fetches the BIOS image from the BIOS memory chip 130, loads the BIOS image into the created virtual machine, and the virtual machine runs the BIOS image.
Step S105, in the running process of the BIOS mirror image, receiving a configuration command sent by a user through a BIOS setting interface on the display page, and configuring the BIOS according to the configuration command.
In this embodiment, since the hardware environment simulated by the virtual machine is the same as the actual hardware environment of the server 100, the process of running the BIOS image by the virtual machine is equivalent to the process of running the BIOS image after the server 100 is powered on and started, and meanwhile, since the input and output of the display page have been redirected to the virtual machine, prompt information prompting the user to press a shortcut key to enter the BIOS Setup interface appears on the display page, and the user can enter the BIOS Setup interface after pressing the corresponding shortcut key according to the prompt information on the display page, thereby performing BIOS configuration through the BIOS Setup interface. In the process of configuring the BIOS through the BIOS Setup interface, the terminal device sends a corresponding configuration command to the bmc 110 according to the configuration operation of the user, and further implements the configuration of the BIOS according to the configuration command. Therefore, in the BIOS configuration method provided in this embodiment, the server 100 is always in the power-on and non-power-on state, that is, the CPU140 of the server 100 is not powered on, so that power consumption and noise are effectively reduced, and the method is suitable for a scene of training and demonstration for a user. Meanwhile, because the virtual machine is created according to the hardware configuration information of the server 100, when the BIOS image starts running in the virtual machine, the BIOS image is equivalent to running in the real hardware environment of the server 100, and meanwhile, because the input and output of the display page have been redirected to the virtual machine, when the BIOS image starts running in the virtual machine, the BIOS Setup interface can be displayed on the display page, so that a user can configure the BIOS directly through the BIOS Setup interface, and the whole configuration process is simple and intuitive and has good usability.
Further, as shown in fig. 3, the BIOS configuration method further includes:
step S106, obtaining new configuration data according to the configuration command, and writing the new configuration data into the BIOS memory chip 130 to update the BIOS configuration data.
In this embodiment, in the process of modifying the BIOS configuration data by the user, the baseboard management controller 110 may obtain the configuration data (i.e. the new configuration data) modified by the user according to the configuration command, and write the modified configuration data back to the BIOS configuration area of the BIOS memory chip 130, so as to update the original BIOS configuration data of the BIOS configuration area to the new configuration data. The user need only start the CPU140 of the server 100 and when the BIOS image is running in the real hardware environment in the server 100, the new configuration data of the BIOS configuration area is used to validate the configuration.
Referring to fig. 4, a functional block diagram of a BIOS configuration device 400 according to the present disclosure is shown. It should be noted that the basic principle and the technical effect of the BIOS configuration device 400 provided in the present embodiment are the same as those of the foregoing method embodiments, and for a brief description, reference may be made to corresponding contents in the foregoing method embodiments for a part not mentioned in the present embodiment. The BIOS configuration apparatus 400 can be applied to the bmc 110, and includes a communication establishing module 410, a virtual machine creating module 420, a control module 430, a BIOS loading module 440, a configuration module 450, and a configuration data writing module 460.
The communication establishing module 410 is configured to establish communication with a terminal device according to an access request sent by the terminal device when the server 100 is in a power-on/off state, so that a management interface of the baseboard management controller 110 is displayed on the terminal device, and the terminal device is further convenient to send first trigger information according to an operation of a user on the management interface.
It is understood that the communication establishing module 410 may perform the above step S101.
The virtual machine creating module 420 is configured to create a virtual machine according to the first trigger information sent by the terminal device and the acquired server configuration information when the server 100 is in a power-on/off state, where the virtual machine simulates a hardware environment in which the BIOS image runs.
It is understood that the virtual machine creation module 420 may perform the above step S102.
The control module 430 is configured to control the terminal device to generate a display page, and establish a data transmission channel between the display page and the virtual machine.
In this embodiment, the control module 430 may be configured to control the terminal device to generate a display page according to the second trigger information sent by the terminal device. Among other things, a control module 430. Specifically, the control module 430 sends output data output by the display interface of the virtual machine to the terminal device according to the second trigger information sent by the terminal device, so that the terminal device generates the display page according to the output data.
It is understood that the control module 430 may perform the above step S103.
The BIOS loading module 440 is configured to load the BIOS image into the virtual machine to run.
It is understood that the BIOS loading module 440 can perform the above step S104.
The configuration module 450 is configured to receive a configuration command sent by a user through a BIOS setting interface on the display page during the running process of the BIOS image, and configure the BIOS according to the configuration command.
It is understood that the configuration module 450 may perform the above step S105.
The configuration data writing module 460 is configured to obtain new configuration data according to the configuration command, and write the new configuration data into the BIOS memory chip 130 to update the BIOS configuration data.
It is understood that the configuration data writing module 460 can execute the step S106.
In summary, according to the BIOS configuration method, the BIOS configuration device, the server, and the computer readable storage medium provided by the present disclosure, when the server is powered on and is not powered on, the baseboard management controller creates a virtual machine according to the first trigger information sent by the terminal device and the acquired server configuration information, where the virtual machine simulates a hardware environment in which a BIOS image runs; the method comprises the steps that a baseboard management controller controls a terminal device to generate a display page, a data transmission channel between the display page and a virtual machine is established, a BIOS mirror image is loaded into the established virtual machine to operate, in the operation process of the BIOS mirror image, a configuration command sent by a user through a BIOS setting interface on the display page is received, and the BIOS is configured according to the configuration command. Because the created virtual machine simulates the real hardware environment in which the BIOS mirror image operates, when the BIOS mirror image operates in the virtual machine, the BIOS mirror image operates in the real hardware environment, so that a user can directly enter a BIOS setting interface on a display page to configure the BIOS, and compared with the mode of remotely configuring the BIOS through an IPMI command in the prior art, the method is simpler and more visual and is convenient for the user to use; meanwhile, in the whole BIOS mirror image starting operation and BIOS configuration process, the server is always in a power-on state and is not in a power-on state, so that the power consumption and the noise are effectively reduced, and the system is suitable for being used in a scene of training and demonstrating a user.
As will be appreciated by one skilled in the art, the present disclosure may be provided as a method, apparatus, device or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus, devices and computer program products according to the present disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In the several embodiments provided in the present disclosure, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus and method embodiments described above are illustrative only, as the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present disclosure may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present disclosure. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing is illustrative of only alternative embodiments of the present disclosure and is not intended to limit the disclosure, which may be modified and varied by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present disclosure should be included in the protection scope of the present disclosure. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.

Claims (10)

1. A BIOS configuration method is applied to a baseboard management controller of a server, the baseboard management controller is in communication connection with a BIOS storage chip of the server, the BIOS storage chip stores a BIOS mirror image, and the method comprises the following steps:
when the server is in a power-on and non-power-on state, a virtual machine is established according to first trigger information sent by terminal equipment and acquired server configuration information, and the virtual machine simulates a hardware environment in which the BIOS mirror image operates;
controlling the terminal equipment to generate a display page, and establishing a data transmission channel between the display page and the virtual machine;
loading the BIOS mirror image into the virtual machine to run so as to display a BIOS setting interface on the display page; the BIOS setting interface is a BIOS Setup interface;
and in the running process of the BIOS mirror image, receiving a configuration command sent by a user through a BIOS setting interface on the display page, and configuring the BIOS according to the configuration command.
2. The BIOS configuration method of claim 1, wherein the step of controlling the terminal device to generate a display page comprises:
and controlling the terminal equipment to generate a display page according to second trigger information sent by the terminal equipment.
3. The BIOS configuration method of claim 2, wherein the step of controlling the terminal device to generate the display page according to the second trigger information sent by the terminal device comprises:
and sending output data output by a display interface of the virtual machine to the terminal equipment according to second trigger information sent by the terminal equipment so that the terminal equipment generates the display page according to the output data.
4. The BIOS configuration method of claim 1 wherein the BIOS memory chip further stores BIOS configuration data, the method further comprising:
and acquiring new configuration data according to the configuration command, and writing the new configuration data into the BIOS storage chip to update the BIOS configuration data.
5. The BIOS configuration method of claim 1, wherein when the server is in a power-on, un-powered-on state, the method further comprises:
and establishing communication with the terminal equipment according to an access request sent by the terminal equipment so as to display a management interface of the baseboard management controller on the terminal equipment, thereby facilitating the terminal equipment to send the first trigger information according to the operation of a user on the management interface.
6. The BIOS configuration method according to any one of claims 1 to 5, wherein the server configuration information is pre-stored factory configuration information or configuration information dynamically acquired by the baseboard management controller when the server is last run.
7. A BIOS configuration device is applied to a baseboard management controller of a server, the baseboard management controller is in communication connection with a BIOS storage chip of the server, the BIOS storage chip stores a BIOS mirror image, and the device comprises:
the virtual machine creating module is used for creating a virtual machine according to first trigger information sent by terminal equipment and acquired server configuration information when the server is in a power-on and non-power-on state, and the virtual machine simulates a hardware environment in which the BIOS mirror image operates;
the control module is used for controlling the terminal equipment to generate a display page and establishing a data transmission channel between the display page and the virtual machine;
the BIOS loading module is used for loading the BIOS mirror image into the virtual machine to run so as to display a BIOS setting interface on the display page; the BIOS setting interface is a BIOS Setup interface;
and the configuration module is used for receiving a configuration command sent by a user through a BIOS setting interface on the display page in the running process of the BIOS mirror image and configuring the BIOS according to the configuration command.
8. The BIOS configuration device of claim 7 wherein the BIOS memory chip further stores BIOS configuration data, the device further comprising:
and the configuration data writing module is used for obtaining new configuration data according to the configuration command and writing the new configuration data into the BIOS storage chip to update the BIOS configuration data.
9. A server, comprising a memory storing a computer program and a baseboard management controller, the computer program, when read and executed by the baseboard management controller, implementing the method of any of claims 1-5.
10. A computer-readable storage medium, on which a computer program is stored, which, when read and executed by a baseboard management controller, implements the method according to any one of claims 1-5.
CN201811446321.9A 2018-11-29 2018-11-29 BIOS configuration method, device, server and computer readable storage medium Active CN109857466B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811446321.9A CN109857466B (en) 2018-11-29 2018-11-29 BIOS configuration method, device, server and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811446321.9A CN109857466B (en) 2018-11-29 2018-11-29 BIOS configuration method, device, server and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109857466A CN109857466A (en) 2019-06-07
CN109857466B true CN109857466B (en) 2022-08-12

Family

ID=66890431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811446321.9A Active CN109857466B (en) 2018-11-29 2018-11-29 BIOS configuration method, device, server and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109857466B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111158774B (en) * 2019-12-31 2022-03-25 联想(北京)有限公司 Control method and device and electronic equipment
CN112367183B (en) * 2020-09-30 2022-07-12 新华三云计算技术有限公司 Server maintenance method, device, equipment and machine readable storage medium
CN113127079B (en) * 2021-04-13 2023-01-10 山东英信计算机技术有限公司 Method, system and medium for managing BMC
CN113434467B (en) * 2021-05-31 2023-09-05 浪潮电子信息产业股份有限公司 Network file transmission method, device and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102792270A (en) * 2010-03-15 2012-11-21 思科技术公司 BIOS parameter virtualization via BIOS configuration profiles
CN103365696A (en) * 2013-08-01 2013-10-23 华为技术有限公司 BIOS (Basic Input Output System) image file obtaining method and device
CN104503798A (en) * 2014-12-29 2015-04-08 杭州华三通信技术有限公司 Method and device for configuring server
CN104636173A (en) * 2015-03-11 2015-05-20 浪潮集团有限公司 Fast BIOS configuration method
CN105824648A (en) * 2016-04-19 2016-08-03 浪潮电子信息产业股份有限公司 Unattended BIOS (Basic Input/output System) configuration method
CN106095643A (en) * 2016-06-16 2016-11-09 英业达科技有限公司 The establishing method of systematic parameter access and server thereof
CN108459944A (en) * 2018-03-29 2018-08-28 中科创能实业有限公司 System operation monitoring method, device and server

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1916854A (en) * 2005-08-19 2007-02-21 联想(北京)有限公司 System the method for managing and configuring virtual machine
WO2008073618A2 (en) * 2006-11-06 2008-06-19 Devicevm, Inc. Instant on platform
US8117435B2 (en) * 2008-06-30 2012-02-14 Intel Corporation Method and system for secured dynamic bios update
US8938774B2 (en) * 2010-05-28 2015-01-20 Dell Products, Lp System and method for I/O port assignment and security policy application in a client hosted virtualization system
CN102681864A (en) * 2011-03-16 2012-09-19 鸿富锦精密工业(深圳)有限公司 Computer
CN102999362A (en) * 2012-12-04 2013-03-27 浪潮电子信息产业股份有限公司 Method for modifying sequence of boot options of basic input/output system (BIOS)
CN106572136A (en) * 2015-10-10 2017-04-19 北京国双科技有限公司 Server operation control method, device and system
CN108268302B (en) * 2016-12-30 2020-12-04 华为技术有限公司 Method and device for realizing equipment starting

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102792270A (en) * 2010-03-15 2012-11-21 思科技术公司 BIOS parameter virtualization via BIOS configuration profiles
CN103365696A (en) * 2013-08-01 2013-10-23 华为技术有限公司 BIOS (Basic Input Output System) image file obtaining method and device
CN104503798A (en) * 2014-12-29 2015-04-08 杭州华三通信技术有限公司 Method and device for configuring server
CN104636173A (en) * 2015-03-11 2015-05-20 浪潮集团有限公司 Fast BIOS configuration method
CN105824648A (en) * 2016-04-19 2016-08-03 浪潮电子信息产业股份有限公司 Unattended BIOS (Basic Input/output System) configuration method
CN106095643A (en) * 2016-06-16 2016-11-09 英业达科技有限公司 The establishing method of systematic parameter access and server thereof
CN108459944A (en) * 2018-03-29 2018-08-28 中科创能实业有限公司 System operation monitoring method, device and server

Also Published As

Publication number Publication date
CN109857466A (en) 2019-06-07

Similar Documents

Publication Publication Date Title
CN109857466B (en) BIOS configuration method, device, server and computer readable storage medium
US10002003B2 (en) Method for presenting initialization progress of hardware in server, and server
US10514930B2 (en) Setting a startup parameter and controlling startup of a mainboard
US8874953B2 (en) System and method of cloud testing and remote monitoring for integrated circuit components in system validation
CN106445728B (en) Computer system
JP5355243B2 (en) Information processing apparatus, control method thereof, and program
CN108874459A (en) Quick start method and device based on virtualization technology
CN101873217B (en) Ethernet power supply equipment restart control method and device thereof
US20110016283A1 (en) Method and system for configuring a storage array
CN107908508A (en) The method, apparatus and server of control BIOS Debugging message output in real time
CN112527397A (en) Method and device for modifying basic input output system options and computer equipment
CN112134765A (en) WIFI (Wireless Fidelity) back-connection test method and device, test terminal and readable storage medium
CN109634675A (en) A kind of redundancy approach of BIOS, redundant system and relevant apparatus
CN113986000A (en) Server power-on method, system, device and medium
CN110673898B (en) Equipment management method, first equipment and interaction system
CN102467427A (en) Method for entering basic output and input system setting
CN104219097A (en) Rapid configuration method of distributed system
TWI476693B (en) Method for exchanging information between multiple operation systems of electronic device
US20140136777A1 (en) Method and system for configuring a storage array
CN109634685B (en) Starting and stopping method and related device for PXE function of PCH gigabit Ethernet
CN109254782B (en) Operating system installation method and device
CN113453376A (en) Network configuration method, related device, equipment and storage medium
JP2010140191A (en) Information processing apparatus, information processing method, and program
CN111399921A (en) Switching method, device and equipment for server boot logo
CN108399075A (en) A kind of method and system of update management engine

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
GR01 Patent grant
GR01 Patent grant