WO2022199335A1 - Method, apparatus and device for controlling firmware upgrade of server component, and storage medium - Google Patents

Method, apparatus and device for controlling firmware upgrade of server component, and storage medium Download PDF

Info

Publication number
WO2022199335A1
WO2022199335A1 PCT/CN2022/078490 CN2022078490W WO2022199335A1 WO 2022199335 A1 WO2022199335 A1 WO 2022199335A1 CN 2022078490 W CN2022078490 W CN 2022078490W WO 2022199335 A1 WO2022199335 A1 WO 2022199335A1
Authority
WO
WIPO (PCT)
Prior art keywords
firmware upgrade
server
component
upgraded
control device
Prior art date
Application number
PCT/CN2022/078490
Other languages
French (fr)
Chinese (zh)
Inventor
刘宝阳
王晓通
Original Assignee
山东英信计算机技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 山东英信计算机技术有限公司 filed Critical 山东英信计算机技术有限公司
Publication of WO2022199335A1 publication Critical patent/WO2022199335A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/658Incremental updates; Differential updates

Definitions

  • the present application relates to the technical field of servers, and in particular, to a method, apparatus, device and storage medium for controlling firmware upgrade of server components.
  • the implementation of the solution for upgrading firmware through the baseboard management controller is relatively complex, requiring not only the integration of the baseboard management controller and the interface for component firmware upgrade, but also a lot of compatibility work with the components, resulting in a huge workload for the compatible development of the baseboard management controller.
  • the baseboard management controller needs to continuously update the version and add the upgraded code logic of new components, which brings great challenges to the stability of the baseboard management controller of the server management unit and the operation and maintenance of the server. Due to the slow response to the demand of the client component firmware and the complex logic of the baseboard management controller code, the user experience is not good.
  • the purpose of the present application is to provide a control method, device, device and storage medium for firmware upgrade of server components, which are used to reduce the work pressure brought by the firmware upgrade management of server components to the baseboard management controller.
  • the present application provides a method for controlling firmware upgrade of server components, based on a control device provided in a server, the control device is pre-installed with an operating system and a firmware upgrade tool for components of the server, and the control device Methods include:
  • the firmware upgrade tool corresponding to the component to be upgraded is invoked and run, and the firmware upgrade is performed on the component to be upgraded by using the firmware upgrade patch package.
  • the obtaining the firmware upgrade patch package of the component to be upgraded specifically includes:
  • the obtaining the link address of the firmware upgrade patch package through the baseboard management controller is specifically:
  • the obtaining the link address of the firmware upgrade patch package through the baseboard management controller is specifically:
  • the link address set by the external configuration host is received based on the second external command interface preset by the baseboard management controller.
  • the obtaining the firmware upgrade patch package of the component to be upgraded is specifically:
  • the startup item of the server is set to start the basic input output system once after the control device is turned on.
  • the server After the upgrade of each of the components to be upgraded is completed, the server is triggered to restart.
  • the present application also provides a control device for firmware upgrade of server components, including:
  • an obtaining unit configured to obtain the firmware upgrade patch package of the component to be upgraded after the control device starts and runs the operating system
  • an upgrade unit configured to invoke and run a firmware upgrade tool corresponding to the component to be upgraded, and use the firmware upgrade patch package to perform firmware upgrade on the component to be upgraded;
  • control device is set on the server where the components to be upgraded are located, and the control device is pre-installed with the operating system and the firmware upgrade tool for the components of the server.
  • the present application also provides a control device for firmware upgrade of server components, including:
  • a memory for storing instructions, the instructions comprising the steps of any one of the above-mentioned control methods for firmware upgrade of server components;
  • a processor for executing the instructions.
  • the present application also provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of the control method for firmware upgrade of a server component according to any one of the above.
  • a control device with an operating system and a firmware upgrade tool for components of the server is pre-installed on the server, and after the operating system of the control device is started, the control device obtains the components to be upgraded.
  • the firmware upgrade patch package then call and run the firmware upgrade tool corresponding to the component to be upgraded, use the firmware upgrade patch package to upgrade the firmware of the component to be upgraded, and use the existing mature firmware upgrade tool to upgrade the firmware through the control device in the way of in-band upgrade.
  • Upgrading server components reduces the complexity of the code logic of the baseboard management controller and the difficulty of developing components compatible with the components, which not only saves manpower and material resources for operation and maintenance, improves the efficiency of operation and maintenance, but also improves customer experience, which can quickly meet the needs of customers. client needs.
  • the present application also provides a control device, equipment and storage medium for firmware upgrade of server components, which are used to reduce the work pressure brought by the firmware upgrade management of server components to the baseboard management controller, and have the above beneficial effects, which will not be repeated here.
  • FIG. 1 is a flowchart of a method for controlling firmware upgrade of a server component provided by an embodiment of the present application
  • FIG. 2 is a schematic structural diagram of a control device for firmware upgrade of a server component provided by an embodiment of the present application
  • FIG. 3 is a schematic structural diagram of a control device for firmware upgrade of a server component provided by an embodiment of the present application
  • FIG. 4 is a schematic structural diagram of a storage medium according to an embodiment of the present application.
  • the core of the present application is to provide a control method, device, device and storage medium for firmware upgrade of server components, which are used to reduce the work pressure brought by the firmware upgrade management of server components to the baseboard management controller.
  • FIG. 1 is a flowchart of a method for controlling firmware upgrade of a server component according to an embodiment of the present application.
  • a control device provided on a server is pre-installed with an operating system and a firmware upgrade tool for components of the server.
  • the method for controlling firmware upgrade of server components includes:
  • S102 Invoke and run a firmware upgrade tool corresponding to the component to be upgraded, and use the firmware upgrade patch package to upgrade the firmware of the component to be upgraded.
  • control device can select the built-in memory card (such as SD card, TF card, etc.) or U disk of the server, and the control device pre-stores the operating system (usually Linux OS boot disk) and the corresponding server components.
  • Firmware upgrade tool The control device is used to manage and upgrade the server components in a unified manner, and after new components or component upgrades, only the control device can be updated and maintained, without the need for the baseboard management controller to make corresponding compatibility updates.
  • the server service operating system is started after the Basic Input Output System (BIOS) is started.
  • BIOS Basic Input Output System
  • the control device performs component firmware upgrade operation, in the control method for server component firmware upgrade provided by the embodiment of the present application, it is necessary to set the server to start the operating system (Linux OS) pre-stored in the control device after starting the basic input output system, and control the The device can perform component firmware upgrade work.
  • the operating system startup item of the server may be set to start the operating system pre-stored in the control device once after the server is powered on.
  • the baseboard management controller may provide a first external command interface for the external management software to set the operating system startup item, and set the operating system startup item to firstly start the operating system pre-stored in the control system after booting.
  • the control device After starting and running the pre-stored operating system, the control device determines the component to be upgraded, obtains the corresponding firmware upgrade patch package, and invokes the corresponding firmware upgrade tool, so as to run the firmware upgrade tool and use the component upgrade patch package to upgrade the firmware of the to-be-upgraded component.
  • control method for server component firmware upgrade provided by the embodiment of the present application may further include:
  • the server After the upgrade of each component to be upgraded is completed, the server is triggered to restart.
  • control device can automatically trigger the server to restart after performing the firmware upgrade of the components to be upgraded, so that the server starts the basic input and output system in the baseboard management controller, and guides it to the customer service operating system to run.
  • a monitoring script can also be set by the baseboard management controller, and after the monitoring and control device completes the firmware upgrade of each component to be upgraded, the server is triggered to restart.
  • the external management software may be software run by a server in a customer data center, or may be run by a computer, mobile phone, or other intelligent terminal.
  • a control device installed with an operating system and a firmware upgrade tool for components of the server is pre-installed on the server, and after the operating system of the control device is started, the control device obtains the information to be upgraded
  • the firmware upgrade patch package of the component and then call and run the firmware upgrade tool corresponding to the component to be upgraded, use the firmware upgrade patch package to upgrade the firmware of the component to be upgraded, and use the existing mature firmware upgrade tool in the way of in-band upgrade through the control device.
  • Upgrading the server components reduces the complexity of the code logic of the baseboard management controller and the difficulty of developing components compatible with the components, which not only saves the manpower and material resources of operation and maintenance, improves the efficiency of operation and maintenance, but also improves the customer experience. satisfy customer's request.
  • the control device may acquire the firmware upgrade patch package of the component to be upgraded by acquiring the firmware upgrade patch package pre-stored in the second storage space.
  • the second storage space can be a preset storage space on the control device or a storage space in another location, and is stored in this space by the operation and maintenance personnel for the control device to use.
  • the baseboard management controller may also assume a bridge for the control device to obtain the firmware upgrade patch package, so that the control device automatically obtains the firmware upgrade patch package for component firmware upgrade. Then step S101 in FIG. 1 : obtaining the firmware upgrade patch package of the component to be upgraded, which may specifically include:
  • the link address of the firmware upgrade patch package is usually the official website download address provided by the server manufacturer. Deploy the script in the control device in advance to download the firmware upgrade patch package from the link address of the firmware upgrade patch package. Wherein, the control device can obtain the link address of the firmware upgrade patch package in the baseboard management controller by using an intelligent platform management interface (Intelligent Platform Management Interface, IPMI) command in the operating system in-band.
  • IPMI Intelligent Platform Management Interface
  • a non-volatile storage space can be set in the baseboard management controller in advance to store the link address of the firmware upgrade patch package; or the baseboard management controller can provide a second external command interface for external management software and control.
  • the operating system of the device exchanges information so that the control device obtains the link address for storing the firmware upgrade patch package. Therefore, obtaining the link address of the firmware upgrade patch package through the baseboard management controller may specifically be: obtaining the link address stored in the first storage space of the baseboard management controller. Alternatively, obtaining the link address of the firmware upgrade patch package through the baseboard management controller may specifically include: receiving the link address set by the external configuration host based on the second external command interface preset by the baseboard management controller.
  • the external management software may be software run by a server in a customer data center, or may be run by a computer, mobile phone, or other intelligent terminal.
  • the method for controlling firmware upgrade of a server component provided by the embodiment of the present application is applied, and the operating system startup item is set by the baseboard management controller to be the operating system in the control device that is started first, and the control device goes to the baseboard management controller after the operating system starts and runs.
  • the operating system startup item is set by the baseboard management controller to be the operating system in the control device that is started first, and the control device goes to the baseboard management controller after the operating system starts and runs.
  • Obtain the link address of the firmware upgrade patch package of the component to be upgraded from and automatically download the firmware upgrade patch package from the link address, and use the firmware upgrade tool corresponding to the component to be upgraded to upgrade the firmware of the to-be-upgraded component with the firmware upgrade patch package.
  • control method for firmware upgrade of server components Various embodiments corresponding to the control method for firmware upgrade of server components are described in detail above. Based on this, the present application also discloses a control device, device and storage medium for firmware upgrade of server components corresponding to the above method.
  • FIG. 2 is a schematic structural diagram of a control device for firmware upgrade of a server component according to an embodiment of the present application.
  • control device for firmware upgrade of server components provided by the embodiment of the present application includes:
  • an obtaining unit 201 configured to obtain a firmware upgrade patch package of a component to be upgraded after the control device starts and runs the operating system
  • An upgrade unit 202 configured to call and run a firmware upgrade tool corresponding to the component to be upgraded, and use a firmware upgrade patch package to upgrade the firmware of the component to be upgraded;
  • control device is set on the server where the components to be upgraded are located, and the control device is pre-installed with an operating system and a firmware upgrade tool for the components of the server.
  • control device for server component firmware upgrade provided by the embodiment of the present application further includes:
  • the restarting unit is used to trigger the server to restart after each component to be upgraded is upgraded.
  • FIG. 3 is a schematic structural diagram of a control device for upgrading server component firmware according to an embodiment of the present application.
  • control device for server component firmware upgrade provided by the embodiment of the present application includes:
  • the memory 310 is configured to store instructions, where the instructions include the steps of the method for controlling firmware upgrade of a server component according to any one of the foregoing embodiments;
  • a processor 320 for executing the instructions.
  • the processor 320 may include one or more processing cores, such as a 3-core processor, an 8-core processor, and the like.
  • the processor 320 may be implemented in at least one hardware form among digital signal processing DSP (Digital Signal Processing), field programmable gate array FPGA (Field-Programmable Gate Array), and programmable logic array PLA (Programmable Logic Array).
  • the processor 320 may also include a main processor and a coprocessor.
  • the main processor is a processor used to process data in the wake-up state, also called a central processing unit (CPU); A low-power processor for processing data in a standby state.
  • CPU central processing unit
  • the processor 320 may be integrated with a graphics processor GPU (Graphics Processing Unit), and the GPU is used for rendering and drawing the content required to be displayed on the display screen.
  • the processor 320 may further include an artificial intelligence (Artificial Intelligence) processor, where the AI processor is used to process computing operations related to machine learning.
  • AI Artificial Intelligence
  • Memory 310 may include one or more storage media, which may be non-transitory. Memory 310 may also include high-speed random access memory, as well as non-volatile memory, such as one or more disk storage devices, flash storage devices. In this embodiment, the memory 310 is at least used to store the following computer program 311 , wherein, after the computer program 311 is loaded and executed by the processor 320 , it can implement the related control methods for firmware upgrade of a server component disclosed in any of the foregoing embodiments. step. In addition, the resources stored in the memory 310 may also include an operating system 312, data 313, etc., and the storage mode may be short-term storage or permanent storage. The operating system 312 may be Windows. The data 313 may include, but is not limited to, the data involved in the above methods.
  • control device for firmware upgrade of the server component may further include a display screen 330 , a power supply 340 , a communication interface 350 , an input/output interface 360 , a sensor 370 and a communication bus 380 .
  • FIG. 3 does not constitute a limitation on the control device for firmware upgrade of the server component, and may include more or less components than those shown.
  • the device for controlling firmware upgrade of server components includes a memory and a processor.
  • the processor executes a program stored in the memory, the processor can implement the above-mentioned control method for firmware upgrade of server components, with the same effects.
  • modules are only illustrative.
  • the division of modules is only a logical function division.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or modules, and may be in electrical, mechanical or other forms.
  • Modules described as separate components may or may not be physically separated, and components shown as modules may or may not be physical modules, that is, they may be located in one place, or may be distributed to multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically alone, or two or more modules may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules.
  • the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may be stored in a storage medium.
  • the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , execute all or part of the steps of the methods described in the various embodiments of the present application.
  • FIG. 4 is a schematic structural diagram of a storage medium provided by an embodiment of the present application.
  • the storage medium 601 stores a computer program 602, and the computer program 602 The steps when executed by the processor implement a control method such as firmware upgrade of a server component.
  • the storage medium 601 may include: U disk, removable hard disk, read-only memory ROM (Read-Only Memory), random access memory RAM (Random Access Memory), magnetic disk or optical disk and other media that can store program codes.
  • the computer program 602 contained in the storage medium 601 provided in this embodiment can, when executed by the processor, implement the steps of the above-mentioned control method for firmware upgrade of a server component, and the effects are the same as above.

