[go: up one dir, main page]

CN111488163A - Firmware updating method and device, electronic equipment and storage medium - Google Patents

Firmware updating method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111488163A
CN111488163A CN202010277622.4A CN202010277622A CN111488163A CN 111488163 A CN111488163 A CN 111488163A CN 202010277622 A CN202010277622 A CN 202010277622A CN 111488163 A CN111488163 A CN 111488163A
Authority
CN
China
Prior art keywords
bmc
candidate
firmware
image file
firmware update
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010277622.4A
Other languages
Chinese (zh)
Other versions
CN111488163B (en
Inventor
候志立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202010277622.4A priority Critical patent/CN111488163B/en
Publication of CN111488163A publication Critical patent/CN111488163A/en
Application granted granted Critical
Publication of CN111488163B publication Critical patent/CN111488163B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0659Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
    • H04L41/0661Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities by reconfiguring faulty entities

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

本申请公开了一种固件更新方法、装置及一种电子设备和计算机可读存储介质,该方法包括:当接收到镜像文件和固件更新列表时,从固件更新列表中选取候选BMC;判断候选BMC的网络状态是否正常;若是,则将镜像文件和固件更新列表发送至候选BMC;若否,则基于候选BMC的属性信息利用候选BMC所属串口服务器更新候选BMC的spiflash,触发候选BMC对应的寄存器重启,利用串口服务器重新配置候选BMC的网络参数,并重新进入判断候选BMC的网络状态是否正常的步骤;基于镜像文件进行固件更新。本申请提供的固件更新方法,依靠串口服务器实现针对升级功能异常BMC的固件更新。

Figure 202010277622

The present application discloses a firmware update method, an apparatus, an electronic device and a computer-readable storage medium. The method includes: when an image file and a firmware update list are received, selecting a candidate BMC from the firmware update list; judging the candidate BMC Whether the network status of the candidate BMC is normal; if so, send the image file and firmware update list to the candidate BMC; if not, use the serial port server to which the candidate BMC belongs to update the spiflash of the candidate BMC based on the attribute information of the candidate BMC, and trigger the register restart of the candidate BMC. , use the serial port server to reconfigure the network parameters of the candidate BMC, and re-enter the step of judging whether the network status of the candidate BMC is normal; update the firmware based on the image file. The firmware update method provided by this application relies on the serial port server to realize the firmware update for the BMC with abnormal upgrade function.

Figure 202010277622

Description

一种固件更新方法、装置及电子设备和存储介质A firmware update method, device, electronic device and storage medium

技术领域technical field

本申请涉及计算机技术领域,更具体地说,涉及一种固件更新方法、装置及一种电子设备和一种计算机可读存储介质。The present application relates to the field of computer technology, and more particularly, to a method and apparatus for updating firmware, an electronic device, and a computer-readable storage medium.

背景技术Background technique

BMC(中文全称:基板管理控制器,英文全称:Baseboard Management Controller)是一种专用芯片或控制器。在IPMI(中文全称:智能平台管理接口,英文全称:IntelligentPlatform Management Interface)中,系统管理软件对各个被管理器件的管理,都是通过与BMC通信来实现的。BMC (full name in Chinese: Baseboard Management Controller, full name in English: Baseboard Management Controller) is a dedicated chip or controller. In IPMI (full name in Chinese: Intelligent Platform Management Interface, full name in English: IntelligentPlatform Management Interface), the management of each managed device by the system management software is realized by communicating with the BMC.

BMC作为一种用于服务器管理和监控的嵌入式软件系统,与所有的软件系统一样,存在软件系统升级更新的需求。在相关技术中,采用以点带面的固件更新方式实现服务器BMC固件更新,当接收到BMC固件更新指令以及相应的固件镜像时,利用固件镜像进行固件更新,并向网络集群中的其它BMC设备节点广播固件更新信息;向传入镜像获取请求的目标BMC设备节点传输固件镜像;当接收到由网络集群中的其它BMC设备节点在基于固件镜像完成固件更新后广播的固件更新信息,且固件更新信息的内容满足固件更新标准时,向其它BMC设备节点获取固件镜像,并利用固件镜像进行固件更新。上述方案可以实现更新一台BMC之后自动实现其余所有BMC的固件更新操作,但是针对BMC无法正常运行或升级功能异常的情况下,无法完成BMC的升级工作。As an embedded software system for server management and monitoring, BMC, like all software systems, needs to be upgraded and updated. In the related art, the server BMC firmware update is implemented in a point-to-point firmware update mode. When receiving the BMC firmware update instruction and the corresponding firmware image, the firmware image is used to update the firmware, and the firmware is broadcast to other BMC device nodes in the network cluster. Update information; transmit the firmware image to the target BMC device node of the incoming image acquisition request; when receiving the firmware update information broadcast by other BMC device nodes in the network cluster after completing the firmware update based on the firmware image, and the content of the firmware update information When the firmware update standard is met, obtain the firmware image from other BMC device nodes, and use the firmware image to update the firmware. The above solution can realize the firmware update operation of all other BMCs automatically after updating one BMC, but in the case that the BMC cannot run normally or the upgrade function is abnormal, the BMC upgrade cannot be completed.

因此,如何实现针对升级功能异常BMC的固件更新是本领域技术人员需要解决的技术问题。Therefore, how to realize the firmware update for the abnormally upgraded BMC is a technical problem to be solved by those skilled in the art.

发明内容SUMMARY OF THE INVENTION

本申请的目的在于提供一种固件更新方法、装置及一种电子设备和一种计算机可读存储介质,实现针对升级功能异常BMC的固件更新。The purpose of this application is to provide a firmware update method and device, an electronic device, and a computer-readable storage medium, so as to implement firmware update for BMCs with abnormal upgrade functions.

为实现上述目的,本申请提供了一种固件更新方法,应用于目标BMC,所述目标BMC为网络状态正常的BMC,所述方法包括:In order to achieve the above object, the application provides a firmware update method, which is applied to a target BMC, where the target BMC is a BMC with a normal network state, and the method includes:

当接收到镜像文件和固件更新列表时,从所述固件更新列表中选取候选BMC;其中,所述固件更新列表记录了所有待更新BMC的属性信息;When receiving the image file and the firmware update list, select candidate BMCs from the firmware update list; wherein, the firmware update list records the attribute information of all BMCs to be updated;

判断所述候选BMC的网络状态是否正常;Determine whether the network status of the candidate BMC is normal;

若是,则将所述镜像文件和所述固件更新列表发送至所述候选BMC,以便所述候选BMC作为所述目标BMC执行从所述固件更新列表中选取候选BMC的步骤;If so, then the image file and the firmware update list are sent to the candidate BMC, so that the candidate BMC performs the step of selecting the candidate BMC from the firmware update list as the target BMC;

若否,则基于所述候选BMC的属性信息利用所述候选BMC所属串口服务器更新所述候选BMC的spiflash,触发所述候选BMC对应的寄存器重启,利用所述串口服务器重新配置所述候选BMC的网络参数,并重新进入所述判断所述候选BMC的网络状态是否正常的步骤;If not, use the serial port server to which the candidate BMC belongs to update the spiflash of the candidate BMC based on the attribute information of the candidate BMC, trigger the restart of the register corresponding to the candidate BMC, and use the serial port server to reconfigure the candidate BMC network parameters, and re-enter the step of judging whether the network state of the candidate BMC is normal;

当所有所述待更新BMC均接收到所述镜像文件时,基于所述镜像文件进行固件更新。When all the BMCs to be updated have received the image file, firmware update is performed based on the image file.

其中,所述属性信息包括所述待更新BMC的IP地址、所述待更新BMC所属串口服务器的IP地址、所述串口服务器所属串口服务器编码和所述待更新BMC的固件更新规则。Wherein, the attribute information includes the IP address of the BMC to be updated, the IP address of the serial port server to which the BMC to be updated belongs, the serial port server code to which the serial port server belongs, and the firmware update rule of the BMC to be updated.

其中,所述基于所述候选BMC的属性信息利用所述候选BMC所属串口服务器更新所述候选BMC的spiflash,包括:Wherein, using the serial port server to which the candidate BMC belongs to update the spiflash of the candidate BMC based on the attribute information of the candidate BMC, including:

基于所述候选BMC所属串口服务器的IP地址和所述候选BMC所属串口服务器编号利用所述候选BMC所属串口服务器更新所述候选BMC的spiflash。Based on the IP address of the serial port server to which the candidate BMC belongs and the serial port server number to which the candidate BMC belongs, the spiflash of the candidate BMC is updated using the serial port server to which the candidate BMC belongs.

其中,所述基于所述镜像文件进行固件更新,包括:Wherein, the firmware update based on the image file includes:

根据所述目标BMC的固件更新规则检查是否需要更新所述镜像文件;Check whether the image file needs to be updated according to the firmware update rule of the target BMC;

若是,则基于所述镜像文件进行固件更新。If so, perform firmware update based on the image file.

其中,所述固件更新规则包括定时更新、关机更新、BMC异常更新中任一项或任几项的组合。Wherein, the firmware update rule includes any one or a combination of any of timing update, shutdown update, and BMC abnormal update.

其中,所述基于所述镜像文件进行固件更新之后,还包括:Wherein, after the firmware update is performed based on the image file, the method further includes:

接收所述候选BMC返回的固件更新状态,并向所述镜像文件的发送方返回所述目标BMC和所述候选BMC的固件更新状态。Receive the firmware update status returned by the candidate BMC, and return the firmware update status of the target BMC and the candidate BMC to the sender of the image file.

其中,将所述镜像文件和所述固件更新列表发送至所述候选BMC之前,还包括:Wherein, before sending the image file and the firmware update list to the candidate BMC, it also includes:

向所述候选BMC发送查询命令,以便判断所述候选BMC是否已接收到所述镜像文件和所述固件更新列表;Send a query command to the candidate BMC, so as to determine whether the candidate BMC has received the image file and the firmware update list;

若是,则重新进入从所述固件更新列表中选取候选BMC的步骤;If so, then re-enter the step of selecting candidate BMC from the firmware update list;

若否,则执行将所述镜像文件和所述固件更新列表发送至所述候选BMC的步骤。If not, the step of sending the image file and the firmware update list to the candidate BMC is performed.

为实现上述目的,本申请提供了一种固件更新装置,应用于目标BMC,所述目标BMC为网络状态正常的BMC,所述装置包括:In order to achieve the above object, the present application provides a firmware update device, which is applied to a target BMC, where the target BMC is a BMC with a normal network state, and the device includes:

选取模块,用于当接收到镜像文件和固件更新列表时,从所述固件更新列表中选取候选BMC;其中,所述固件更新列表记录了所有待更新BMC的属性信息;A selection module for selecting candidate BMCs from the firmware update list when receiving the image file and the firmware update list; wherein, the firmware update list records the attribute information of all BMCs to be updated;

第一判断模块,用于判断所述候选BMC的网络状态是否正常;若是,则启动发送模块的工作流程;若否,则启动配置模块的工作流程;a first judgment module, for judging whether the network state of the candidate BMC is normal; if so, start the work flow of the sending module; if not, start the work flow of the configuration module;

所述发送模块,用于将所述镜像文件和所述固件更新列表发送至所述候选BMC,以便所述候选BMC作为所述目标BMC启动所述选取模块的工作流程;The sending module is used to send the image file and the firmware update list to the candidate BMC, so that the candidate BMC starts the workflow of the selection module as the target BMC;

所述配置模块,用于基于所述候选BMC的属性信息利用所述候选BMC所属串口服务器更新所述候选BMC的spiflash,触发所述候选BMC对应的寄存器重启,利用所述串口服务器重新配置所述候选BMC的网络参数,并重新启动所述第一判断模块的工作流程;The configuration module is configured to use the serial port server to which the candidate BMC belongs to update the spiflash of the candidate BMC based on the attribute information of the candidate BMC, trigger the restart of the register corresponding to the candidate BMC, and use the serial port server to reconfigure the the network parameters of the candidate BMC, and restart the workflow of the first judgment module;

更新模块,用于当所有所述待更新BMC均接收到所述镜像文件时,基于所述镜像文件进行固件更新。An update module, configured to perform firmware update based on the image file when all the BMCs to be updated have received the image file.

为实现上述目的,本申请提供了一种电子设备,包括:To achieve the above purpose, the present application provides an electronic device, including:

存储器,用于存储计算机程序;memory for storing computer programs;

处理器,用于执行所述计算机程序时实现如上述固件更新方法的步骤。The processor is configured to implement the steps of the above firmware updating method when executing the computer program.

为实现上述目的,本申请提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上述固件更新方法的步骤。To achieve the above object, the present application provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above firmware updating method are implemented.

通过以上方案可知,本申请提供的一种固件更新方法,包括:当接收到镜像文件和固件更新列表时,从所述固件更新列表中选取候选BMC;其中,所述固件更新列表记录了所有待更新BMC的属性信息;判断所述候选BMC的网络状态是否正常;若是,则将所述镜像文件和所述固件更新列表发送至所述候选BMC,以便所述候选BMC作为所述目标BMC执行从所述固件更新列表中选取候选BMC的步骤;若否,则基于所述候选BMC的属性信息利用所述候选BMC所属串口服务器更新所述候选BMC的spiflash,触发所述候选BMC对应的寄存器重启,利用所述串口服务器重新配置所述候选BMC的网络参数,并重新进入所述判断所述候选BMC的网络状态是否正常的步骤;当所有所述待更新BMC均接收到所述镜像文件时,基于所述镜像文件进行固件更新。As can be seen from the above solutions, a firmware update method provided by the present application includes: when an image file and a firmware update list are received, selecting a candidate BMC from the firmware update list; wherein, the firmware update list records all pending firmware updates. Update the attribute information of the BMC; determine whether the network status of the candidate BMC is normal; if so, send the image file and the firmware update list to the candidate BMC, so that the candidate BMC acts as the target BMC to execute the slave BMC. The step of selecting a candidate BMC in the firmware update list; if not, based on the attribute information of the candidate BMC, the serial port server to which the candidate BMC belongs is used to update the spiflash of the candidate BMC, and the register corresponding to the candidate BMC is triggered to restart, Use the serial port server to reconfigure the network parameters of the candidate BMC, and re-enter the step of judging whether the network status of the candidate BMC is normal; when all the BMCs to be updated have received the image file, based on The image file is updated with firmware.

本申请提供的固件更新方法,在BMC网络异常时,利用该BMC所属串口服务器重新配置其网络参数,使其网络状态恢复正常。由此可见,本申请提供的固件更新方法,依靠串口服务器实现针对升级功能异常BMC的固件更新,并在实现自身固件更新之前首先将镜像文件下发给了更新列表中的BMC,防止了镜像文件因bmc的重启,网络突发故障等因素导致的镜像文件丢失的情况,每个BMC都可以作为镜像文件和更新列表的提供者,达到了以点带面的效果。本申请还公开了一种固件更新装置及一种电子设备和一种计算机可读存储介质,同样能实现上述技术效果。In the firmware update method provided by the present application, when the BMC network is abnormal, the serial port server to which the BMC belongs is used to reconfigure its network parameters, so that the network state is restored to normal. It can be seen that the firmware update method provided by the present application relies on the serial port server to realize the firmware update for the BMC with abnormal upgrade function, and firstly distributes the image file to the BMC in the update list before implementing its own firmware update, which prevents the image file from being updated. In the case of loss of image files due to BMC restarts, sudden network failures and other factors, each BMC can be used as a provider of image files and update lists, achieving a point-to-point effect. The present application also discloses a firmware update device, an electronic device, and a computer-readable storage medium, which can also achieve the above technical effects.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本申请。It is to be understood that the foregoing general description and the following detailed description are exemplary only and do not limit the application.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。附图是用来提供对本公开的进一步理解,并且构成说明书的一部分,与下面的具体实施方式一起用于解释本公开,但并不构成对本公开的限制。在附图中:In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort. The accompanying drawings are used to provide a further understanding of the present disclosure, and constitute a part of the specification, and together with the following detailed description, are used to explain the present disclosure, but not to limit the present disclosure. In the attached image:

图1为根据一示例性实施例示出的一种固件更新方法的流程图;1 is a flowchart of a method for updating firmware according to an exemplary embodiment;

图2为根据一示例性实施例示出的另一种固件更新方法的流程图;FIG. 2 is a flowchart of another firmware update method according to an exemplary embodiment;

图3为根据一示例性实施例示出的一种固件更新装置的结构图;FIG. 3 is a structural diagram of a firmware updating apparatus according to an exemplary embodiment;

图4为根据一示例性实施例示出的一种电子设备的结构图。FIG. 4 is a structural diagram of an electronic device according to an exemplary embodiment.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。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 work fall within the protection scope of the present application.

本申请实施例公开了一种固件更新方法,实现针对升级功能异常BMC的固件更新。The embodiment of the present application discloses a firmware update method, which implements firmware update for a BMC with an abnormal upgrade function.

参见图1,根据一示例性实施例示出的一种固件更新方法的流程图,如图1所示,包括:Referring to FIG. 1 , a flowchart of a method for updating firmware according to an exemplary embodiment, as shown in FIG. 1 , includes:

S101:当接收到镜像文件和固件更新列表时,从所述固件更新列表中选取候选BMC;其中,所述固件更新列表记录了所有待更新BMC的属性信息;S101: when receiving the image file and the firmware update list, select candidate BMCs from the firmware update list; wherein, the firmware update list records the attribute information of all BMCs to be updated;

本实施例的执行主体为目标BMC,即待更新BMC中网络状态正常的BMC,目的为以点带面对所有待更新BMC进行固件更新。在具体实施中,客户后台管理系统将待更新的BMC镜像文件与固件更新列表下发至目标BMC。固件更新列表包括所有待更新BMC的属性信息,此处的属性信息可以包括待更新BMC的IP地址、待更新BMC所属串口服务器的IP地址、串口服务器所属串口服务器编码和待更新BMC的固件更新规则,固件更新规则可以包括定时更新、关机更新、BMC异常更新等,在此不进行具体限定。The execution subject of this embodiment is the target BMC, that is, the BMC with a normal network state in the BMC to be updated, and the purpose is to perform firmware update for all the BMCs to be updated with a point band. In a specific implementation, the client background management system delivers the BMC image file to be updated and the firmware update list to the target BMC. The firmware update list includes the attribute information of all BMCs to be updated. The attribute information here can include the IP address of the BMC to be updated, the IP address of the serial server to which the BMC belongs, the serial server code to which the serial server belongs, and the firmware update rules of the BMC to be updated. , the firmware update rule may include regular update, shutdown update, abnormal BMC update, etc., which are not specifically limited here.

目标BMC接收到镜像文件和固件更新列表后,从固件更新列表中一台BMC,即本步骤的候选BMC。在本步骤中,可以在固件更新列表顺序选择下一台BMC作为候选BMC,当然也可以采用其他选择方式,在此不进行具体限定。After receiving the image file and the firmware update list, the target BMC selects a BMC from the firmware update list, that is, the candidate BMC in this step. In this step, the next BMC may be sequentially selected as a candidate BMC in the firmware update list. Of course, other selection methods may also be used, which are not specifically limited here.

S102:判断所述候选BMC的网络状态是否正常;若是,则进入S103;若否,则进入S104;S102: Determine whether the network state of the candidate BMC is normal; if so, enter S103; if not, enter S104;

S103:将所述镜像文件和所述固件更新列表发送至所述候选BMC;S103: Send the image file and the firmware update list to the candidate BMC;

在本步骤中,若候选BMC的网络状态正常,则目标BMC将镜像文件和固件更新列表发送至候选BMC,候选BMC作为新的目标BMC执行本实施例的步骤S101,达到以点带面的固件更新效果In this step, if the network status of the candidate BMC is normal, the target BMC sends the image file and the firmware update list to the candidate BMC, and the candidate BMC is used as a new target BMC to perform step S101 of this embodiment, so as to achieve a point-to-point firmware update effect

S104:基于所述候选BMC的属性信息利用所述候选BMC所属串口服务器更新所述候选BMC的spiflash,触发所述候选BMC对应的寄存器重启,利用所述串口服务器重新配置所述候选BMC的网络参数,并重新进入步骤S102;S104: Based on the attribute information of the candidate BMC, use the serial port server to which the candidate BMC belongs to update the spiflash of the candidate BMC, trigger the restart of the register corresponding to the candidate BMC, and use the serial port server to reconfigure the network parameters of the candidate BMC , and re-enter step S102;

在本步骤中,若候选BMC的网络状态异常,则根据候选BMC所属串口服务器的IP地址和候选BMC所属串口服务器编号,采用候选BMC所属串口服务器对BMC的spiflash进行更新,即所述基于所述候选BMC的属性信息利用所述候选BMC所属串口服务器更新所述候选BMC的spiflash的步骤包括:基于所述候选BMC所属串口服务器的IP地址和所述候选BMC所属串口服务器编号利用所述候选BMC所属串口服务器更新所述候选BMC的spiflash。In this step, if the network status of the candidate BMC is abnormal, then according to the IP address of the serial server to which the candidate BMC belongs and the serial server number to which the candidate BMC belongs, use the serial server to which the candidate BMC belongs to update the spiflash of the BMC. The attribute information of the candidate BMC uses the serial port server to which the candidate BMC belongs to update the spiflash of the candidate BMC. The serial server updates the spiflash of the candidate BMC.

更新完成触发候选BMC对应的寄存器重启,重启后通过串口服务器配置好对应的候选BMC的网络参数,并重新进入步骤S102。After the update is completed, the register corresponding to the candidate BMC is triggered to restart. After the restart, the network parameters of the corresponding candidate BMC are configured through the serial port server, and step S102 is entered again.

S105:当所有所述待更新BMC均接收到所述镜像文件时,基于所述镜像文件进行固件更新。S105: When all the BMCs to be updated have received the image file, perform firmware update based on the image file.

在本步骤中,当所有BMC均收到镜像文件后,根据接收到的镜像文件进行更新。作为一种优选实施方式,本步骤可以包括:根据所述目标BMC的固件更新规则检查是否需要更新所述镜像文件;若是,则当所有所述待更新BMC均接收到所述镜像文件时,基于所述镜像文件进行固件更新。在具体实施中,用户可以定制每个BMC的固件更新规则,例如定时更新、关机更新、BMC异常更新等,满足了不同BMC的灵活需求。In this step, after all the BMCs have received the image files, they update according to the received image files. As a preferred embodiment, this step may include: checking whether the image file needs to be updated according to the firmware update rule of the target BMC; if so, when all the BMCs to be updated have received the image file, based on The image file is updated with firmware. In the specific implementation, users can customize the firmware update rules of each BMC, such as regular update, shutdown update, BMC abnormal update, etc., to meet the flexible requirements of different BMCs.

本申请实施例提供的固件更新方法,在BMC网络异常时,利用该BMC所属串口服务器重新配置其网络参数,使其网络状态恢复正常。由此可见,本申请实施例提供的固件更新方法,依靠串口服务器实现针对升级功能异常BMC的固件更新,并在实现自身固件更新之前首先将镜像文件下发给了更新列表中的BMC,防止了镜像文件因bmc的重启,网络突发故障等因素导致的镜像文件丢失的情况,每个BMC都可以作为镜像文件和更新列表的提供者,达到了以点带面的效果。In the firmware update method provided by the embodiment of the present application, when the BMC network is abnormal, the serial port server to which the BMC belongs is used to reconfigure its network parameters, so that the network state is restored to normal. It can be seen that the firmware update method provided by the embodiment of the present application relies on the serial port server to realize the firmware update for the BMC with abnormal upgrade function, and firstly distributes the image file to the BMC in the update list before implementing the firmware update itself, preventing the When the image file is lost due to the restart of the BMC, sudden network failure, etc., each BMC can serve as the provider of the image file and update list, achieving the effect of point-to-point.

本申请实施例公开了一种固件更新方法,相对于上一实施例,本实施例对技术方案作了进一步的说明和优化。具体的:The embodiment of the present application discloses a firmware update method. Compared with the previous embodiment, the present embodiment further describes and optimizes the technical solution. specific:

参见图2,根据一示例性实施例示出的另一种固件更新方法的流程图,如图2所示,包括:Referring to FIG. 2, a flowchart of another firmware update method according to an exemplary embodiment, as shown in FIG. 2, includes:

S201:当接收到镜像文件和固件更新列表时,从所述固件更新列表中选取候选BMC;其中,所述固件更新列表记录了所有待更新BMC的属性信息;S201: when receiving the image file and the firmware update list, select candidate BMCs from the firmware update list; wherein, the firmware update list records the attribute information of all BMCs to be updated;

S202:判断所述候选BMC的网络状态是否正常;若是,则进入S203;若否,则进入S205;S202: Determine whether the network status of the candidate BMC is normal; if so, enter S203; if not, enter S205;

S203:向所述候选BMC发送查询命令,以便判断所述候选BMC是否已接收到所述镜像文件和所述固件更新列表;若是,则重新进入步骤S201;若否,则进入S204;S203: Send a query command to the candidate BMC, so as to determine whether the candidate BMC has received the image file and the firmware update list; if so, re-enter step S201; if not, enter S204;

在本实施例中,为了缩减发送镜像文件和固件更新列表的流程,目标BMC首先向候选BMC发送查询命令,确定候选BMC是否已接收到镜像文件和更新列表,接收到则进入步骤S201,从固件更新列表中重新选择候选BMC,未接收到则进入S204,将镜像文件和固件更新列表发送至候选BMC。In this embodiment, in order to reduce the process of sending the image file and the firmware update list, the target BMC first sends a query command to the candidate BMC to determine whether the candidate BMC has received the image file and the update list, and then proceeds to step S201, from the firmware The candidate BMC is re-selected in the update list, and if it is not received, it goes to S204, and the image file and the firmware update list are sent to the candidate BMC.

S204:将所述镜像文件和所述固件更新列表发送至所述候选BMC;S204: Send the image file and the firmware update list to the candidate BMC;

S205:基于所述候选BMC的属性信息利用所述候选BMC所属串口服务器更新所述候选BMC的spiflash,触发所述候选BMC对应的寄存器重启,利用所述串口服务器重新配置所述候选BMC的网络参数,并重新步骤S202;S205: Based on the attribute information of the candidate BMC, use the serial port server to which the candidate BMC belongs to update the spiflash of the candidate BMC, trigger the restart of the register corresponding to the candidate BMC, and use the serial port server to reconfigure the network parameters of the candidate BMC , and repeat step S202;

S206:当所有所述待更新BMC均接收到所述镜像文件时,基于所述镜像文件进行固件更新;S206: when all the BMCs to be updated have received the image file, perform firmware update based on the image file;

S207:接收所述候选BMC返回的固件更新状态,并向所述镜像文件的发送方返回所述目标BMC和所述候选BMC的固件更新状态。S207: Receive the firmware update status returned by the candidate BMC, and return the firmware update status of the target BMC and the candidate BMC to the sender of the image file.

在具体实施中,每个候选BMC基于镜像文件完成更新后,向目标BMC返回固件更新状态,目标BMC基于镜像文件完成更新后,将本机的固件更新状态及接收到的候选BMC的固件更新状态上报至发送方,并重新进入从固件更新列表中选取候选BMC的步骤。In a specific implementation, after each candidate BMC completes the update based on the image file, it returns the firmware update state to the target BMC. After the target BMC completes the update based on the image file, the firmware update state of the local machine and the received firmware update state of the candidate BMC are updated. Report to the sender and re-enter the step of selecting candidate BMCs from the firmware update list.

下面对本申请实施例提供的一种固件更新装置进行介绍,下文描述的一种固件更新装置与上文描述的一种固件更新方法可以相互参照。A firmware update apparatus provided by an embodiment of the present application is introduced below. A firmware update apparatus described below and a firmware update method described above can be referred to each other.

参见图3,根据一示例性实施例示出的一种固件更新装置的结构图,如图3所示,包括:Referring to FIG. 3 , a structural diagram of a firmware updating apparatus according to an exemplary embodiment, as shown in FIG. 3 , includes:

选取模块301,用于当接收到镜像文件和固件更新列表时,从所述固件更新列表中选取候选BMC;其中,所述固件更新列表记录了所有待更新BMC的属性信息;The selection module 301 is used to select candidate BMCs from the firmware update list when receiving the image file and the firmware update list; wherein, the firmware update list records the attribute information of all BMCs to be updated;

第一判断模块302,用于判断所述候选BMC的网络状态是否正常;若是,则启动发送模块303的工作流程;若否,则启动配置模块304的工作流程;The first judgment module 302 is used to judge whether the network state of the candidate BMC is normal; if so, start the work flow of the sending module 303; if not, start the work flow of the configuration module 304;

所述发送模块303,用于将所述镜像文件和所述固件更新列表发送至所述候选BMC,以便所述候选BMC作为所述目标BMC启动所述选取模块301的工作流程;The sending module 303 is configured to send the image file and the firmware update list to the candidate BMC, so that the candidate BMC starts the workflow of the selection module 301 as the target BMC;

所述配置模块304,用于基于所述候选BMC的属性信息利用所述候选BMC所属串口服务器更新所述候选BMC的spiflash,触发所述候选BMC对应的寄存器重启,利用所述串口服务器重新配置所述候选BMC的网络参数,并重新启动所述第一判断模块302的工作流程;The configuration module 304 is configured to use the serial port server to which the candidate BMC belongs to update the spiflash of the candidate BMC based on the attribute information of the candidate BMC, trigger the restart of the register corresponding to the candidate BMC, and use the serial port server to reconfigure all the settings. the network parameters of the candidate BMC, and restart the workflow of the first judgment module 302;

更新模块305,用于当所有所述待更新BMC均接收到所述镜像文件时,基于所述镜像文件进行固件更新。The update module 305 is configured to perform firmware update based on the image file when all the BMCs to be updated have received the image file.

本申请实施例提供的固件更新装置,在BMC网络异常时,利用该BMC所属串口服务器重新配置其网络参数,使其网络状态恢复正常。由此可见,本申请实施例提供的固件更新装置,依靠串口服务器实现针对升级功能异常BMC的固件更新,并在实现自身固件更新之前首先将镜像文件下发给了更新列表中的BMC,防止了镜像文件因bmc的重启,网络突发故障等因素导致的镜像文件丢失的情况,每个BMC都可以作为镜像文件和更新列表的提供者,达到了以点带面的效果。The firmware update device provided by the embodiment of the present application uses the serial port server to which the BMC belongs to reconfigure its network parameters when the BMC network is abnormal, so that the network state returns to normal. It can be seen that the firmware update device provided by the embodiment of the present application relies on the serial port server to implement firmware update for the BMC with abnormal upgrade function, and firstly distributes the image file to the BMC in the update list before implementing the firmware update itself, preventing the When the image file is lost due to the restart of the BMC, sudden network failure, etc., each BMC can serve as the provider of the image file and update list, achieving the effect of point-to-point.

在上述实施例的基础上,作为一种优选实施方式,所述属性信息包括所述待更新BMC的IP地址、所述待更新BMC所属串口服务器的IP地址、所述串口服务器所属串口服务器编码和所述待更新BMC的固件更新规则。On the basis of the above embodiment, as a preferred implementation manner, the attribute information includes the IP address of the BMC to be updated, the IP address of the serial port server to which the BMC to be updated belongs, the serial port server code to which the serial port server belongs, and The firmware update rule of the to-be-updated BMC.

在上述实施例的基础上,作为一种优选实施方式,所述配置模块304包括:On the basis of the foregoing embodiment, as a preferred implementation manner, the configuration module 304 includes:

更新单元,用于基于所述候选BMC所属串口服务器的IP地址和所述候选BMC所属串口服务器编号利用所述候选BMC所属串口服务器更新所述候选BMC的spiflash;An update unit, used for updating the spiflash of the candidate BMC by utilizing the serial port server to which the candidate BMC belongs based on the IP address of the serial port server to which the candidate BMC belongs and the serial port server number to which the candidate BMC belongs;

配置单元,用于触发所述候选BMC对应的寄存器重启,利用所述串口服务器重新配置所述候选BMC的网络参数,并重新启动所述第一判断模块302的工作流程。A configuration unit, configured to trigger the restart of the register corresponding to the candidate BMC, use the serial port server to reconfigure the network parameters of the candidate BMC, and restart the work flow of the first judgment module 302 .

在上述实施例的基础上,作为一种优选实施方式,所述更新模块305具体为根据所述目标BMC的固件更新规则检查是否需要更新所述镜像文件;若是,则基于所述镜像文件进行固件更新的模块。On the basis of the above embodiment, as a preferred implementation manner, the update module 305 specifically checks whether the image file needs to be updated according to the firmware update rule of the target BMC; Updated module.

在上述实施例的基础上,作为一种优选实施方式,所述固件更新规则包括定时更新、关机更新、BMC异常更新中任一项或任几项的组合。On the basis of the above-mentioned embodiment, as a preferred implementation manner, the firmware update rule includes any one or a combination of any of timing update, shutdown update, and BMC abnormal update.

在上述实施例的基础上,作为一种优选实施方式,还包括:On the basis of the above embodiment, as a preferred implementation, it also includes:

返回模块,用于接收所述候选BMC返回的固件更新状态,并向所述镜像文件的发送方返回所述目标BMC和所述候选BMC的固件更新状态。The returning module is configured to receive the firmware update status returned by the candidate BMC, and return the firmware update status of the target BMC and the candidate BMC to the sender of the image file.

在上述实施例的基础上,作为一种优选实施方式,还包括:On the basis of the above embodiment, as a preferred implementation, it also includes:

第二判断模块,用于向所述候选BMC发送查询命令,以便判断所述候选BMC是否已接收到所述镜像文件和所述固件更新列表;若是,则重新启动所述选取模块301的工作流程;若否,则启动所述发送模块303的工作流程。The second judgment module is configured to send a query command to the candidate BMC, so as to judge whether the candidate BMC has received the image file and the firmware update list; if so, restart the workflow of the selection module 301 ; if not, start the work flow of the sending module 303 .

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above-mentioned embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.

本申请还提供了一种电子设备,参见图4,本申请实施例提供的一种电子设备400的结构图,如图4所示,可以包括处理器11和存储器12。该电子设备400还可以包括多媒体组件13,输入/输出(I/O)接口14,以及通信组件15中的一者或多者。The present application further provides an electronic device. Referring to FIG. 4 , a structural diagram of an electronic device 400 provided by an embodiment of the present application, as shown in FIG. 4 , may include a processor 11 and a memory 12 . The electronic device 400 may also include one or more of a multimedia component 13 , an input/output (I/O) interface 14 , and a communication component 15 .

其中,处理器11用于控制该电子设备400的整体操作,以完成上述的固件更新方法中的全部或部分步骤。存储器12用于存储各种类型的数据以支持在该电子设备400的操作,这些数据例如可以包括用于在该电子设备400上操作的任何应用程序或方法的指令,以及应用程序相关的数据,例如联系人数据、收发的消息、图片、音频、视频等等。该存储器12可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,例如静态随机存取存储器(Static Random Access Memory,简称SRAM),电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,简称EEPROM),可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,简称EPROM),可编程只读存储器(Programmable Read-Only Memory,简称PROM),只读存储器(Read-Only Memory,简称ROM),磁存储器,快闪存储器,磁盘或光盘。多媒体组件13可以包括屏幕和音频组件。其中屏幕例如可以是触摸屏,音频组件用于输出和/或输入音频信号。例如,音频组件可以包括一个麦克风,麦克风用于接收外部音频信号。所接收的音频信号可以被进一步存储在存储器12或通过通信组件15发送。音频组件还包括至少一个扬声器,用于输出音频信号。I/O接口14为处理器11和其他接口模块之间提供接口,上述其他接口模块可以是键盘,鼠标,按钮等。这些按钮可以是虚拟按钮或者实体按钮。通信组件15用于该电子设备400与其他设备之间进行有线或无线通信。无线通信,例如Wi-Fi,蓝牙,近场通信(Near FieldCommunication,简称NFC),2G、3G或4G,或它们中的一种或几种的组合,因此相应的该通信组件15可以包括:Wi-Fi模块,蓝牙模块,NFC模块。Wherein, the processor 11 is used to control the overall operation of the electronic device 400 to complete all or part of the steps in the above-mentioned firmware update method. The memory 12 is used to store various types of data to support operations on the electronic device 400, such data may include, for example, instructions for any application or method operating on the electronic device 400, and application-related data, Such as contact data, messages sent and received, pictures, audio, video, and so on. The memory 12 can be implemented by any type of volatile or nonvolatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, SRAM for short), electrically erasable programmable read-only memory ( Electrically Erasable Programmable Read-Only Memory (EEPROM for short), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), read-only Memory (Read-Only Memory, ROM for short), magnetic memory, flash memory, magnetic disk or optical disk. Multimedia components 13 may include screen and audio components. Wherein the screen can be, for example, a touch screen, and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may be further stored in the memory 12 or transmitted through the communication component 15 . The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 14 provides an interface between the processor 11 and other interface modules, and the above-mentioned other interface modules may be a keyboard, a mouse, a button, and the like. These buttons can be virtual buttons or physical buttons. The communication component 15 is used for wired or wireless communication between the electronic device 400 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC for short), 2G, 3G or 4G, or a combination of one or more of them, so the corresponding communication component 15 may include: Wi-Fi -Fi module, bluetooth module, NFC module.

