Management method of computing device and computing device
By deploying a first-band management module in the computing device and using BIOS boot, the computing device management tasks are executed seamlessly, solving the problem of low management efficiency caused by restarts in the prior art and improving the user experience.
Patent Information
- Application Number
- CN202511198016.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-26
- Publication Date
- 2025-11-07
AI Technical Summary
In existing technologies, in-band management tasks of computing devices require a reset and restart after completion, resulting in low management efficiency and a poor user experience.
By deploying a first in-band management module with partial in-band management functions and starting the module through the BIOS to perform management tasks, if the module can complete the task independently, the operating system can be entered without restarting the computing device; otherwise, the second in-band management module is started to complete the remaining tasks.
It improves the convenience and ease of use of computing device management, so users do not need to be aware of the execution process of management tasks, saving time in entering the operating system.
Smart Images

Figure CN120909647A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of computers, and in particular to a management method of a computing device and the computing device. BACKGROUND
[0002] The in-band management tasks of the computing device usually include redundant array of independent disks (RAID) configuration, system deployment, firmware upgrade, device information collection, etc. The in-band management tasks can usually be implemented by using an independent image system, such as a smart provisioning (SP). When performing the in-band management tasks, the SP is usually started through a basic input / output system (BIOS) to perform the in-band management tasks based on the SP. However, after the in-band management tasks are performed based on the SP, if it is needed to return to the BIOS or an operating system of the computing device, the computing device needs to be reset, which results in low overall execution efficiency of the in-band management and the user can perceive this, resulting in a long and discontinuous operation experience for the user. Therefore, there is an urgent need for a computing device management method that can save time for entering the operating system and improve ease of use. SUMMARY
[0003] Embodiments of the present application provide a management method of a computing device and the computing device, which can improve the convenience of management of the computing device.
[0004] In a first aspect, embodiments of the present application provide a management method of a computing device, which includes: starting a basic input / output system (BIOS) and starting a first in-band management module through the BIOS; obtaining an in-band management task through the first in-band management module; in a case where the in-band management task includes a first management task that can be executed by the first in-band management module, executing the first management task through the first in-band management module; and in a case where the in-band management task is all the first management task and the first management task is executed by the first in-band management module, starting an operating system of the computing device through the BIOS.
[0005] Based on the present implementation, the first in-band management module with partial in-band management function is deployed and started by the BIOS to perform the in-band management task based on the first in-band management module, so that if the first in-band management module can independently complete the in-band management task, the computing device does not need to be restarted to start the operating system of the computing device based on the BIOS, thereby saving the time to enter the operating system, and the user can be unaware of the execution process of the management task to improve the convenience and ease of use of the management computing device.
[0006] In a possible implementation, after the first management task is executed by the first in-band management module, the method further includes: if the in-band management task includes a second management task that cannot be executed by the first in-band management module, starting a second in-band management module by the BIOS; executing the second management task by the second in-band management module; after the second management task is completed, performing a restart operation by the BIOS, and starting the operating system of the computing device after the computing device is restarted.
[0007] Based on the present implementation, if the first in-band management module cannot independently complete the in-band management task, the second in-band management module is further started to execute the remaining management task, so that through the two-level task execution structure, it can be ensured that all types of in-band management tasks can be successfully executed.
[0008] In another possible implementation, the in-band management task is obtained by the first in-band management module, including: the in-band management task input by the user through the baseboard management control module is obtained by the first in-band management module.
[0009] Based on the present implementation, the in-band management task can be distributed to the processor by the out-of-band management processor to realize the out-of-band management function of the computing device by the in-band management module and the BIOS.
[0010] In a further possible implementation, the obtaining, by the first in-band management module, of the in-band management task input by the user through the baseboard management control module comprises: mounting, by the first in-band management module, a file partition of the second in-band management module into the BIOS, and obtaining the in-band management task from the file partition of the second in-band management module; or obtaining, by the first in-band management module, the in-band management task from the file partition of the second in-band management module based on a preset communication command; or obtaining, by the first in-band management module, the in-band management task from the file partition of the second in-band management module based on a preset communication interface; wherein the in-band management task in the file partition of the second in-band management module is stored by the baseboard management control module.
[0011] According to the present implementation, the in-band management task can be obtained in different manners, such as by mounting the file partition of the second in-band management module, by a preset communication command, or by a preset communication interface, so that the optimal obtaining manner can be selected according to different scenarios such as data size and security requirements.
[0012] In a further possible implementation, the obtaining, by the first in-band management module, of the in-band management task from the file partition of the second in-band management module based on a preset communication command comprises: sending, by the first in-band management module, the preset communication command to the baseboard management control module, so that the baseboard management control module obtains the in-band management task from the file partition of the second in-band management module in response to the preset communication command, and sends the in-band management task to the first in-band management module based on the preset communication command; and receiving, by the first in-band management module, the in-band management task.
[0013] According to the present implementation, the first in-band management module can send a preset communication command to the baseboard management control module to obtain an in-band management task in a network transmission manner.
[0014] In a further possible implementation, the method further comprises: displaying a first interface corresponding to the first in-band management module in response to a trigger instruction of a first key; or displaying a second interface corresponding to the BIOS in response to a trigger instruction of a second key, and displaying the first interface in response to a trigger operation of a target control in the second interface.
[0015] Based on the implementation, the user can directly enter the interface of the first in-band management module by triggering the key of the external device, or can enter the interface of the first in-band management module through the BIOS interface. In this process, the computing device does not need to perform a restart operation, thereby improving the convenience of the in-band management task and the usability of the first in-band management module.
[0016] In another possible implementation, the method further includes: after exiting the first interface, displaying a second interface corresponding to the BIOS.
[0017] Based on the implementation, the switching between the BIOS interface and the interface of the first in-band management module can be realized, so that the user can directly enter the BIOS interface after exiting the interface of the first in-band management module. In this process, the computing device does not need to perform a restart operation, thereby improving the convenience of the in-band management task.
[0018] In another possible implementation, the in-band management task is obtained through the first in-band management module, including: in response to the in-band management task input through the first interface, the in-band management task is obtained through the first in-band management module.
[0019] Based on the implementation, in addition to the in-band management task issued by the baseboard management control module, the user can also directly issue the in-band management task to the first in-band management module through the user interface of the first in-band management module, so that the user can issue the in-band management task in multiple ways.
[0020] In another possible implementation, the first management task includes a patch installation task; and in the case that the in-band management task includes a first management task that can be executed by the first in-band management module, the first management task is executed through the first in-band management module, including: in the case that the in-band management task is the patch installation task that can be executed by the first in-band management module, a patch file corresponding to the patch installation task is obtained; the patch file is verified through the first in-band management module to determine whether the patch file meets a preset security condition; in the case that the patch file meets the preset security condition, a target operating system corresponding to the patch installation task is determined through the first in-band management module; the patch file is stored in a file partition corresponding to the target operating system through the first in-band management module, and a task of installing the patch file is added in a startup item of the target operating system.
[0021] Based on the present implementation, the patch installation task is independently completed by the first in-band management module, so that after the patch installation task is executed, the operating system of the computing device can be started based on the BIOS without restarting, thereby saving the time for entering the operating system, and achieving the user's unawareness of the execution process of the patch installation task, to improve the convenience and ease of use of the computing device.
[0022] In another possible implementation, the first management task includes an asset information collection task; in the case that the in-band management task includes the first management task that can be executed by the first in-band management module, the first management task is executed by the first in-band management module, including: in the case that the in-band management task is the asset information collection task that can be executed by the first in-band management module, the asset information of a hardware device is acquired by the first in-band management module calling a device communication interface or an asset information collection tool corresponding to the hardware device in the computing device; and the asset information of the hardware device is written into a file partition corresponding to the second in-band management module by the first in-band management module.
[0023] Based on the present implementation, the asset information collection task is independently completed by the first in-band management module, so that after the asset information collection task is executed, the operating system of the computing device can be started based on the BIOS without restarting, thereby saving the time for entering the operating system, and achieving the user's unawareness of the execution process of the asset information collection task, to improve the convenience and ease of use of the computing device.
[0024] In a second aspect, the embodiments of the present application further provide a management device of a computing device, which comprises: a first starting module configured to start a basic input and output system (BIOS) and start a first in-band management module through the BIOS; an acquisition module configured to acquire an in-band management task through the first in-band management module; a first execution module configured to execute a first management task that can be executed by the first in-band management module through the first in-band management module in the case that the in-band management task includes the first management task; and a second starting module configured to start an operating system of the computing device through the BIOS in the case that the in-band management task is all the first management task and the first management task is executed by the first in-band management module.
[0025] In a possible implementation, the apparatus further includes a third starting module, a second executing module, and a restarting module; the third starting module is configured to start a second in-band management module through the BIOS in a case where the in-band management task includes a second management task that the first in-band management module is unable to execute; the second executing module is configured to execute the second management task through the second in-band management module; and the restarting module is configured to execute a restarting operation through the BIOS after the second management task is executed, and start an operating system of the computing device after the computing device is restarted.
[0026] In another possible implementation, the obtaining module is specifically configured to obtain, by the first in-band management module, the in-band management task input by a user through a baseboard management control module.
[0027] In yet another possible implementation, the obtaining module is specifically configured to mount a file partition of the second in-band management module into the BIOS through the first in-band management module, and obtain the in-band management task from the file partition of the second in-band management module; or obtain the in-band management task from the file partition of the second in-band management module through the first in-band management module based on a preset communication command; or obtain the in-band management task from the file partition of the second in-band management module through the first in-band management module based on a preset communication interface; wherein the in-band management task in the file partition of the second in-band management module is stored through the baseboard management control module.
[0028] In yet another possible implementation, the obtaining module is specifically configured to send, by the first in-band management module, the preset communication command to the baseboard management control module, so that the baseboard management control module obtains the in-band management task from the file partition of the second in-band management module in response to the preset communication command, and sends the in-band management task to the first in-band management module based on the preset communication command; and the first in-band management module receives the in-band management task.
[0029] In yet another possible implementation, the apparatus further includes a display module; the display module is configured to display a first interface corresponding to the first in-band management module in response to a trigger instruction of a first key; or display a second interface corresponding to the BIOS in response to a trigger instruction of a second key, and display the first interface in response to a trigger operation of a target control in the second interface.
[0030] In yet another possible implementation, the display module is further configured to display the second interface corresponding to the BIOS after exiting the first interface.
[0031] In a further possible implementation, the obtaining module is specifically configured to: in response to the in-band management task input through the first interface, obtain the in-band management task through the first in-band management module.
[0032] In a further possible implementation, the first management task includes a patch installation task; the first execution module is specifically configured to: in a case where the in-band management task is the patch installation task that can be executed by the first in-band management module, obtain a patch file corresponding to the patch installation task; perform verification on the patch file through the first in-band management module to determine whether the patch file meets a preset security condition; in a case where the patch file meets the preset security condition, determine, through the first in-band management module, a target operating system corresponding to the patch installation task; store, through the first in-band management module, the patch file into a file partition corresponding to the target operating system, and add a task of installing the patch file in a startup item of the target operating system.
[0033] In a further possible implementation, the first management task includes an asset information collection task; the first execution module is specifically configured to: in a case where the in-band management task is the asset information collection task that can be executed by the first in-band management module, obtain, through the first in-band management module, asset information of a hardware device in the computing device by calling a device communication interface or an asset information collection tool corresponding to the hardware device; and write, through the first in-band management module, the asset information of the hardware device into a file partition corresponding to a second in-band management module.
[0034] In a third aspect, an embodiment of the present application further provides a computing device, including: a processor; a basic input and output system (BIOS) and a first in-band management module deployed in the computing device; the processor is configured to: start the BIOS, and start the first in-band management module through the BIOS; obtain an in-band management task through the first in-band management module; in a case where the in-band management task includes a first management task that can be executed by the first in-band management module, execute the first management task through the first in-band management module; and in a case where the in-band management task all are the first management task, and the first in-band management module has executed the first management task, start an operating system of the computing device through the BIOS.
[0035] In a possible implementation, the processor is specifically configured to: in a case where the in-band management task includes a second management task that cannot be executed by the first in-band management module, start a second in-band management module through the BIOS; execute the second management task through the second in-band management module; and after the second management task is executed, perform a restart operation through the BIOS, and start an operating system of the computing device after the computing device is restarted.
[0036] In another possible implementation, the computing device further includes an out-of-band management processor, and the computing device is deployed with a baseboard management control module and a second in-band management module, and the processor is specifically configured to: acquire, through the first in-band management module, the in-band management task input by a user through the baseboard management control module.
[0037] In yet another possible implementation, the processor is specifically configured to: mount a file partition of the second in-band management module to the BIOS through the first in-band management module, and acquire the in-band management task from the file partition of the second in-band management module; or acquire the in-band management task from the file partition of the second in-band management module through the first in-band management module based on a preset communication command; or acquire the in-band management task from the file partition of the second in-band management module through the first in-band management module based on a preset communication interface; and the in-band management task in the file partition of the second in-band management module is stored through the baseboard management control module.
[0038] In yet another possible implementation, the processor is specifically configured to: send the preset communication command to the baseboard management control module through the first in-band management module, so that the baseboard management control module acquires the in-band management task from the file partition of the second in-band management module in response to the preset communication command, and sends the in-band management task to the first in-band management module based on the preset communication command; and receive the in-band management task through the first in-band management module.
[0039] In yet another possible implementation, the processor is further configured to: in response to a trigger instruction of a first key, display a first interface corresponding to the first in-band management module; or in response to a trigger instruction of a second key, display a second interface corresponding to the BIOS, and in response to a trigger operation on a target control in the second interface, display the first interface.
[0040] In yet another possible implementation, the processor is further configured to: after exiting the first interface, display the second interface corresponding to the BIOS.
[0041] In a further possible implementation, the processor is specifically configured to: in response to the in-band management task input through the first interface, acquire the in-band management task through the first in-band management module.
[0042] In a further possible implementation, the first management task includes a patch installation task; and the processor is specifically configured to: in a case where the in-band management task is the patch installation task that can be executed by the first in-band management module, acquire a patch file corresponding to the patch installation task; perform verification on the patch file through the first in-band management module to determine whether the patch file satisfies a preset security condition; and in a case where the patch file satisfies the preset security condition, determine a target operating system corresponding to the patch installation task through the first in-band management module; store the patch file into a file partition corresponding to the target operating system through the first in-band management module, and add a task of installing the patch file in a startup item of the target operating system.
[0043] In a further possible implementation, the first management task includes an asset information collection task; and the processor is specifically configured to: in a case where the in-band management task is the asset information collection task that can be executed by the first in-band management module, acquire asset information of a hardware device through the first in-band management module by invoking a device communication interface or an asset information collection tool corresponding to the hardware device in the computing device; and write the asset information of the hardware device into a file partition corresponding to a second in-band management module through the first in-band management module.
[0044] In a fourth aspect, an embodiment of the present application provides a chip, which is used to execute the method in any one of the first aspect.
[0045] In a fifth aspect, an embodiment of the present application provides a computer readable storage medium, which stores computer execution instructions, and the computer execution instructions are executed by a computer to implement the method in any one of the first aspect.
[0046] In a sixth aspect, an embodiment of the present application provides a program product, which includes a computer program, and the computer program is executed by a processor to implement the method in any one of the first aspect. BRIEF DESCRIPTION OF DRAWINGS
[0047] Figure 1 A schematic diagram of a computing device provided by an embodiment of the present application;
[0048] Figure 2 A flowchart of a management method of a computing device provided by an embodiment of the present application;
[0049] Figure 3A flowchart of acquiring an in-band management task provided by an embodiment of the present application;
[0050] Figure 4 A flowchart of acquiring an in-band management task provided by another embodiment of the present application;
[0051] Figure 5 A flowchart of a management method of a computing device provided by another embodiment of the present application;
[0052] Figure 6 A schematic diagram of performing a patch installation task provided by an embodiment of the present application;
[0053] Figure 7 A schematic diagram of performing a firmware upgrade task provided by an embodiment of the present application;
[0054] Figure 8 A schematic diagram of performing an asset information collection task provided by an embodiment of the present application;
[0055] Figure 9 A flowchart of a management method of a computing device provided by another embodiment of the present application;
[0056] Figure 10 A flowchart of a management method of a computing device provided by another embodiment of the present application;
[0057] Figure 11 A schematic diagram of a management apparatus of a computing device provided by an embodiment of the present application;
[0058] Figure 12 A schematic diagram of a computing device provided by another embodiment of the present application. DETAILED DESCRIPTION
[0059] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In order to clearly describe the technical solutions in the embodiments of the present application, the first, second, etc. descriptions in the embodiments of the present application are only used for indicating and distinguishing the description objects, and do not have the order, nor represent the special limitation of the number of devices in the embodiments of the present application, and cannot constitute any limitation on the embodiments of the present application.
[0060] The computing device management method provided in this application embodiment can be applied to computing devices, which can be servers or terminal devices. Using the computing device management method provided in this application embodiment, an in-band management module with partial in-band management functions (hereinafter referred to as the first in-band management module) can be called through the BIOS. When the first in-band management module can independently complete in-band management tasks, the computing device can enter the operating system without restarting, thereby improving the convenience of computing device management and enabling users to be unaware of the management task execution process.
[0061] Figure 1 A schematic diagram of a computing device provided in an embodiment of this application, such as... Figure 1 As shown, the computing device 100 includes an out-of-band management processor 110 and a processor 120. The processor 120 is configured on the motherboard of the computing device 100, and the out-of-band management processor 110 can be connected to the motherboard via a communication interface. The communication interface may include a peripheral component interconnect express (PCIe) interface, an intelligent platform management interface (IPMI), a universal serial bus (USB) interface, an enhanced serial peripheral interface (eSPI), etc., but this embodiment does not limit the specific type of interface.
[0062] The out-of-band management processor 110 can also be referred to as a baseboard management controller (BMC) chip, and is configured to implement out-of-band management of the computing device 100 based on a baseboard management control module. The baseboard management control module can be an intelligent baseboard management controller (iBMC) module. The processor 120 can be a central processing unit (CPU), and is configured to implement in-band management of the computing device 100 through a first in-band management module and an in-band management module with complete in-band management functions (hereinafter referred to as a second in-band management module). It can be understood that the out-of-band management and the in-band management are respectively implemented through different channels to manage the computing device. The in-band management refers to performing in-band management tasks on the computing device using the same network channel as that used to transmit service data. The in-band management task refers to a management operation performed through a service network channel under the premise that the operating system and network functions of the computing device are normally running. The out-of-band management refers to performing out-of-band management tasks on the computing device using a network channel different from that used to transmit service data. The channel is physically or logically completely separated from the service network and is specially used for device management, diagnosis and emergency access. The out-of-band management task refers to a bottom-layer maintenance and repair operation performed through independent management hardware and channels without relying on the operating system and the service network of the computing device.
[0063] The second in-band management module can be a complete in-band management program, and the first in-band management module can be part of the complete in-band management program. The first in-band management module and the second in-band management module can both independently complete corresponding in-band management tasks. For example, the first in-band management module can be built into the BIOS. Alternatively, the first in-band management module can be a plug-in of the BIOS. For example, the first in-band management module can also be a module independent of the BIOS. After the BIOS is started, the first in-band management module can be started by calling a function or an application programming interface (API).
[0064] For example, the second in-band management module can be stored in the second memory. Alternatively, the second in-band management module can also be stored in a USB device (such as a U disk). Thus, the USB device can be connected to the computing device 100 to mount the second in-band management module to the processor 120 in a mirror mode.
[0065] When the computing device 100 is powered on, the processor 120 can invoke the BIOS program in the first memory and run the first in-band management module based on the BIOS. The first memory can be a BIOS chip, such as a NAND (not and) flash memory or a NOR (not or) flash memory, for storing the BIOS and the first in-band management module. The processor 120 is connected to the first memory, and the processor 120 and the first memory are configured on a mainboard of the computing device 100. The first memory is a non-volatile storage medium, and can ensure that the data stored therein is not lost after the computing device 100 is powered off. After the first in-band management module is started, if there is an in-band management task to be executed, the processor 120 executes the in-band management task through the first in-band management module. The in-band management task can include a firmware upgrade, a patch installation, a RAID configuration, a hard disk erasure, a log collection, a hardware detection, an operating system deployment, and the like.
[0066] After the computing device 100 is powered on, the out-of-band management processor 110 can start the baseboard management control module in the second memory, so that the user can input the in-band management task to the baseboard management control module through the API provided by the baseboard management control module. The out-of-band management processor 110 is connected to the second memory. The second memory can be a NAND (not and) flash memory or a NOR (not or) flash memory. The second memory is a non-volatile storage medium, and can ensure that the data stored therein is not lost after the computing device 100 is powered off. The API provided by the baseboard management control module can include a Redfish function interface, an IPMI function interface, and the like. After the first in-band management module is started, the processor 120 can obtain the in-band management task input by the user through the baseboard management control module, and execute the in-band management task based on the first in-band management module.
[0067] After the computing device 100 is powered on, the user can also input the in-band management task to the first in-band management module through the user interface provided by the BIOS and the first in-band management module. The processor 120 can directly execute the in-band management task based on the first in-band management module. After the first in-band management module is started, the processor 120 can also automatically execute the preset in-band management task, such as asset information collection, hardware scanning, fault detection, and the like, through the first in-band management module.
[0068] The first in-band management module can determine the in-band management tasks that can be executed (hereinafter referred to as first management tasks) in the in-band management tasks when performing the in-band management tasks. For example, the first management tasks can include asset information collection, hardware scanning, fault detection, and patch installation tasks; the first management tasks can also include firmware upgrade, RAID configuration, hard disk erasing, log collection, hardware detection, and operating system deployment tasks respectively corresponding to partial tasks.
[0069] If the first in-band management module can execute all the in-band management tasks (i.e., the first management tasks are the in-band management tasks), the processor 120 can execute the first management tasks through the first in-band management module and obtain the task execution results. After the first in-band management module completes the execution of all the in-band management tasks, the processor 120 can directly start the operating system of the computing device 100 through the BIOS.
[0070] If the first in-band management module cannot execute all the in-band management tasks, i.e., there are in-band management tasks (hereinafter referred to as second management tasks) in the in-band management tasks that the first in-band management module cannot execute, after the first in-band management module completes the execution of the first management tasks, the processor 120 can start the second in-band management module based on the BIOS, execute the second management tasks based on the second in-band management module, and obtain the task execution results. After the second in-band management module completes the execution of all the in-band management tasks, the processor 120 can perform a reset restart operation on the computing device 100, and start the operating system of the computing device 100 through the BIOS after the computing device 100 is restarted.
[0071] Through the above scheme, when executing the in-band management tasks, the first in-band management module can be used to execute the in-band management tasks first, so that in the case that the first in-band management module can complete the execution of all the in-band management tasks, the operating system of the computing device can be directly started through the BIOS, without the need to perform a reset restart operation on the computing device, thereby improving the overall efficiency of the management task execution, and the user does not need to perceive the execution process of the task.
[0072] Figure 2 A flowchart of a management method of a computing device provided by an embodiment of the present application is shown in FIG. 2. Figure 2 The method includes steps 210 to 240.
[0073] In step 210, the basic input / output system (BIOS) is started, and the first in-band management module is started through the BIOS.
[0074] In some embodiments, when the computing device is powered on, the BIOS in the first memory can be invoked by the processor, the BIOS invokes the first in-band management module to run after being started, and whether there is an in-band management task to be executed is determined by the first in-band management module. If there is an in-band management task to be executed, the in-band management task is executed based on the first in-band management module.
[0075] In step 220, the in-band management task is obtained by the first in-band management module.
[0076] In some embodiments, the in-band management task can be issued by the user through the baseboard management control module. For example, the user can issue the in-band management task to the baseboard management control module through the Redfish, IPMI, etc. API interface of the baseboard management control module. The first in-band management module can obtain the in-band management task through the baseboard management control module and execute it.
[0077] Alternatively, the in-band management task can also be issued by the user through the user interface of the BIOS and the first in-band management module. For example, the user can enter the user interface (hereinafter referred to as the first interface) of the first in-band management module through the BIOS, and issue the in-band management task to the first in-band management module through the first interface, so that the first in-band management module executes the in-band management task.
[0078] Alternatively, the in-band management task can also be a preset in-band management task in the first in-band management module, such as asset information collection, hardware scanning, fault detection, etc. The first in-band management module can automatically execute the preset in-band management task after being started.
[0079] In step 230, when the in-band management task includes a first management task that can be executed by the first in-band management module, the first management task is executed by the first in-band management module.
[0080] In some embodiments, after obtaining the in-band management task, the first in-band management module can determine the first management task that can be executed in the in-band management task. If the in-band management task includes a first management task that can be executed by the first in-band management module, the processor executes the first management task based on the first in-band management module, and obtains a task execution result.
[0081] In step 240, when the in-band management task is all the first management task, and the first in-band management module executes the first management task, the operating system of the computing device is started by the BIOS.
[0082] In some embodiments, if all the in-band management tasks can be executed based on the first in-band management module, i.e., the in-band management tasks are all the first management tasks, the first in-band management module can send information of completion of task execution to the BIOS and release the control right to the BIOS. Thus, after the BIOS receives the information of completion of task execution, the BIOS can boot the operating system of the computing device based on the BIOS. Illustratively, after the first in-band management module obtains the task execution result, the first in-band management module can feed back the task execution result to the baseboard management control module, so that the baseboard management control module obtains the execution result of the in-band management task.
[0083] Through the above scheme, the first in-band management module is started by the BIOS to execute the in-band management task, so that if the first in-band management module can independently execute the in-band management task, the computing device does not need to be restarted to boot the operating system of the computing device based on the BIOS, thereby the execution efficiency of the management task execution can be improved, and the user can be unaware of the execution process of the management task.
[0084] Figure 3 A flowchart for obtaining an in-band management task provided by an embodiment of the present application is shown in FIG. 3. As shown in FIG. 3, the step 220 includes steps 310 to 320. Figure 3
[0085] In step 310, the baseboard management control module obtains the in-band management task input by the user.
[0086] In some embodiments, the baseboard management control module can obtain the in-band management task input by the user through an API interface. It can be understood that the manner of obtaining the in-band management task by the baseboard management control module can refer to the description of the above-described embodiments, which will not be described herein again. Figure 1
[0087] In step 320, the first in-band management module obtains the in-band management task based on the baseboard management control module.
[0088] In some embodiments, the file partition of the second in-band management module is used to store the system files and the in-band management task of the second in-band management module. The in-band management task can be stored in a preset directory corresponding to the file partition of the second in-band management module. Illustratively, the file partition of the second in-band management module can be mounted to the file partition of the baseboard management control module, so that the baseboard management control module can identify and access the file partition of the second in-band management module. After obtaining the in-band management task, the baseboard management control module can access the file partition of the second in-band management module and store the in-band management task in the preset directory corresponding to the file partition of the second in-band management module.
[0089] Then, the first in-band management module can mount the file partition of the second in-band management module into the BIOS through the USB interface, so as to simulate the file partition of the second in-band management module as a USB storage device and access the file partition of the second in-band management module, so that the first in-band management module can read the file partition of the second in-band management module and obtain the in-band management task therefrom.
[0090] In some embodiments, in addition to obtaining the in-band management task through the file partition of the second in-band management module, the first in-band management module can also obtain the in-band management task through a preset communication command or a preset communication interface. The preset communication command can include a simple network management protocol (SNMP) command, a hypertext transfer protocol secure (HTTPS) command, etc., and the preset communication interface can include an IPMI interface and a PCIe interface.
[0091] For example, the processor can send an SNMP command or an HTTPS command to the out-of-band management processor through network transmission, so that the out-of-band management processor obtains the in-band management task from the file partition of the second in-band management module through the baseboard management control module in response to the SNMP command or the HTTPS command. After the out-of-band management processor obtains the in-band management task, the processor can send the in-band management task to the processor based on the SNMP command or the HTTPS command, so that the processor obtains the in-band management task through the first in-band management module.
[0092] Alternatively, the processor can send an IPMI command to the out-of-band management processor through the IPMI interface, so that the out-of-band management processor obtains the in-band management task from the file partition of the second in-band management module through the baseboard management control module in response to the IPMI command. After the out-of-band management processor obtains the in-band management task, the processor can send the in-band management task to the processor based on the IPMI command, so that the processor obtains the in-band management task through the first in-band management module.
[0093] Alternatively, the processor can send a task acquisition request to the out-of-band management processor through the PCIe channel, so that the out-of-band management processor obtains the in-band management task from the file partition of the second in-band management module through the baseboard management control module in response to the task acquisition request. After the out-of-band management processor obtains the in-band management task, the processor can send the in-band management task to the processor through the PCIe channel, so that the processor obtains the in-band management task through the first in-band management module. Since the PCIe channel is a high-speed bus channel, transmitting data through the PCIe channel can improve the transmission efficiency of the in-band management task.
[0094] Through the above scheme, the user can issue an in-band management task to the processor through the out-of-band management processor to realize the out-of-band management function of the computing device through the in-band management module. Moreover, the in-band management task obtained from the out-of-band management processor can be obtained in different ways, such as through mounting a file partition of the second in-band management module, a communication command, or a PCIe channel, so that the optimal acquisition mode can be selected according to different scenarios such as data size, security requirements, and the like.
[0095] Figure 4 Another flowchart for obtaining an in-band management task provided by an embodiment of the present application is shown in FIG. 4, and the step 220 includes steps 410 to 420. Figure 4
[0096] In step 410, in response to an instruction for entering a first interface corresponding to the first in-band management module, the first interface is displayed.
[0097] In some embodiments, in the process of starting the computing device, the processor calls and starts the BIOS in the first memory; after being started, the BIOS runs the first in-band management module. In this process, the user can enter the interface (i.e., the first interface) of the first in-band management module by triggering the first key of the external device connected to the computing device in the process of starting the computing device. The external device can be a keyboard, a mouse, or the like; the first key is determined according to the manufacturer and model of the computing device, which is not limited in this embodiment.
[0098] Alternatively, in the process of starting the computing device, the user can enter the user interface (i.e., the second interface) of the BIOS by triggering the second key in the external device. The second key is determined according to the manufacturer and model of the computing device, which is not limited in this embodiment; the first key and the second key are different keys. In the BIOS interface, the user can input a configuration instruction for a hardware device in the computing device, such as a configuration instruction for the parameters of the CPU frequency, the memory voltage, the memory timing, the fan speed, and the like in the computing device, to enable the processor to respond to the configuration instruction and adjust the parameters of the corresponding hardware device based on the configuration instruction. After the user inputs the configuration instruction, the processor can respond to the operation of the user for exiting the BIOS interface and restart, and then enter the operating system based on the BIOS. If the user does not input the configuration instruction in the BIOS interface, the processor can directly enter the operating system based on the BIOS. In the BIOS interface, the user can trigger a menu control (i.e., a target control) for displaying the user interface of the first in-band management module, to enable the processor to respond to the triggering operation of the target control and display the user interface of the first in-band management module.
[0099] Exemplarily, the user can also trigger a menu control for exiting the first interface in the user interface of the first in-band management module, so as to exit the first interface and display the second interface (i.e., the BIOS interface) in response to the menu control being triggered, thereby realizing switching between the BIOS interface and the interface of the first in-band management module.
[0100] Exemplarily, in the process of starting the computing device, if the user does not trigger the operation of entering the first interface or the second interface, the processor directly enters the operating system based on the BIOS.
[0101] In step 420, the in-band management task is acquired by the first in-band management module in response to the in-band management task input through the first interface.
[0102] In some embodiments, in the interface of the first in-band management module, the user can issue an in-band management task to the first in-band management module, so that the first in-band management module acquires the in-band management task and executes the first management task therein. In this case, the first in-band management module can directly acquire the in-band management task issued by the user without acquiring through the baseboard management control module.
[0103] Through the above scheme, the user can also issue an in-band management task to the first in-band management module through the interface of the first in-band management module; and the computing device can flexibly switch between the BIOS interface and the interface of the first in-band management module, without the need to perform a restart operation in the process, thereby improving the ease of use of the first in-band management module.
[0104] Figure 5 Another flowchart of a management method of a computing device provided by an embodiment of the present application is shown in FIG. 5. Figure 5 After step 230, the above method further includes steps 510 to 530.
[0105] In step 510, the second in-band management module is started through the BIOS in a case where the in-band management task includes a second management task that cannot be executed by the first in-band management module.
[0106] In some embodiments, after the first in-band management module acquires the in-band management task, if the first in-band management module cannot execute all the in-band management tasks, i.e., the in-band management task includes a first management task that can be executed by the first in-band management module and a second management task that cannot be executed by the first in-band management module, the processor can start the second in-band management module through the BIOS, so that the second in-band management module executes the remaining second management task.
[0107] Exemplarily, in the case that the in-band management task includes a second management task, the processor can acquire the second management task through the second in-band management module; then, the processor can read a boot file in a file partition of the second in-band management module through the BIOS, and load the boot file to run the second in-band management module in the processor.
[0108] Exemplarily, if the in-band management task is issued by the user through the out-of-band management processor, the processor can send a task execution result of the first management task to the baseboard management control module through the first in-band management module; then, the out-of-band management processor determines a second management task that is not executed in the in-band management task based on the task execution result through the baseboard management control module; then, the out-of-band management processor can read the second management task from the baseboard management control module through the second in-band management module.
[0109] Exemplarily, if the in-band management task is issued by the user through the user interface of the first management module, the processor can mount a file partition of the second in-band management module to the BIOS through the first in-band management module, and store the second management task that is not executed in the file partition of the second in-band management module, so that the second in-band management module acquires the second management task.
[0110] Step 520, executing the second management task through the second in-band management module.
[0111] Then, the processor can execute the second management task through the second in-band management module. Since the second in-band management module is a complete in-band management program and can realize complete in-band management functions, the execution of the second management task can be completed through the second in-band management module.
[0112] Step 530, executing a reboot operation through the BIOS after the execution of the second management task is completed, and starting an operating system of the computing device after the computing device is rebooted.
[0113] In some embodiments, after the second in-band management module executes the second management task, the second in-band management module can send a reboot instruction to an operating system in the computing device, so that the processor executes the reboot instruction. After the computing device is rebooted, the processor starts the operating system through the BIOS.
[0114] Through the above scheme, if the first in-band management module cannot independently execute the in-band management task, the second in-band management module system is further started to execute the remaining management task, so that through the two-level task execution structure, it can be ensured that all types of in-band management tasks can be successfully executed.
[0115] The following takes the in-band management task as an example to illustrate the management method of the computing device.
[0116] Referring to Figure 6 As shown in a schematic diagram of performing a patch installation task, Figure 6 As shown, the user can configure the patch installation task and the patch file through a preset configuration tool in another computing device, and send the patch installation task and the patch file to the computing device in which the baseboard management control module is deployed through the preset configuration tool in a network transmission manner. Then, the out-of-band management processor can write the patch installation task and the patch file into the file partition corresponding to the second in-band management module through the baseboard management control module. After the first in-band management module is started, the computing device obtains the patch installation task and the patch file through the baseboard management control module. It can be understood that the manner of obtaining the patch installation task and the patch file can refer to the description of step 320, which will not be described here.
[0117] After the first in-band management module obtains the patch file, the first in-band management module can first verify the patch file to determine whether the patch file meets a preset security condition. The preset security condition can be that the digital signature of the patch file is legal. If the preset security condition is not met, the first in-band management module can delete the patch installation task and the patch file, and feed back task failure information to the preset configuration tool through the baseboard management control module.
[0118] If the preset security condition is met, the first in-band management module can scan the hard disk in the computing device based on the patch installation task to find a target operating system corresponding to the patch installation task, and store the patch file in the file partition corresponding to the target operating system. And the first in-band management module can add a task of installing the patch file in the startup item of the target operating system.
[0119] Then, the first in-band management module can feed back the task execution result of the management patch installation task to the BIOS, that is, feed back to the BIOS that the task of installing the patch file has been added in the startup item of the target operating system. Then, after the BIOS determines that the first in-band management module completes the patch installation task based on the task execution result, the target operating system of the computing device is started through the BIOS. After the target operating system is started, the computing device can execute the task of installing the patch file configured in the startup item, and read and install the patch file in the file partition corresponding to the target operating system.
[0120] Through the above scheme, in the case that the first in-band management module can perform all patch installation tasks, the patch installation task does not need to be performed based on the second in-band management module, so that after the patch installation task is executed, the second in-band management module does not need to be exited and the computing device is restarted, and the operating system of the computing device can be directly entered through the BIOS to reduce the execution time length of the patch installation task, and the user does not need to perceive the process of patch installation.
[0121] The management method of the computing device is exemplarily described below taking the in-band management task as the firmware upgrade task.
[0122] Reference Figure 7 As shown in a schematic diagram of performing a firmware upgrade task, Figure 7 As shown, the user can configure the firmware upgrade task and the firmware upgrade file through a preset configuration tool in the computing device, and send the firmware upgrade task and the firmware upgrade file to the computing device in which the baseboard management control module is deployed through the preset configuration tool in a network transmission manner. Then, the out-of-band management processor can write the firmware upgrade task and the firmware upgrade file into the file partition corresponding to the second in-band management module through the baseboard management control module. After the first in-band management module is started, the computing device obtains the firmware upgrade task and the firmware upgrade file through the baseboard management control module. It can be understood that the manner of obtaining the firmware upgrade task and the firmware upgrade file can refer to the description of step 320, which will not be described here.
[0123] After the first in-band management module obtains the firmware upgrade file, the first in-band management module can first verify the firmware upgrade file to determine whether the firmware upgrade file meets a preset security condition. The preset security condition can be that the digital signature of the firmware upgrade file is legal. If the preset security condition is not met, the first in-band management module can delete the firmware upgrade task and the firmware upgrade file, and feed back task failure information to the preset configuration tool through the baseboard management control module.
[0124] If the preset security condition is met, the first in-band management module can determine a first hardware device corresponding to a first upgrade task in the computing device based on the first upgrade task capable of being executed in the firmware upgrade task, and install the firmware upgrade file of the first hardware device according to the device communication interface or the firmware upgrade tool provided by the first hardware device, to upgrade the firmware in the first hardware device.
[0125] If the first in-band management module can perform all the firmware upgrade tasks (i.e., all the firmware upgrade tasks are first upgrade tasks), the second in-band management module does not need to be invoked; if the firmware upgrade tasks include a firmware upgrade task (hereinafter referred to as a second upgrade task) that the first in-band management module cannot perform, the second in-band management module can be started based on the BIOS to enable the second in-band management module to perform the second upgrade task, such as determining a second hardware device corresponding to the second upgrade task in the computing device and invoking a device communication interface or a firmware upgrade tool provided by the second hardware device to install a firmware upgrade file of the second hardware device to upgrade firmware in the second hardware device.
[0126] After all the firmware upgrade tasks are performed by the first in-band management module, a firmware activation manner can be obtained from the firmware upgrade package by the first in-band management module. If the firmware activation manner is immediate activation, i.e., the firmware is activated immediately after the firmware upgrade file is installed, the operating system of the computing device can be started directly by the BIOS; if the firmware activation operation is to restart or power off the computing device, i.e., the firmware can be activated only after the computing device is restarted or powered off after the firmware upgrade file is installed, the first in-band management module can send a restart instruction or a power-off instruction to the operating system to enable the processor to perform a restart or power-off operation on the computing device in response to the restart instruction or the power-off instruction.
[0127] After all the firmware upgrade tasks are performed by the second in-band management module, a firmware activation manner can be obtained from the firmware upgrade package by the second in-band management module. If the firmware activation manner is immediate activation, the second in-band management module can send a restart instruction to the operating system to enable the processor to perform a restart operation on the computing device in response to the restart instruction; if the firmware activation operation is to restart or power off the computing device, the second in-band management module can send a restart instruction or a power-off instruction to the operating system to enable the processor to perform a restart or power-off operation on the computing device in response to the restart instruction or the power-off instruction.
[0128] Through the scheme, in the case that the first in-band management module can perform all the firmware upgrade tasks, the second in-band management module does not need to be used to perform the firmware upgrade tasks, thereby being able to reduce the execution time length of the firmware upgrade tasks and the user not needing to perceive the process of the firmware upgrade.
[0129] The management method of the computing device is exemplarily described below by taking an in-band management task as an asset information collection task.
[0130] Reference Figure 8 FIG. 1 shows a schematic diagram of an asset information collection task performed by the computing device, and FIG. 2 shows a schematic diagram of an asset information collection task performed by the computing device. Figure 8As shown, after the BIOS starts and runs the first in-band management module, the processor automatically executes the asset information collection task through the first in-band management module. Illustratively, the processor can acquire and load the driver corresponding to the hardware device (such as a RAID card, a network card, an FC card, etc.) in the computing device from the BIOS system through the first in-band management module, and can acquire the corresponding hardware information (i.e., asset information) according to the device communication interface or asset information collection tool provided by the different hardware devices. The asset information can include BDF, four-tuple, device model, firmware version, device serial number, device part number, etc. The BDF refers to the bus (Bus) number, device (Device) number, and function (Function) number of the hardware device; the four-tuple includes the manufacturer code, device code, sub-manufacturer code, and sub-device code of the hardware device. Then, the asset information of the computing device can be stored in a preset format (such as json format) through the first in-band management module.
[0131] Subsequently, the processor can write the asset information into the file partition corresponding to the second in-band management module through the first in-band management module, so that the baseboard management control module can manage the life cycle of the computing device based on the asset information. Illustratively, the processor can mount the file partition of the second in-band management module to the BIOS through the first in-band management module, and write the asset information into the file partition corresponding to the second in-band management module. Alternatively, the processor can also send the asset information to the out-of-band management processor through IPMI, SNMP or HTTPS commands, so that the out-of-band management processor acquires the asset information through the baseboard management control module in response to the IPMI, SNMP or HTTPS commands, and writes the asset information into the file partition of the second in-band management module. Alternatively, the processor can also send the asset information to the out-of-band management processor through the PCIe channel, so that the out-of-band management processor acquires the asset information through the baseboard management control module, and writes the asset information into the file partition of the second in-band management module. Since the PCIe channel is a high-speed bus channel, transmitting data through the PCIe channel can improve the transmission efficiency of the asset information. After the asset information collection task is executed through the first in-band management module, the operating system of the computing device can be directly entered through the BIOS.
[0132] Through the above scheme, the asset information collection task can be automatically executed based on the first in-band management module, without calling the second in-band management module for execution, so that after the asset information collection task is executed, the second in-band management module does not need to be exited and the computing device does not need to be restarted, and the operating system of the computing device can be directly entered based on the BIOS, so as to reduce the execution time of the asset information collection task, and the user does not need to perceive the process of asset information collection.
[0133] It should be noted that Figure 6 to Figure 8 The in-band management tasks that can be performed by the first in-band management module and the second in-band management module shown in the above embodiments are only illustrative, and in actual applications, the functions of the first in-band management module and the second in-band management module can be configured according to specific in-band management tasks, and the embodiments are not limited in this regard.
[0134] Figure 9 Another flowchart of a management method of a computing device is provided in the embodiments of the present application, which is used to implement triggering of a BIOS interface and an SP-BIOS interface, and switching between the BIOS interface and the SP-BIOS interface; as shown in Figure 9 The method includes steps 901 to 914.
[0135] In step 901, the computing device is powered on, and the BIOS is started.
[0136] It can be understood that the implementation of step 901 can refer to the description of step 410, and will not be repeated here.
[0137] In step 902, the first in-band management module is started by the BIOS.
[0138] It can be understood that the implementation of step 902 can refer to the description of step 410, and will not be repeated here.
[0139] In step 903, it is determined whether the second key is triggered.
[0140] Illustratively, if the second key is triggered, step 904 is performed; if the second key is not triggered, step 907 is performed. It can be understood that the implementation of step 903 can refer to the description of step 410, and will not be repeated here.
[0141] In step 904, if the second key is triggered, the BIOS interface is displayed.
[0142] It can be understood that the implementation of step 904 can refer to the description of step 410, and will not be repeated here.
[0143] In step 905, the BIOS interface is exited.
[0144] It can be understood that the implementation of step 913 can refer to the description of step 410, and will not be repeated here.
[0145] In step 906, it is determined whether the configuration is changed.
[0146] It can be understood that the implementation of step 906 can refer to the description of step 410, and will not be repeated here.
[0147] Step 907, if the second button is not triggered, determine whether the first button is triggered.
[0148] Illustratively, if the first button is triggered, perform step 908; if the first button is not triggered, perform step 914. It can be understood that the implementation of step 907 can refer to the description of step 410, and will not be described here.
[0149] Step 908, display the interface of the first in-band management module.
[0150] It can be understood that the implementation of step 908 can refer to the description of step 410, and will not be described here.
[0151] Step 909, exit the interface of the first in-band management module.
[0152] Illustratively, after exiting the interface of the first in-band management module, perform step 904. It can be understood that the implementation of step 909 can refer to the description of step 410, and will not be described here.
[0153] Step 910, in response to the in-band management task issuing operation, perform the first management task through the first in-band management module.
[0154] It can be understood that the implementation of step 910 can refer to the description of step 420, and will not be described here.
[0155] Step 911, determine whether the second in-band management module needs to be started.
[0156] It can be understood that the implementation of step 911 can refer to the description of steps 230 and 510, and will not be described here.
[0157] Step 912, if the second in-band management module needs to be started, start the second in-band management module through the BIOS, and perform the second management task through the second in-band management module.
[0158] It can be understood that the implementation of step 912 can refer to the description of steps 510 and 520, and will not be described here.
[0159] Step 913, perform a restart operation.
[0160] It can be understood that the implementation of step 913 can refer to the description of step 410 or step 530, and will not be described here.
[0161] Step 914, enter the operating system of the computing device through the BIOS.
[0162] It can be understood that the implementation of step 914 can refer to the description of step 240, step 410 or step 530, which will not be repeated here.
[0163] Figure 10 A flowchart of another management method of a computing device is provided for the embodiments of the present application, for implementing performing an in-band management task through a first in-band management module, or performing an in-band management task through the first in-band management module and a second in-band management module; as shown in the figure, the method comprises steps 1010 to 1090. Figure 10
[0164] Step 1010, the computing device is powered on, and the BIOS is started.
[0165] It can be understood that the implementation of step 1010 can refer to the description of step 410, which will not be repeated here.
[0166] Step 1020, starting the first in-band management module through the BIOS.
[0167] It can be understood that the implementation of step 1020 can refer to the description of step 410, which will not be repeated here.
[0168] Step 1030, determining whether there is an in-band management task to be executed.
[0169] It can be understood that the implementation of step 1030 can refer to the description of step 210, which will not be repeated here.
[0170] Step 1040, if there is an in-band management task to be executed, obtaining the in-band management task based on the baseboard management control module through the first in-band management module, and executing the first management task.
[0171] It can be understood that the implementation of step 1040 can refer to the description of step 220, which will not be repeated here.
[0172] Step 1050, determining whether the second in-band management module needs to be started.
[0173] It can be understood that the implementation of step 1050 can refer to the description of step 230 and step 510, which will not be repeated here.
[0174] Step 1060, if the second in-band management module needs to be started, starting the second in-band management module through the BIOS.
[0175] It can be understood that the implementation of step 1060 can refer to the description of step 510, which will not be repeated here.
[0176] Step 1070, executing the second management task through the second in-band management module.
[0177] It can be understood that the implementation of step 1070 can refer to the description of step 520, which will not be repeated here.
[0178] Step 1080, performing a restart operation through the second in-band management module.
[0179] It can be understood that the implementation of step 1080 can refer to the description of step 530, which will not be repeated here.
[0180] Step 1090, starting the operating system of the computing device through the BIOS.
[0181] It can be understood that the implementation of step 1090 can refer to the description of step 530, which will not be repeated here.
[0182] The technical solution of the present application starts the first in-band management module through the BIOS to perform the in-band management task based on the first in-band management module, so that if the first in-band management module can independently complete the in-band management task, the computing device does not need to restart to start the operating system of the computing device based on the BIOS, thereby improving the execution efficiency of the management task execution, and the user can be unaware of the execution process of the management task. If the first in-band management module cannot independently complete the in-band management task, the second in-band management module system is further started to execute the remaining management task, so that all types of in-band management tasks can be successfully executed. In addition, the computing device can flexibly switch between the BIOS interface and the interface of the first in-band management module, and no restart operation is required during this process, thereby improving the ease of use of the first in-band management module.
[0183] Figure 11 A schematic diagram of a management device of a computing device provided by an embodiment of the present application is shown. As shown in the figure, the management device of the computing device 1100 is configured in the computing device; the management device of the computing device 1100 includes a first starting module 1110, an acquisition module 1120, a first execution module 1130, and a second starting module 1140. Figure 11
[0184] The first starting module 1110 is configured to start the basic input and output system (BIOS) and start the first in-band management module through the BIOS.
[0185] The acquisition module 1120 is configured to acquire an in-band management task through the first in-band management module.
[0186] The first execution module 1130 is configured to execute the first management task through the first in-band management module in the case that the in-band management task includes a first management task that the first in-band management module can execute.
[0187] The second starting module 1140 is configured to start an operating system of the computing device through the BIOS in a case where the in-band management task is the first management task and the first in-band management module completes the first management task.
[0188] As shown in Figure 11 The management apparatus 1100 of the computing device further includes a third starting module 1150, a second execution module 1160, and a restarting module 1170.
[0189] In some embodiments, the third starting module 1150 is configured to start the second in-band management module through the BIOS in a case where the in-band management task includes a second management task that cannot be executed by the first in-band management module; the second execution module 1160 is configured to execute the second management task through the second in-band management module; and the restarting module 1170 is configured to execute a restarting operation through the BIOS after the execution of the second management task is completed, and start the operating system of the computing device after the computing device is restarted.
[0190] In some embodiments, the obtaining module 1120 is specifically configured to obtain the in-band management task from the baseboard management control module through the first in-band management module.
[0191] In some embodiments, the obtaining module 1120 is specifically configured to mount a file partition of the second in-band management module into the BIOS through the first in-band management module, and obtain the in-band management task from the file partition of the second in-band management module; or obtain the in-band management task from the file partition of the second in-band management module through the first in-band management module based on a preset communication command; or obtain the in-band management task from the file partition of the second in-band management module through the first in-band management module based on a preset communication interface; wherein the in-band management task in the file partition of the second in-band management module is stored through the baseboard management control module.
[0192] In some embodiments, the obtaining module 1120 is specifically configured to send a preset communication command to the baseboard management control module through the first in-band management module, so that the baseboard management control module obtains the in-band management task from the file partition of the second in-band management module in response to the preset communication command, and sends the in-band management task to the first in-band management module based on the preset communication command; and the first in-band management module receives the in-band management task.
[0193] As shown in Figure 11 The management apparatus 1100 of the computing device further includes a display module 1180.
[0194] In some embodiments, the display module 1180 is configured to: display a first interface corresponding to the first in-band management module in response to a trigger command of the first button; or display a second interface corresponding to the BIOS in response to a trigger command of the second button, and display the first interface in response to a trigger operation of a target control in the second interface.
[0195] In some embodiments, the display module 1180 is further configured to display the second interface corresponding to the BIOS after exiting the first interface.
[0196] In some embodiments, the acquisition module 1120 is specifically configured to: in response to an in-band management task input through a first interface, acquire the in-band management task through a first in-band management module.
[0197] In some embodiments, the first management task includes a patch installation task; the first execution module 1130 is specifically configured to: when the in-band management task is a patch installation task that the first in-band management module can execute, obtain the patch file corresponding to the patch installation task; verify the patch file through the first in-band management module to determine whether the patch file meets preset security conditions; when the patch file meets the preset security conditions, determine the target operating system corresponding to the patch installation task through the first in-band management module; store the patch file in the file partition corresponding to the target operating system through the first in-band management module, and add the task of installing the patch file to the boot items of the target operating system.
[0198] Figure 12 This is a schematic diagram of another computing device provided in some embodiments of this application. In some embodiments, the computing device may be a server, a terminal device, etc. The computing device includes a processor, an out-of-band management processor, a first memory, and a second memory. The first memory is configured to store a Basic Input / Output System (BIOS) and a first in-band management module; the second memory is configured to store a Baseboard Management Control (BMC) module and a second in-band management module. When the processor invokes the BIOS, the first in-band management module, and the second in-band management module, the processor implements the computing device management method in the above embodiments.
[0199] like Figure 12 As shown, the computing device 1200 includes: a processor 1201, an out-of-band management processor 1202, a first memory 1203, and a second memory 1204. Exemplarily, the computing device 1200 may also include: a communications interface 1205 and a communications bus 1206.
[0200] The processor 1201, the out-of-band management processor 1202, the first memory 1203, the second memory 1204, and the communication interface 1205 can communicate with each other through a communication bus 1206.
[0201] For example, the processor 1201 can be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to perform some embodiments of the present application.
[0202] Some embodiments of the present application provide a computer readable storage medium, which stores at least one executable instruction, when the executable instruction is executed on the computing device 1200, the computing device 1200 executes the management method of the computing device in the above embodiments.
[0203] The executable instruction can be specifically used to make the computing device 1200 execute the management method of the computing device.
[0204] For example, the computer readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0205] The beneficial effects that can be achieved by the readable storage medium provided by some embodiments of the present application can refer to the beneficial effects provided by the corresponding management method of the computing device, which will not be described here.
[0206] It should be noted that in the application, the relationship terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between the entities or operations. Moreover, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0207] Each of the various embodiments described in this specification are described with respect to one particular manner of implementation, and identical or similar parts between the various embodiments are cross-referenced. Each of the various embodiments focuses on the differences from the other embodiments. In particular, the device embodiments are described relatively simply, as they are substantially similar to the method embodiments, and reference is made to the relevant parts of the method embodiments.
[0208] The logic and / or steps represented in the flowcharts and / or otherwise described herein, for example, can be considered as a list of executable instructions for implementing logic functions, and can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor- containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions, or a combination of both.
[0209] For purposes of this specification, a "computer-readable medium" can be any apparatus that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
[0210] More specific examples (a non-exhaustive list) of the computer-readable medium include the following: an electrical connection (electronic) having one or more wires, a portable computer diskette (magnetic), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, and a portable compact disc read-only memory (CDROM).
[0211] In addition, the computer-readable medium can even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, for example, via an optical scanner, then compiled, interpreted, or otherwise processed, and stored in a computer memory in a form that allows a computer to execute the program. It will be understood that parts of this application can be implemented in hardware, software, firmware, or a combination thereof.
[0212] In the embodiments described above, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, and as in another embodiment, any of the following technologies known in the art, or a combination thereof, can be used: discrete logic circuitry having logic gates for implementing logic functions upon data signals, application specific integrated circuits having appropriate combinational logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA), and the like.
[0213] The above embodiments are merely specific embodiments of the present application and are not intended to limit the protection scope of the present application, and any modification, equivalent replacement, improvement, etc. made on the basis of the technical solutions of the present application shall be included in the protection scope of the present application.
Claims
1. A management method of a computing device, characterized by, The method comprises: starting a basic input output system (BIOS), and starting a first in-band management module through the BIOS; obtaining an in-band management task through the first in-band management module; in a case where the in-band management task comprises a first management task that the first in-band management module can perform, performing the first management task through the first in-band management module; in a case where the in-band management task is all the first management task, and the first in-band management module has completed the first management task, starting an operating system of the computing device through the BIOS.
2. The method of claim 1, wherein, After the first management task is performed through the first in-band management module, the method further comprises: in a case where the in-band management task comprises a second management task that the first in-band management module cannot perform, starting a second in-band management module through the BIOS; performing the second management task through the second in-band management module; after the second management task is completed, performing a restart operation through the BIOS, and starting the operating system of the computing device after the computing device is restarted.
3. The method according to claim 1 or 2, characterized in that, The obtaining of the in-band management task through the first in-band management module comprises: obtaining the in-band management task from a baseboard management controller module through the first in-band management module.
4. The method of claim 3, wherein, The obtaining of the in-band management task from the baseboard management controller module through the first in-band management module comprises: mounting a file partition of the second in-band management module into the BIOS through the first in-band management module, and obtaining the in-band management task from the file partition of the second in-band management module; or, obtaining the in-band management task from the file partition of the second in-band management module through the first in-band management module based on a preset communication command; or, obtaining the in-band management task from the file partition of the second in-band management module through the first in-band management module based on a preset communication interface; wherein the in-band management task in the file partition of the second in-band management module is stored through the baseboard management controller module.
5. The method of claim 4, wherein, The obtaining of the in-band management task from the file partition of the second in-band management module through the first in-band management module based on the preset communication command comprises: sending the preset communication command to the baseboard management controller module through the first in-band management module, so that the baseboard management controller module obtains the in-band management task from the file partition of the second in-band management module in response to the preset communication command, and sends the in-band management task to the first in-band management module based on the preset communication command; receiving the in-band management task through the first in-band management module.
6. The method according to any one of claims 1-5, characterized in that, The method further comprises: displaying a first interface corresponding to the first in-band management module in response to a trigger instruction of a first key; or displaying a second interface corresponding to the BIOS in response to a trigger instruction of a second key, and displaying the first interface in response to a trigger operation on a target control in the second interface.
7. The method of claim 6, wherein, The method further comprises: After exiting the first interface, a second interface corresponding to the BIOS is displayed.
8. The method of claim 6, wherein, The in-band management task obtained by the first in-band management module includes: In response to the in-band management task input through the first interface, the in-band management task is obtained by the first in-band management module.
9. The method according to any one of claims 1-8, characterized in that, The first management task includes a patch installation task; in the case that the in-band management task includes a first management task that can be executed by the first in-band management module, the first management task is executed by the first in-band management module, including: In the case that the in-band management task is the patch installation task that can be executed by the first in-band management module, a patch file corresponding to the patch installation task is obtained; The patch file is verified by the first in-band management module to determine whether the patch file meets a preset security condition; In the case that the patch file meets the preset security condition, a target operating system corresponding to the patch installation task is determined by the first in-band management module; The patch file is stored in a file partition corresponding to the target operating system by the first in-band management module, and a task of installing the patch file is added in a startup item of the target operating system.
10. A computing device, comprising: The computing device includes a processor; a basic input and output system (BIOS) and a first in-band management module are deployed in the computing device; The processor is configured to: start the BIOS, and start the first in-band management module through the BIOS; obtain an in-band management task through the first in-band management module; in the case that the in-band management task includes a first management task that can be executed by the first in-band management module, execute the first management task by the first in-band management module; in the case that the in-band management task is all the first management task, and the first in-band management module has executed the first management task, start an operating system of the computing device through the BIOS.