Abstract

Disclosed in the present application are a method, apparatus and device for controlling a firmware upgrade of a server component, and a storage medium. A control apparatus provided with an operating system and a firmware upgrade tool for a server component is preset in a server, and after the operating system of the control apparatus is started, the control apparatus obtains a firmware upgrade service pack for a component to be upgraded, and then invokes and runs the firmware upgrade tool corresponding to the component; a firmware upgrade is performed on the component by using the firmware upgrade service pack. By means of the control apparatus, the server component is upgraded by using an existing mature firmware upgrade tool in an in-band upgrade manner, the complexity of a baseboard management controller code logic and the difficulties in development and component compatibility are reduced, manpower and material resources of operation and maintenance are saved, the operation and maintenance efficiency is improved, the customer experience is also improved, and customer requirements can be satisfied quickly.

Description

服务器部件固件升级的控制方法、装置、设备及存储介质Control method, device, device and storage medium for firmware upgrade of server components
本申请要求在2021年03月25日提交中国专利局、申请号为202110319107.2、发明名称为“服务器部件固件升级的控制方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on March 25, 2021 with the application number 202110319107.2 and the title of the invention is "control method, device, device and storage medium for firmware upgrade of server components", the entire contents of which are Incorporated herein by reference.
技术领域technical field
本申请涉及服务器技术领域,特别是涉及一种服务器部件固件升级的控制方法、装置、设备及存储介质。The present application relates to the technical field of servers, and in particular, to a method, apparatus, device and storage medium for controlling firmware upgrade of server components.
背景技术Background technique
随着服务器技术的不断发展,服务器各类加速卡(GPU)、存储卡(RAID)等部件不断丰富,部件本身的复杂度也不断增强,部件复杂度使得部件固件(firmware,FW)的复杂度也越来越高,固件复杂度使得固件开发工作和问题增多,升级部件固件的场景也越来越多。通常服务器厂商会提供固件或固件补丁包的下载链接,运维人员通过官网下载部件固件后,通过基板管理控制器(Baseboard Management Controller,BMC)带外升级固件。然而,通过基板管理控制器升级固件的方案实现较为复杂,不仅需要基板管理控制器集成与部件固件升级的接口,还有很多与部件的兼容工作,造成基板管理控制器的兼容开发工作量巨大。随着部件更新,基板管理控制器需要不断地更新版本,加入新部件的升级的代码逻辑,这对服务器管理单元基板管理控制器的稳定性和服务器运维带来了极大的挑战,也会由于对客户部件固件的需求响应慢、基板管理控制器代码逻辑复杂等问题给用户带来不好的使用体验。With the continuous development of server technology, various types of accelerator cards (GPU), memory cards (RAID) and other components of the server are constantly enriched, and the complexity of the components themselves is also increasing. The complexity of components increases the complexity of component firmware (firmware, FW). It is also getting higher and higher, and the complexity of firmware increases firmware development work and problems, and there are more and more scenarios for upgrading component firmware. Usually, the server manufacturer will provide the download link of the firmware or firmware patch package. After the operation and maintenance personnel download the component firmware through the official website, they can upgrade the firmware out-of-band through the Baseboard Management Controller (BMC). However, the implementation of the solution for upgrading firmware through the baseboard management controller is relatively complex, requiring not only the integration of the baseboard management controller and the interface for component firmware upgrade, but also a lot of compatibility work with the components, resulting in a huge workload for the compatible development of the baseboard management controller. With the update of components, the baseboard management controller needs to continuously update the version and add the upgraded code logic of new components, which brings great challenges to the stability of the baseboard management controller of the server management unit and the operation and maintenance of the server. Due to the slow response to the demand of the client component firmware and the complex logic of the baseboard management controller code, the user experience is not good.
如何解决服务器部件固件升级管理给基板管理控制器带来的工作压力,是本领域技术人员需要解决的技术问题。How to solve the work pressure brought by the firmware upgrade management of the server components to the baseboard management controller is a technical problem to be solved by those skilled in the art.
发明内容SUMMARY OF THE INVENTION
本申请的目的是提供一种服务器部件固件升级的控制方法、装置、设备及存储介质,用于降低服务器部件固件升级管理给基板管理控制器带来的工 作压力。The purpose of the present application is to provide a control method, device, device and storage medium for firmware upgrade of server components, which are used to reduce the work pressure brought by the firmware upgrade management of server components to the baseboard management controller.
为解决上述技术问题,本申请提供一种服务器部件固件升级的控制方法,基于设于服务器的控制装置,所述控制装置预先安装有操作系统及所述服务器的部件的固件升级工具,所述控制方法包括:In order to solve the above-mentioned technical problems, the present application provides a method for controlling firmware upgrade of server components, based on a control device provided in a server, the control device is pre-installed with an operating system and a firmware upgrade tool for components of the server, and the control device Methods include:
启动运行所述操作系统后,获取待升级部件的固件升级补丁包;After starting and running the operating system, obtain the firmware upgrade patch package of the component to be upgraded;
调用并运行与所述待升级部件对应的固件升级工具,利用所述固件升级补丁包对所述待升级部件进行固件升级。The firmware upgrade tool corresponding to the component to be upgraded is invoked and run, and the firmware upgrade is performed on the component to be upgraded by using the firmware upgrade patch package.
可选的,所述获取待升级部件的固件升级补丁包,具体包括:Optionally, the obtaining the firmware upgrade patch package of the component to be upgraded specifically includes:
通过基板管理控制器获取所述固件升级补丁包的链接地址;Obtain the link address of the firmware upgrade patch package through the baseboard management controller;
基于所述链接地址下载所述固件升级补丁包。Download the firmware upgrade patch package based on the link address.
可选的,所述通过基板管理控制器获取所述固件升级补丁包的链接地址,具体为:Optionally, the obtaining the link address of the firmware upgrade patch package through the baseboard management controller is specifically:
获取存储于所述基板管理控制器的第一存储空间的所述链接地址。Obtain the link address stored in the first storage space of the baseboard management controller.
可选的,所述通过基板管理控制器获取所述固件升级补丁包的链接地址,具体为:Optionally, the obtaining the link address of the firmware upgrade patch package through the baseboard management controller is specifically:
基于所述基板管理控制器预设的第二外部命令接口,接收外部配置主机设置的所述链接地址。The link address set by the external configuration host is received based on the second external command interface preset by the baseboard management controller.
可选的,所述获取待升级部件的固件升级补丁包,具体为:Optionally, the obtaining the firmware upgrade patch package of the component to be upgraded is specifically:
获取预先存储于第二存储空间的所述固件升级补丁包。Obtain the firmware upgrade patch package pre-stored in the second storage space.
可选的,所述服务器的启动项设置为开机后在所述控制装置启动一次所述基本输入输出系统。Optionally, the startup item of the server is set to start the basic input output system once after the control device is turned on.
可选的,还包括:Optionally, also include:
在对各所述待升级部件升级完毕后,触发所述服务器重新启动。After the upgrade of each of the components to be upgraded is completed, the server is triggered to restart.
为解决上述技术问题,本申请还提供一种服务器部件固件升级的控制装置,包括:In order to solve the above-mentioned technical problems, the present application also provides a control device for firmware upgrade of server components, including:
获取单元,用于在控制装置启动运行操作系统后,获取待升级部件的固件升级补丁包;an obtaining unit, configured to obtain the firmware upgrade patch package of the component to be upgraded after the control device starts and runs the operating system;
升级单元,用于调用并运行与所述待升级部件对应的固件升级工具,利用所述固件升级补丁包对所述待升级部件进行固件升级;an upgrade unit, configured to invoke and run a firmware upgrade tool corresponding to the component to be upgraded, and use the firmware upgrade patch package to perform firmware upgrade on the component to be upgraded;
其中,所述控制装置设于所述待升级部件所在的服务器,所述控制装置 预先安装有所述操作系统及所述服务器的部件的所述固件升级工具。Wherein, the control device is set on the server where the components to be upgraded are located, and the control device is pre-installed with the operating system and the firmware upgrade tool for the components of the server.
为解决上述技术问题,本申请还提供一种服务器部件固件升级的控制设备,包括:In order to solve the above technical problems, the present application also provides a control device for firmware upgrade of server components, including:
存储器,用于存储指令,所述指令包括上述任意一项所述服务器部件固件升级的控制方法的步骤;a memory for storing instructions, the instructions comprising the steps of any one of the above-mentioned control methods for firmware upgrade of server components;
处理器,用于执行所述指令。a processor for executing the instructions.
为解决上述技术问题,本申请还提供一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上述任意一项所述服务器部件固件升级的控制方法的步骤。In order to solve the above technical problem, the present application also provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of the control method for firmware upgrade of a server component according to any one of the above.
本申请所提供的服务器部件固件升级的控制方法,预先在服务器设置安装有操作系统及服务器的部件的固件升级工具的控制装置,在启动该控制装置的操作系统后,该控制装置获取待升级部件的固件升级补丁包,继而调用并运行与待升级部件对应的固件升级工具,利用固件升级补丁包对待升级部件进行固件升级,通过控制装置以带内升级的方式利用现有成熟的固件升级工具对服务器部件进行升级,降低了基板管理控制器代码逻辑的复杂度以及开发与部件兼容的工作的难度,不仅节省了运维的人力物力、提高了运维效率,还提升了客户体验,可以快速满足客户需求。In the method for controlling firmware upgrade of server components provided by the present application, a control device with an operating system and a firmware upgrade tool for components of the server is pre-installed on the server, and after the operating system of the control device is started, the control device obtains the components to be upgraded. The firmware upgrade patch package, then call and run the firmware upgrade tool corresponding to the component to be upgraded, use the firmware upgrade patch package to upgrade the firmware of the component to be upgraded, and use the existing mature firmware upgrade tool to upgrade the firmware through the control device in the way of in-band upgrade. Upgrading server components reduces the complexity of the code logic of the baseboard management controller and the difficulty of developing components compatible with the components, which not only saves manpower and material resources for operation and maintenance, improves the efficiency of operation and maintenance, but also improves customer experience, which can quickly meet the needs of customers. client needs.
本申请还提供一种服务器部件固件升级的控制装置、设备及存储介质,用于降低服务器部件固件升级管理给基板管理控制器带来的工作压力,具有上述有益效果,在此不再赘述。The present application also provides a control device, equipment and storage medium for firmware upgrade of server components, which are used to reduce the work pressure brought by the firmware upgrade management of server components to the baseboard management controller, and have the above beneficial effects, which will not be repeated here.
附图说明Description of drawings
为了更清楚的说明本申请实施例或现有技术的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单的介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present application or the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only For some embodiments of the present application, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1为本申请实施例提供的一种服务器部件固件升级的控制方法的流程图;1 is a flowchart of a method for controlling firmware upgrade of a server component provided by an embodiment of the present application;
图2为本申请实施例提供的一种服务器部件固件升级的控制装置的结构示意图;2 is a schematic structural diagram of a control device for firmware upgrade of a server component provided by an embodiment of the present application;
图3为本申请实施例提供的一种服务器部件固件升级的控制设备的结构示意图;3 is a schematic structural diagram of a control device for firmware upgrade of a server component provided by an embodiment of the present application;
图4为本申请实施例提供的一种存储介质的结构示意图。FIG. 4 is a schematic structural diagram of a storage medium according to an embodiment of the present application.
具体实施方式Detailed ways
本申请的核心是提供一种服务器部件固件升级的控制方法、装置、设备及存储介质,用于降低服务器部件固件升级管理给基板管理控制器带来的工作压力。The core of the present application is to provide a control method, device, device and storage medium for firmware upgrade of server components, which are used to reduce the work pressure brought by the firmware upgrade management of server components to the baseboard management controller.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
图1为本申请实施例提供的一种服务器部件固件升级的控制方法的流程图。FIG. 1 is a flowchart of a method for controlling firmware upgrade of a server component according to an embodiment of the present application.
如图1所示,将一设于服务器的控制装置预先安装有操作系统及服务器的部件的固件升级工具,基于该控制装置,本申请实施例提供的服务器部件固件升级的控制方法包括:As shown in FIG. 1 , a control device provided on a server is pre-installed with an operating system and a firmware upgrade tool for components of the server. Based on the control device, the method for controlling firmware upgrade of server components provided by the embodiment of the present application includes:
S101:启动运行操作系统后,获取待升级部件的固件升级补丁包。S101: After starting the operating system, obtain a firmware upgrade patch package of the component to be upgraded.
S102:调用并运行与待升级部件对应的固件升级工具,利用固件升级补丁包对待升级部件进行固件升级。S102: Invoke and run a firmware upgrade tool corresponding to the component to be upgraded, and use the firmware upgrade patch package to upgrade the firmware of the component to be upgraded.
在具体实施中,控制装置可以选用服务器内置的存储卡(如SD卡、TF卡等)或U盘等设备,控制装置中预先存储有操作系统(通常采用Linux OS启动盘)和服务器部件对应的固件升级工具。利用该控制装置对服务器部件进行统一管理和升级,在新增部件或部件升级后,可以仅对此控制装置进行更新维护,而无需基板管理控制器做出对应的兼容性更新。In the specific implementation, the control device can select the built-in memory card (such as SD card, TF card, etc.) or U disk of the server, and the control device pre-stores the operating system (usually Linux OS boot disk) and the corresponding server components. Firmware upgrade tool. The control device is used to manage and upgrade the server components in a unified manner, and after new components or component upgrades, only the control device can be updated and maintained, without the need for the baseboard management controller to make corresponding compatibility updates.
服务器在正常启动时是在基本输入输出系统(Basic Input Output System,BIOS)启动后再启动服务器业务操作系统。为了使控制装置执行部件固件升级操作,在本申请实施例提供的服务器部件固件升级的控制方法中需设置服务器在启动基本输入输出系统后,启动控制装置中预存的操作系统(Linux  OS),控制装置才能执行部件固件升级工作。例如,可以将服务器的操作系统启动项设置为开机后启动一次控制装置中预存的操作系统。具体地,可以通过基板管理控制器提供第一外部命令接口,供外部管理软件设置操作系统启动项,将操作系统启动项设置为在开机后首先启动一次控制系统中预存的操作系统。When the server is normally started, the server service operating system is started after the Basic Input Output System (BIOS) is started. In order to make the control device perform the component firmware upgrade operation, in the control method for server component firmware upgrade provided by the embodiment of the present application, it is necessary to set the server to start the operating system (Linux OS) pre-stored in the control device after starting the basic input output system, and control the The device can perform component firmware upgrade work. For example, the operating system startup item of the server may be set to start the operating system pre-stored in the control device once after the server is powered on. Specifically, the baseboard management controller may provide a first external command interface for the external management software to set the operating system startup item, and set the operating system startup item to firstly start the operating system pre-stored in the control system after booting.
控制装置在启动运行其中预存的操作系统后,确定待升级部件,获取对应的固件升级补丁包,调用对应的固件升级工具,从而运行固件升级工具利用部件升级补丁包对待升级部件进行固件升级。After starting and running the pre-stored operating system, the control device determines the component to be upgraded, obtains the corresponding firmware upgrade patch package, and invokes the corresponding firmware upgrade tool, so as to run the firmware upgrade tool and use the component upgrade patch package to upgrade the firmware of the to-be-upgraded component.
在执行外部件升级工作后,服务器需要进入客户业务操作系统以正常运行,故本申请实施例提供的服务器部件固件升级的控制方法还可以包括:After performing the external component upgrade work, the server needs to enter the client service operating system to run normally, so the control method for server component firmware upgrade provided by the embodiment of the present application may further include:
在对各待升级部件升级完毕后,触发服务器重新启动。After the upgrade of each component to be upgraded is completed, the server is triggered to restart.
在实际应用中,可以由控制装置在执行完各待升级部件的固件升级工作后,自行触发服务器重新启动,以使服务器在基板管理控制器中启动基本输入输出系统,引导到客户业务操作系统运行。此外,还可以由基板管理控制器设置监控脚本,在监控控制装置完成各待升级部件的固件升级工作后,触发服务器重新启动。In practical applications, the control device can automatically trigger the server to restart after performing the firmware upgrade of the components to be upgraded, so that the server starts the basic input and output system in the baseboard management controller, and guides it to the customer service operating system to run. . In addition, a monitoring script can also be set by the baseboard management controller, and after the monitoring and control device completes the firmware upgrade of each component to be upgraded, the server is triggered to restart.
其中,外部管理软件可以为由客户数据中心的服务器运行的软件,也可以由电脑、手机等智能终端来运行。The external management software may be software run by a server in a customer data center, or may be run by a computer, mobile phone, or other intelligent terminal.
本申请实施例提供的服务器部件固件升级的控制方法,预先在服务器设置安装有操作系统及服务器的部件的固件升级工具的控制装置,在启动该控制装置的操作系统后,该控制装置获取待升级部件的固件升级补丁包,继而调用并运行与待升级部件对应的固件升级工具,利用固件升级补丁包对待升级部件进行固件升级,通过控制装置以带内升级的方式利用现有成熟的固件升级工具对服务器部件进行升级,降低了基板管理控制器代码逻辑的复杂度以及开发与部件兼容的工作的难度,不仅节省了运维的人力物力、提高了运维效率,还提升了客户体验,可以快速满足客户需求。In the method for controlling firmware upgrade of server components provided by the embodiments of the present application, a control device installed with an operating system and a firmware upgrade tool for components of the server is pre-installed on the server, and after the operating system of the control device is started, the control device obtains the information to be upgraded The firmware upgrade patch package of the component, and then call and run the firmware upgrade tool corresponding to the component to be upgraded, use the firmware upgrade patch package to upgrade the firmware of the component to be upgraded, and use the existing mature firmware upgrade tool in the way of in-band upgrade through the control device. Upgrading the server components reduces the complexity of the code logic of the baseboard management controller and the difficulty of developing components compatible with the components, which not only saves the manpower and material resources of operation and maintenance, improves the efficiency of operation and maintenance, but also improves the customer experience. satisfy customer's request.
在上述实施例中,控制装置获取待升级部件的固件升级补丁包方式可以为获取预先存储于第二存储空间的固件升级补丁包。此第二存储空间可以为控制装置上预设的存储空间或另一位置的存储空间,由运维人员存入该空间 以供控制装置取用。此外,还可以通过基板管理控制器假设控制装置获取固件升级补丁包的桥梁,以便控制装置自动获取固件升级补丁包以进行部件固件升级。则图1中步骤S101:获取待升级部件的固件升级补丁包,具体可以包括:In the above-mentioned embodiment, the control device may acquire the firmware upgrade patch package of the component to be upgraded by acquiring the firmware upgrade patch package pre-stored in the second storage space. The second storage space can be a preset storage space on the control device or a storage space in another location, and is stored in this space by the operation and maintenance personnel for the control device to use. In addition, the baseboard management controller may also assume a bridge for the control device to obtain the firmware upgrade patch package, so that the control device automatically obtains the firmware upgrade patch package for component firmware upgrade. Then step S101 in FIG. 1 : obtaining the firmware upgrade patch package of the component to be upgraded, which may specifically include:
通过基板管理控制器获取固件升级补丁包的链接地址;Obtain the link address of the firmware upgrade patch package through the baseboard management controller;
基于链接地址下载固件升级补丁包。Download the firmware upgrade patch package based on the link address.
其中,固件升级补丁包的链接地址通常为服务器厂商提供的官网下载地址。预先在控制装置中部署脚本以到固件升级补丁包的链接地址下载固件升级补丁包。其中,控制装置可以应用操作系统带内利用智能平台管理接口(Intelligent Platform Management Interface,IPMI)命令获取基板管理控制器中的固件升级补丁包的链接地址。The link address of the firmware upgrade patch package is usually the official website download address provided by the server manufacturer. Deploy the script in the control device in advance to download the firmware upgrade patch package from the link address of the firmware upgrade patch package. Wherein, the control device can obtain the link address of the firmware upgrade patch package in the baseboard management controller by using an intelligent platform management interface (Intelligent Platform Management Interface, IPMI) command in the operating system in-band.
可以预先在基板管理控制器中设置一块非易失存储空间(EEPROM或者Flash)以存储固件升级补丁包的链接地址;或由基板管理控制器提供第二外部命令接口,以供外部管理软件与控制装置的操作系统进行信息交换,以使控制装置获得存储固件升级补丁包的链接地址。故通过基板管理控制器获取固件升级补丁包的链接地址,具体可以为:获取存储于基板管理控制器的第一存储空间的链接地址。或者,通过基板管理控制器获取固件升级补丁包的链接地址,具体可以为:基于基板管理控制器预设的第二外部命令接口,接收外部配置主机设置的链接地址。A non-volatile storage space (EEPROM or Flash) can be set in the baseboard management controller in advance to store the link address of the firmware upgrade patch package; or the baseboard management controller can provide a second external command interface for external management software and control. The operating system of the device exchanges information so that the control device obtains the link address for storing the firmware upgrade patch package. Therefore, obtaining the link address of the firmware upgrade patch package through the baseboard management controller may specifically be: obtaining the link address stored in the first storage space of the baseboard management controller. Alternatively, obtaining the link address of the firmware upgrade patch package through the baseboard management controller may specifically include: receiving the link address set by the external configuration host based on the second external command interface preset by the baseboard management controller.
其中,外部管理软件可以为由客户数据中心的服务器运行的软件,也可以由电脑、手机等智能终端来运行。The external management software may be software run by a server in a customer data center, or may be run by a computer, mobile phone, or other intelligent terminal.
应用本申请实施例提供的服务器部件固件升级的控制方法,通过基板管理控制器设置操作系统启动项为在首先启动一次控制装置中的操作系统,控制装置在操作系统启动运行后到基板管理控制器中获取待升级部件的固件升级补丁包的链接地址,自动到该链接地址下载固件升级补丁包后,利用待升级部件对应的固件升级工具以固件升级补丁包对待升级部件进行固件升级。在升级完毕后,触发服务器重新启动以进入客户业务操作系统。The method for controlling firmware upgrade of a server component provided by the embodiment of the present application is applied, and the operating system startup item is set by the baseboard management controller to be the operating system in the control device that is started first, and the control device goes to the baseboard management controller after the operating system starts and runs. Obtain the link address of the firmware upgrade patch package of the component to be upgraded from , and automatically download the firmware upgrade patch package from the link address, and use the firmware upgrade tool corresponding to the component to be upgraded to upgrade the firmware of the to-be-upgraded component with the firmware upgrade patch package. After the upgrade is complete, trigger the server to restart to enter the customer service operating system.
在增加新的部件或新的固件升级工具时,只需要对控制装置进行维护即可,消除了基板管理控制器在部件管理工作上的升级维护带来的不稳定因素。When adding new components or a new firmware upgrade tool, only the control device needs to be maintained, which eliminates the unstable factors brought about by the upgrade and maintenance of the baseboard management controller in the component management work.
上文详述了服务器部件固件升级的控制方法对应的各个实施例,在此基础上,本申请还公开了与上述方法对应的服务器部件固件升级的控制装置、设备及存储介质。Various embodiments corresponding to the control method for firmware upgrade of server components are described in detail above. Based on this, the present application also discloses a control device, device and storage medium for firmware upgrade of server components corresponding to the above method.
图2为本申请实施例提供的一种服务器部件固件升级的控制装置的结构示意图。FIG. 2 is a schematic structural diagram of a control device for firmware upgrade of a server component according to an embodiment of the present application.
如图2所示,本申请实施例提供的服务器部件固件升级的控制装置包括:As shown in FIG. 2 , the control device for firmware upgrade of server components provided by the embodiment of the present application includes:
获取单元201,用于在控制装置启动运行操作系统后,获取待升级部件的固件升级补丁包;an obtaining unit 201, configured to obtain a firmware upgrade patch package of a component to be upgraded after the control device starts and runs the operating system;
升级单元202,用于调用并运行与待升级部件对应的固件升级工具,利用固件升级补丁包对待升级部件进行固件升级;An upgrade unit 202, configured to call and run a firmware upgrade tool corresponding to the component to be upgraded, and use a firmware upgrade patch package to upgrade the firmware of the component to be upgraded;
其中,控制装置设于待升级部件所在的服务器,控制装置预先安装有操作系统及服务器的部件的固件升级工具。Wherein, the control device is set on the server where the components to be upgraded are located, and the control device is pre-installed with an operating system and a firmware upgrade tool for the components of the server.
可选的,本申请实施例提供的服务器部件固件升级的控制装置还包括:Optionally, the control device for server component firmware upgrade provided by the embodiment of the present application further includes:
重启单元,用于在对各待升级部件升级完毕后,触发服务器重新启动。The restarting unit is used to trigger the server to restart after each component to be upgraded is upgraded.
由于装置部分的实施例与方法部分的实施例相互对应,因此装置部分的实施例请参见方法部分的实施例的描述,这里暂不赘述。Since the embodiment of the apparatus part corresponds to the embodiment of the method part, for the embodiment of the apparatus part, please refer to the description of the embodiment of the method part, which will not be repeated here.
图3为本申请实施例提供的一种服务器部件固件升级的控制设备的结构示意图。FIG. 3 is a schematic structural diagram of a control device for upgrading server component firmware according to an embodiment of the present application.
如图3所示,本申请实施例提供的服务器部件固件升级的控制设备包括:As shown in FIG. 3 , the control device for server component firmware upgrade provided by the embodiment of the present application includes:
存储器310,用于存储指令,所述指令包括上述任意一项实施例所述的服务器部件固件升级的控制方法的步骤;The memory 310 is configured to store instructions, where the instructions include the steps of the method for controlling firmware upgrade of a server component according to any one of the foregoing embodiments;
处理器320,用于执行所述指令。A processor 320 for executing the instructions.
其中,处理器320可以包括一个或多个处理核心,比如3核心处理器、8核心处理器等。处理器320可以采用数字信号处理DSP(Digital Signal Processing)、现场可编程门阵列FPGA(Field-Programmable Gate Array)、可编程逻辑阵列PLA(Programmable Logic Array)中的至少一种硬件形式来实现。处理器320也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称中央处理器CPU(Central Processing Unit);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在 一些实施例中,处理器320可以集成有图像处理器GPU(Graphics Processing Unit),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器320还可以包括人工智能AI(Artificial Intelligence)处理器,该AI处理器用于处理有关机器学习的计算操作。The processor 320 may include one or more processing cores, such as a 3-core processor, an 8-core processor, and the like. The processor 320 may be implemented in at least one hardware form among digital signal processing DSP (Digital Signal Processing), field programmable gate array FPGA (Field-Programmable Gate Array), and programmable logic array PLA (Programmable Logic Array). The processor 320 may also include a main processor and a coprocessor. The main processor is a processor used to process data in the wake-up state, also called a central processing unit (CPU); A low-power processor for processing data in a standby state. In some embodiments, the processor 320 may be integrated with a graphics processor GPU (Graphics Processing Unit), and the GPU is used for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 320 may further include an artificial intelligence (Artificial Intelligence) processor, where the AI processor is used to process computing operations related to machine learning.
存储器310可以包括一个或多个存储介质,该存储介质可以是非暂态的。存储器310还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。本实施例中,存储器310至少用于存储以下计算机程序311,其中,该计算机程序311被处理器320加载并执行之后,能够实现前述任一实施例公开的服务器部件固件升级的控制方法中的相关步骤。另外,存储器310所存储的资源还可以包括操作系统312和数据313等,存储方式可以是短暂存储或者永久存储。其中,操作系统312可以为Windows。数据313可以包括但不限于上述方法所涉及到的数据。Memory 310 may include one or more storage media, which may be non-transitory. Memory 310 may also include high-speed random access memory, as well as non-volatile memory, such as one or more disk storage devices, flash storage devices. In this embodiment, the memory 310 is at least used to store the following computer program 311 , wherein, after the computer program 311 is loaded and executed by the processor 320 , it can implement the related control methods for firmware upgrade of a server component disclosed in any of the foregoing embodiments. step. In addition, the resources stored in the memory 310 may also include an operating system 312, data 313, etc., and the storage mode may be short-term storage or permanent storage. The operating system 312 may be Windows. The data 313 may include, but is not limited to, the data involved in the above methods.
在一些实施例中,服务器部件固件升级的控制设备还可包括有显示屏330、电源340、通信接口350、输入输出接口360、传感器370以及通信总线380。In some embodiments, the control device for firmware upgrade of the server component may further include a display screen 330 , a power supply 340 , a communication interface 350 , an input/output interface 360 , a sensor 370 and a communication bus 380 .
本领域技术人员可以理解,图3中示出的结构并不构成对服务器部件固件升级的控制设备的限定,可以包括比图示更多或更少的组件。Those skilled in the art can understand that the structure shown in FIG. 3 does not constitute a limitation on the control device for firmware upgrade of the server component, and may include more or less components than those shown.
本申请实施例提供的服务器部件固件升级的控制设备,包括存储器和处理器,处理器在执行存储器存储的程序时,能够实现如上所述的服务器部件固件升级的控制方法,效果同上。The device for controlling firmware upgrade of server components provided by the embodiments of the present application includes a memory and a processor. When the processor executes a program stored in the memory, the processor can implement the above-mentioned control method for firmware upgrade of server components, with the same effects.
需要说明的是,以上所描述的装置、设备实施例仅仅是示意性的,例如,模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。It should be noted that the above-described apparatus and device embodiments are only illustrative. For example, the division of modules is only a logical function division. In actual implementation, there may be other division methods, such as multiple modules or components. May be combined or may be integrated into another system, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or modules, and may be in electrical, mechanical or other forms. Modules described as separate components may or may not be physically separated, and components shown as modules may or may not be physical modules, that is, they may be located in one place, or may be distributed to multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically alone, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules.
集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,执行本申请各个实施例所述方法的全部或部分步骤。If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may be stored in a storage medium. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , execute all or part of the steps of the methods described in the various embodiments of the present application.
为此,本申请实施例还提供一种存储介质,图4为本申请实施例提供的一种存储介质的结构示意图,请参见图4,该存储介质601上存储有计算机程序602,计算机程序602被处理器执行时实现如服务器部件固件升级的控制方法的步骤。To this end, an embodiment of the present application further provides a storage medium, and FIG. 4 is a schematic structural diagram of a storage medium provided by an embodiment of the present application. Please refer to FIG. 4 , the storage medium 601 stores a computer program 602, and the computer program 602 The steps when executed by the processor implement a control method such as firmware upgrade of a server component.
该存储介质601可以包括:U盘、移动硬盘、只读存储器ROM(Read-Only Memory)、随机存取存储器RAM(Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The storage medium 601 may include: U disk, removable hard disk, read-only memory ROM (Read-Only Memory), random access memory RAM (Random Access Memory), magnetic disk or optical disk and other media that can store program codes.
本实施例中提供的存储介质601所包含的计算机程序602能够在被处理器执行时实现如上所述的服务器部件固件升级的控制方法的步骤,效果同上。The computer program 602 contained in the storage medium 601 provided in this embodiment can, when executed by the processor, implement the steps of the above-mentioned control method for firmware upgrade of a server component, and the effects are the same as above.
以上对本申请所提供的一种服务器部件固件升级的控制方法、装置、设备及存储介质进行了详细介绍。说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置、设备及存储介质而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以对本申请进行若干改进和修饰,这些改进和修饰也落入本申请权利要求的保护范围内。The control method, device, device, and storage medium for firmware upgrade of a server component provided by the present application have been described above in detail. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the various embodiments can be referred to each other. For the apparatuses, devices, and storage media disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple, and for related parts, please refer to the description in the method section. It should be pointed out that for those of ordinary skill in the art, without departing from the principles of the present application, several improvements and modifications can also be made to the present application, and these improvements and modifications also fall within the protection scope of the claims of the present application.
还需要说明的是,在本说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语 “包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these entities or operations. There is no such actual relationship or sequence between operations. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

Claims (10)

  1. 一种服务器部件固件升级的控制方法,其特征在于,基于设于服务器的控制装置,所述控制装置预先安装有操作系统及所述服务器的部件的固件升级工具,所述控制方法包括:A control method for firmware upgrade of server components, characterized in that, based on a control device provided in a server, the control device is pre-installed with an operating system and a firmware upgrade tool for components of the server, and the control method includes:
    启动运行所述操作系统后,获取待升级部件的固件升级补丁包;After starting and running the operating system, obtain the firmware upgrade patch package of the component to be upgraded;
    调用并运行与所述待升级部件对应的固件升级工具,利用所述固件升级补丁包对所述待升级部件进行固件升级。A firmware upgrade tool corresponding to the component to be upgraded is invoked and run, and the firmware upgrade is performed on the component to be upgraded by using the firmware upgrade patch package.
  2. 根据权利要求1所述的控制方法,其特征在于,所述获取待升级部件的固件升级补丁包,具体包括:The control method according to claim 1, wherein the acquiring the firmware upgrade patch package of the component to be upgraded specifically includes:
    通过基板管理控制器获取所述固件升级补丁包的链接地址;Obtain the link address of the firmware upgrade patch package through the baseboard management controller;
    基于所述链接地址下载所述固件升级补丁包。Download the firmware upgrade patch package based on the link address.
  3. 根据权利要求2所述的控制方法,其特征在于,所述通过基板管理控制器获取所述固件升级补丁包的链接地址,具体为:The control method according to claim 2, wherein the obtaining the link address of the firmware upgrade patch package through the baseboard management controller is specifically:
    获取存储于所述基板管理控制器的第一存储空间的所述链接地址。Obtain the link address stored in the first storage space of the baseboard management controller.
  4. 根据权利要求2所述的控制方法,其特征在于,所述通过基板管理控制器获取所述固件升级补丁包的链接地址,具体为:The control method according to claim 2, wherein the obtaining the link address of the firmware upgrade patch package through the baseboard management controller is specifically:
    基于所述基板管理控制器预设的第二外部命令接口,接收外部配置主机设置的所述链接地址。The link address set by the external configuration host is received based on the second external command interface preset by the baseboard management controller.
  5. 根据权利要求1所述的控制方法,其特征在于,所述获取待升级部件的固件升级补丁包,具体为:The control method according to claim 1, wherein the acquiring the firmware upgrade patch package of the component to be upgraded is specifically:
    获取预先存储于第二存储空间的所述固件升级补丁包。Obtain the firmware upgrade patch package pre-stored in the second storage space.
  6. 根据权利要求1所述的控制方法,其特征在于,所述服务器的启动项设置为开机后在所述控制装置启动一次所述基本输入输出系统。The control method according to claim 1, wherein a startup item of the server is set to start the basic input output system once after the control device is turned on.
  7. 根据权利要求1所述的控制方法,其特征在于,还包括:The control method according to claim 1, further comprising:
    在对各所述待升级部件升级完毕后,触发所述服务器重新启动。After the upgrade of each of the components to be upgraded is completed, the server is triggered to restart.
  8. 一种服务器部件固件升级的控制装置,其特征在于,包括:A control device for firmware upgrade of server components, characterized in that it includes:
    获取单元,用于在控制装置启动运行操作系统后,获取待升级部件的固件升级补丁包;an obtaining unit, configured to obtain the firmware upgrade patch package of the component to be upgraded after the control device starts and runs the operating system;
    升级单元,用于调用并运行与所述待升级部件对应的固件升级工具,利用所述固件升级补丁包对所述待升级部件进行固件升级;an upgrade unit, configured to call and run a firmware upgrade tool corresponding to the component to be upgraded, and use the firmware upgrade patch package to perform firmware upgrade on the component to be upgraded;
    其中,所述控制装置设于所述待升级部件所在的服务器,所述控制装置预先安装有所述操作系统及所述服务器的部件的所述固件升级工具。Wherein, the control device is set on the server where the component to be upgraded is located, and the control device is pre-installed with the operating system and the firmware upgrade tool for the components of the server.
  9. 一种服务器部件固件升级的控制设备,其特征在于,包括:A control device for firmware upgrade of server components, comprising:
    存储器,用于存储指令,所述指令包括权利要求1至7任意一项所述服务器部件固件升级的控制方法的步骤;a memory for storing instructions, the instructions comprising the steps of a method for controlling firmware upgrade of a server component according to any one of claims 1 to 7;
    处理器,用于执行所述指令。a processor for executing the instructions.
  10. 一种存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至7任意一项所述服务器部件固件升级的控制方法的步骤。A storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the steps of the method for controlling firmware upgrade of a server component according to any one of claims 1 to 7 are implemented.
PCT/CN2022/078490 2021-03-25 2022-02-28 Method, apparatus and device for controlling firmware upgrade of server component, and storage medium WO2022199335A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110319107.2A CN113031999A (en) 2021-03-25 2021-03-25 Method, device and equipment for controlling firmware upgrade of server component and storage medium
CN202110319107.2 2021-03-25

Publications (1)

Publication Number Publication Date
WO2022199335A1 true WO2022199335A1 (en) 2022-09-29

Family

ID=76473601

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/078490 WO2022199335A1 (en) 2021-03-25 2022-02-28 Method, apparatus and device for controlling firmware upgrade of server component, and storage medium

Country Status (2)

Country Link
CN (1) CN113031999A (en)
WO (1) WO2022199335A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113031999A (en) * 2021-03-25 2021-06-25 山东英信计算机技术有限公司 Method, device and equipment for controlling firmware upgrade of server component and storage medium
CN116204216A (en) * 2021-12-01 2023-06-02 华为技术有限公司 Patch processing method and device and computer equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130179872A1 (en) * 2012-01-11 2013-07-11 Eric Kuzmack In-Band Hypervisor-Managed Firmware Updates
CN103685405A (en) * 2012-09-17 2014-03-26 英业达科技有限公司 Network service system and firmware updating method
CN106980493A (en) * 2016-01-18 2017-07-25 中兴通讯股份有限公司 Firmware management method and apparatus
CN108108177A (en) * 2018-01-02 2018-06-01 联想(北京)有限公司 Firmware upgrade method, physical host and the virtual machine of physical host
CN113031999A (en) * 2021-03-25 2021-06-25 山东英信计算机技术有限公司 Method, device and equipment for controlling firmware upgrade of server component and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7055148B2 (en) * 2000-12-07 2006-05-30 Hewlett-Packard Development Company, L.P. System and method for updating firmware
CN105426215B (en) * 2015-12-11 2018-11-02 福建新大陆支付技术有限公司 Payment terminal remote auto based on Ftp matches firmware updating service packs method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130179872A1 (en) * 2012-01-11 2013-07-11 Eric Kuzmack In-Band Hypervisor-Managed Firmware Updates
CN103685405A (en) * 2012-09-17 2014-03-26 英业达科技有限公司 Network service system and firmware updating method
CN106980493A (en) * 2016-01-18 2017-07-25 中兴通讯股份有限公司 Firmware management method and apparatus
CN108108177A (en) * 2018-01-02 2018-06-01 联想(北京)有限公司 Firmware upgrade method, physical host and the virtual machine of physical host
CN113031999A (en) * 2021-03-25 2021-06-25 山东英信计算机技术有限公司 Method, device and equipment for controlling firmware upgrade of server component and storage medium

Also Published As

Publication number Publication date
CN113031999A (en) 2021-06-25

Similar Documents

Publication Publication Date Title
US11693680B2 (en) Virtual computing systems and methods
CN105745617B (en) Selective power management for pre-boot firmware updates
US8171276B2 (en) Minimal startup mode for performing multiple-reboot configuration
US9361147B2 (en) Guest customization
US9301164B2 (en) Method, system, and terminal for performing system update between mobile communication terminals
WO2022199335A1 (en) Method, apparatus and device for controlling firmware upgrade of server component, and storage medium
US10514930B2 (en) Setting a startup parameter and controlling startup of a mainboard
KR101251710B1 (en) Boot negotiation among multiple boot-capable devices
US10303458B2 (en) Multi-platform installer
US11210132B2 (en) Virtual machine migration in virtualization environment having different virtualization systems
US20120102305A1 (en) Methods and apparatus for building system images and split booting
US9811347B2 (en) Managing dependencies for human interface infrastructure (HII) devices
US10303487B2 (en) System and method for booting an information handling system
CN112486522A (en) Deployment method and device of OpenStack bare machine with intelligent network card
WO2023151287A1 (en) Startup control method, apparatus and device for pci devices in arm server
CN109634659A (en) Method, apparatus, equipment and the storage medium that a kind of couple of BMC is controlled
CN110515671A (en) Initial method, apparatus for initializing, terminal device and readable storage medium storing program for executing
US10394619B2 (en) Signature-based service manager with dependency checking
CN112241141B (en) Hardware configuration method, system, device and medium of PLC control system
CN115291951A (en) UEFI (unified extensible firmware interface) starting method and device, electronic equipment and storage medium
CN115794132A (en) Operating system deployment method, device, equipment and storage medium
US11314500B2 (en) System and method for modularizing update environment in life cycle manager
CN115509590B (en) Continuous deployment method and computer equipment
CN114327748B (en) Virtual machine interaction method and device, nonvolatile storage medium and processor
CN115129346A (en) Method, device, server and medium for upgrading in-band system driver

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22773997

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22773997

Country of ref document: EP

Kind code of ref document: A1