在一示例性实施例中,电子设备400可以被一个或多个应用专用集成电路(Application Specific Integrated Circuit,简称ASIC)、数字信号处理器(DigitalSignal Processor,简称DSP)、数字信号处理设备(Digital Signal Processing Device,简称DSPD)、可编程逻辑器件(Programmable Logic Device,简称PLD)、现场可编程门阵列(Field Programmable Gate Array,简称FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述的固件更新方法。In an exemplary embodiment, the electronic device 400 may be implemented by one or more application-specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), digital signal processors (Digital Signal Processor, DSP for short), digital signal processing devices (Digital Signal Processing). Processing Device (DSPD for short), Programmable Logic Device (PLD for short), Field Programmable Gate Array (FPGA for short), controller, microcontroller, microprocessor or other electronic components , which is used to execute the above firmware update method.

在另一示例性实施例中,还提供了一种包括程序指令的计算机可读存储介质,该程序指令被处理器执行时实现上述固件更新方法的步骤。例如,该计算机可读存储介质可以为上述包括程序指令的存储器12,上述程序指令可由电子设备400的处理器11执行以完成上述的固件更新方法。In another exemplary embodiment, there is also provided a computer-readable storage medium comprising program instructions, the program instructions implementing the steps of the above firmware updating method when executed by a processor. For example, the computer-readable storage medium can be the above-mentioned memory 12 including program instructions, and the above-mentioned program instructions can be executed by the processor 11 of the electronic device 400 to complete the above-mentioned firmware update method.

说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以对本申请进行若干改进和修饰,这些改进和修饰也落入本申请权利要求的保护范围内。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. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant part can be referred to the description of the method. 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 firmware updating method is applied to a target BMC, wherein the target BMC is a BMC with a normal network state, and the method comprises the following steps:
when an image file and a firmware update list are received, selecting a candidate BMC from the firmware update list; the firmware updating list records attribute information of all BMCs to be updated;
judging whether the network state of the candidate BMC is normal;
if so, sending the image file and the firmware update list to the candidate BMC so that the candidate BMC can be used as the target BMC to select the candidate BMC from the firmware update list;
if not, updating the spiflash of the candidate BMC by using the serial port server to which the candidate BMC belongs based on the attribute information of the candidate BMC, triggering the register corresponding to the candidate BMC to restart, reconfiguring the network parameter of the candidate BMC by using the serial port server, and re-entering the step of judging whether the network state of the candidate BMC is normal;
and when all the BMCs to be updated receive the image files, updating the firmware based on the image files.
2. The firmware updating method according to claim 1, wherein the attribute information includes an IP address of the BMC to be updated, an IP address of a serial server to which the BMC to be updated belongs, a serial server code to which the serial server belongs, and a firmware updating rule of the BMC to be updated.
3. The firmware updating method according to claim 2, wherein the updating the spiflash of the candidate BMC by using the serial server to which the candidate BMC belongs based on the attribute information of the candidate BMC comprises:
and updating the spiflash of the candidate BMC by using the serial server of the candidate BMC based on the IP address of the serial server of the candidate BMC and the serial number of the serial server of the candidate BMC.
4. The firmware updating method according to claim 1, wherein the updating the firmware based on the image file comprises:
checking whether the image file needs to be updated according to a firmware updating rule of the target BMC;
and if so, updating the firmware based on the image file.
5. The firmware update method according to claim 4, wherein the firmware update rule comprises any one or a combination of a timing update, a shutdown update, and a BMC exception update.
6. The firmware updating method according to claim 1, further comprising, after the firmware update based on the image file:
and receiving the firmware updating state returned by the candidate BMC, and returning the firmware updating states of the target BMC and the candidate BMC to a sender of the image file.
7. The firmware update method according to any one of claims 1 to 6, wherein before sending the image file and the firmware update list to the candidate BMC, the method further comprises:
sending a query command to the candidate BMC to determine whether the candidate BMC has received the image file and the firmware update list;
if yes, re-entering the step of selecting the candidate BMC from the firmware updating list;
and if not, executing the step of sending the image file and the firmware update list to the candidate BMC.
8. A firmware update device is applied to a target BMC, wherein the target BMC is a BMC with a normal network state, and the device comprises:
the system comprises a selecting module, a setting module and a judging module, wherein the selecting module is used for selecting a candidate BMC from a firmware updating list when receiving a mirror image file and the firmware updating list; the firmware updating list records attribute information of all BMCs to be updated;
the first judgment module is used for judging whether the network state of the candidate BMC is normal or not; if yes, starting the working process of the sending module; if not, starting the working process of the configuration module;
the sending module is configured to send the image file and the firmware update list to the candidate BMC, so that the candidate BMC starts a workflow of the selecting module as the target BMC;
the configuration module is configured to update the spiflash of the candidate BMC by using the serial server to which the candidate BMC belongs based on the attribute information of the candidate BMC, trigger the restart of the register corresponding to the candidate BMC, reconfigure the network parameters of the candidate BMC by using the serial server, and restart the workflow of the first judgment module;
and the updating module is used for updating the firmware based on the image file when all the BMCs to be updated receive the image file.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the firmware update method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the firmware updating method according to any one of claims 1 to 7.
CN202010277622.4A 2020-04-08 2020-04-08 Firmware updating method and device, electronic equipment and storage medium Active CN111488163B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010277622.4A CN111488163B (en) 2020-04-08 2020-04-08 Firmware updating method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010277622.4A CN111488163B (en) 2020-04-08 2020-04-08 Firmware updating method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111488163A true CN111488163A (en) 2020-08-04
CN111488163B CN111488163B (en) 2022-11-08

Family

ID=71812705

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010277622.4A Active CN111488163B (en) 2020-04-08 2020-04-08 Firmware updating method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111488163B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114168173A (en) * 2021-11-25 2022-03-11 浪潮(山东)计算机科技有限公司 A firmware update method, device, electronic device and storage medium
CN114237658A (en) * 2021-11-26 2022-03-25 曙光信息产业股份有限公司 Method and circuit for updating firmware based on BMC
CN114443121A (en) * 2022-01-07 2022-05-06 苏州浪潮智能科技有限公司 A firmware update method and related components

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902327A (en) * 2012-12-29 2014-07-02 鸿富锦精密工业(深圳)有限公司 BMC starting system and method
CN106789379A (en) * 2017-03-29 2017-05-31 联想(北京)有限公司 Update method and server cabinet
CN106909362A (en) * 2015-12-23 2017-06-30 研祥智能科技股份有限公司 The method and apparatus that the method and apparatus of BMC firmwares generation, BMC systems start
CN107682197A (en) * 2017-10-17 2018-02-09 锐捷网络股份有限公司 Device updating method, the network equipment and server
US20180309877A1 (en) * 2017-04-21 2018-10-25 Wistron Corporation Network telephone device, external connection card and communication method therefor
CN108848182A (en) * 2018-06-28 2018-11-20 郑州云海信息技术有限公司 A kind of update method, relevant device and the system of BMC firmware
CN109542489A (en) * 2018-12-18 2019-03-29 新华三技术有限公司 Upgrade method, device and server
CN109634634A (en) * 2018-12-12 2019-04-16 浪潮(北京)电子信息产业有限公司 A kind of BMC firmware upgrade method, device and terminal
CN109766118A (en) * 2019-01-02 2019-05-17 紫光华山信息技术有限公司 Firmware file loading method, device and girff formula server
CN110399136A (en) * 2019-06-18 2019-11-01 苏州浪潮智能科技有限公司 A kind of BMC firmware update method, apparatus, equipment and medium
CN110781527A (en) * 2019-09-29 2020-02-11 苏州浪潮智能科技有限公司 Control register protection method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902327A (en) * 2012-12-29 2014-07-02 鸿富锦精密工业(深圳)有限公司 BMC starting system and method
CN106909362A (en) * 2015-12-23 2017-06-30 研祥智能科技股份有限公司 The method and apparatus that the method and apparatus of BMC firmwares generation, BMC systems start
CN106789379A (en) * 2017-03-29 2017-05-31 联想(北京)有限公司 Update method and server cabinet
US20180309877A1 (en) * 2017-04-21 2018-10-25 Wistron Corporation Network telephone device, external connection card and communication method therefor
CN107682197A (en) * 2017-10-17 2018-02-09 锐捷网络股份有限公司 Device updating method, the network equipment and server
CN108848182A (en) * 2018-06-28 2018-11-20 郑州云海信息技术有限公司 A kind of update method, relevant device and the system of BMC firmware
CN109634634A (en) * 2018-12-12 2019-04-16 浪潮(北京)电子信息产业有限公司 A kind of BMC firmware upgrade method, device and terminal
CN109542489A (en) * 2018-12-18 2019-03-29 新华三技术有限公司 Upgrade method, device and server
CN109766118A (en) * 2019-01-02 2019-05-17 紫光华山信息技术有限公司 Firmware file loading method, device and girff formula server
CN110399136A (en) * 2019-06-18 2019-11-01 苏州浪潮智能科技有限公司 A kind of BMC firmware update method, apparatus, equipment and medium
CN110781527A (en) * 2019-09-29 2020-02-11 苏州浪潮智能科技有限公司 Control register protection method and device

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
后振梅姒俏: "用360软件管理,升级软件怎么显示网络连接异常啊", 《HTTPS://ZHIDAO.BAIDU.COM/QUESTION/2123462502197179027.HTML》 *
小小杯咖啡: "杀毒软件无法升级,升级就显示"无法连接网络"", 《HTTPS://ZHIDAO.BAIDU.COM/QUESTION/112509540.HTML》 *
张勇等: "《ARM CORTEX MO LPC1115 开发实战》", 31 January 2014, 北京航空航天大学出版社 *
易修网: "OPPO手机软件升级常见问题与解答详情分析", 《BLOG.SINA.COM.CN/S/BLOG_D628A1E10101PGMN.HTML》 *
罗剑: "《微控制器应用系统开发项目教程》", 31 August 2017, 西安电子科技大学出版社 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114168173A (en) * 2021-11-25 2022-03-11 浪潮(山东)计算机科技有限公司 A firmware update method, device, electronic device and storage medium
CN114237658A (en) * 2021-11-26 2022-03-25 曙光信息产业股份有限公司 Method and circuit for updating firmware based on BMC
CN114443121A (en) * 2022-01-07 2022-05-06 苏州浪潮智能科技有限公司 A firmware update method and related components
CN114443121B (en) * 2022-01-07 2023-09-12 苏州浪潮智能科技有限公司 Firmware updating method and related components

Also Published As

Publication number Publication date
CN111488163B (en) 2022-11-08

Similar Documents

Publication Publication Date Title
US9253265B2 (en) Hot pluggable extensions for access management system
CN111488163B (en) Firmware updating method and device, electronic equipment and storage medium
CN109462507B (en) Configuration updating method, device and system and electronic equipment
CN111752577B (en) Upgrading method and equipment for system version
CN112100005A (en) Redis copy set implementation method and device
CN111770174A (en) A cloud platform deployment method, apparatus, device and readable storage medium
CN110879718A (en) maridb upgrading method and device, electronic equipment and storage medium
TWI518680B (en) Method for maintaining file system of computer system
CN118922815A (en) Automated configuration conflict resolution and lightweight recovery
TWI801730B (en) Server with system setting data synchronization function
CN112612635B (en) Multi-level protection method for application program
CN117234698B (en) Program exception handling method, electronic equipment and storage medium
CN108595292B (en) System optimization method, mobile terminal and computer storage medium
JP6163802B2 (en) Server apparatus, update system, update method and program
CN107704399B (en) Method and device for storing data
US11797334B1 (en) BMC parameter configuration and effect-taking method and apparatus, device, and medium
WO2023198056A1 (en) Firmware update method for embedded device, and embedded device
CN110908701A (en) Firmware version switching method and device, storage medium and electronic equipment
CN114296823A (en) Information processing method and device for decoupling between service modules
CN110058866B (en) Cluster component installation method and equipment
CN116846865A (en) Domain name configuration methods, devices, electronic equipment and computer program products
CN111159786B (en) Metadata protection method, device, electronic device and storage medium
TWI757923B (en) Pre-boot execution environment determination system and method thereof
CN118733073A (en) Server firmware upgrade method, device, electronic device and readable storage medium
US20220358003A1 (en) Data Management Method, Apparatus, and Device, Computer-Readable Storage Medium, and System

Legal Events

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