Firmware updating method and computing equipment

By providing multi-component type controls and progress indication interface in the server, users can accurately select and update target components, solving errors and repeated update problems in firmware updates, and improving the accuracy and efficiency of updates.

CN119271242APending Publication Date: 2025-01-07XFUSION DIGITAL TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411380342.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

During the firmware update process of multiple components of the server, errors or repeated updates are prone to occur, resulting in inaccurate updates.

Method used

Provide a firmware update method. By displaying controls of multiple component types, users can intuitively select target components and perform accurate updates, avoiding the error update of components of the same type but different information, and flexibly obtain firmware packages using local and remote upload methods. , and improve user experience through the progress indication interface.

Benefits of technology

It improves the accuracy and efficiency of firmware updates, avoids the situation where components with the same component types but different information are updated incorrectly, meets the firmware upload needs in different scenarios, and simplifies user operation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119271242A_ABST
    Figure CN119271242A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a firmware updating method and computing device.The method comprises the steps that in response to a firmware updating request, a first interface is displayed, and the first interface comprises multiple types of controls corresponding to multiple component types; in response to a first trigger signal, displaying a second interface, the first trigger signal being generated by triggering a target type control by a user, the plurality of types of controls including the target type control, and the second interface including display information of at least one to-be-selected component corresponding to the target type control and a selection control; target to-be-selected components are determined, firmware of the target to-be-selected components is updated, and the at least one to-be-selected component comprises the target to-be-selected component. The firmware updating method and the computing device are used for achieving accurate firmware updating among a plurality of components of the same component type, and firmware updating errors or repeated updating of part of components corresponding to the component type are avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of computing devices, and in particular, to a firmware update method and a computing device. Background Art

[0002] Enterprises can update the firmware (FW) of all or some of the server components. For example, server components may include baseboard management controller (BMC), basic input output system (BIOS), complex programmable logic device (CPLD) and power supply unit (PSU).

[0003] In the related art, the firmware of multiple components in a server can be updated through a firmware package.

[0004] However, when the firmware of these multiple components are updated, there may be problems of incorrect or repeated updates of the firmware of the components. Summary of the invention

[0005] An embodiment of the present application provides a firmware update method and a computing device, which are used to implement accurate firmware updates between multiple components of the same component type, avoiding firmware update errors or repeated updates of some components corresponding to the component type.

[0006] In a first aspect, an embodiment of the present application provides a firmware update method, the method comprising:

[0007] In response to the firmware update request, displaying a first interface, the first interface including a plurality of type controls corresponding to a plurality of component types;

[0008] In response to a first trigger signal, a second interface is displayed, the first trigger signal is generated by a user triggering a target type control, the multiple type controls include a target type control, and the second interface includes display information and a selection control of at least one to-be-selected component corresponding to the target type control;

[0009] A target candidate component is determined, and firmware of the target candidate component is updated, wherein at least one candidate component includes the target candidate component.

[0010] In the above technical solution, a first interface and a second interface can be provided to the user, so that the user can intuitively and quickly understand the quantity, component identification, component model and firmware version number of at least one candidate component of the target component type corresponding to the target type control after clicking the target type control, and it is convenient for the user to accurately locate the target candidate component that needs to be updated in at least one candidate component according to business needs, so as to avoid the situation where the firmware of components with the same component type but different component information are updated incorrectly, which is conducive to improving the accuracy of firmware updates.

[0011] In a possible implementation, updating the firmware of the target candidate component includes:

[0012] In response to the second trigger signal, a third interface is displayed, the third interface includes a firmware upload control, and the second trigger signal is generated by a user triggering the second interface;

[0013] The firmware package corresponding to the target component to be selected is obtained based on the firmware upload control, and the firmware of the target component to be selected is updated according to the firmware package.

[0014] In the above technical solution, a third interface can be provided to the user in response to the second trigger signal, so that the user can flexibly select a firmware upload method based on the firmware upload control in the third interface after determining the target control to be selected.

[0015] In a possible implementation, the firmware upload control includes a local upload control and a remote upload control; obtaining a firmware package corresponding to a target selected component based on the firmware upload control includes:

[0016] In response to a user triggering operation on a local upload control, a fourth interface is displayed, and in response to a user triggering operation on the fourth interface, a firmware package is acquired, wherein the fourth interface includes a file selection control;

[0017] In response to the user's triggering operation on the remote upload control, the fifth interface is displayed, and in response to the user's triggering operation on the fifth interface, the firmware package is obtained. The fifth interface includes multiple indication information and a text input box corresponding to each indication information.

[0018] In the above technical solution, a fourth interface can be displayed for the user in response to the local upload control triggered by the user, so that the user can intuitively and clearly understand the local upload process of the firmware package through the fourth interface, and the user can conveniently and quickly upload the firmware package locally. A fifth interface can be displayed for the user in response to the remote upload control triggered by the user, so that the user can intuitively and clearly understand the remote upload process of the firmware package through the fifth interface, and the user can conveniently and quickly upload the firmware package remotely.

[0019] In a possible implementation, in response to a trigger operation of the user on the fourth interface, obtaining the firmware package includes:

[0020] In response to a user triggering operation on a file selection control on the fourth interface, determining local path information of the firmware package, and displaying a sixth interface, the sixth interface including a path display area corresponding to the file selection control and a first determination control, the path display area being used to display local path information, the local path information being used to indicate a storage address of the firmware package on a local device;

[0021] In response to a user triggering operation on a first determination control of the sixth interface, displaying a seventh interface, wherein the seventh interface includes a start updating control;

[0022] In response to the user's triggering operation to start updating the control in the seventh interface, the firmware package is uploaded to the target storage address according to the local path information, and the eighth interface is displayed. The eighth interface includes first progress indication information, and the first progress indication information is used to indicate the upload progress of the firmware package.

[0023] In the above technical solution, by providing the fourth interface, the sixth interface and the seventh interface to the user, the user can intuitively and clearly understand the local upload process of the firmware package, and the user can conveniently and quickly upload the firmware package locally. The first progress indication information is displayed to the user through the eighth interface, and the first progress indication information can facilitate the user to timely understand the progress of the firmware package upload.

[0024] In a possible implementation, the method further includes:

[0025] After confirming that the firmware package upload is complete, displaying the ninth interface, the ninth interface includes a confirm update control;

[0026] In response to the user's triggering operation on determining the update control, the firmware of the target selected component is updated according to the firmware package, and a tenth interface is displayed, the tenth interface includes second progress indication information, and the second progress indication information is used to indicate the update progress of the firmware package.

[0027] In the above technical solution, the ninth interface can provide the user with an update confirmation control so that the user can flexibly choose whether to start the update; the tenth interface can display the second progress indication information to the user, and the second progress indication information can facilitate the user to timely understand the progress of the firmware update.

[0028] In a possible implementation, in response to a trigger operation of the user on the fifth interface, obtaining the firmware package includes:

[0029] For any one indication information in the fifth interface, in response to the user's input operation on the text input box corresponding to the indication information, fill the text input box corresponding to the indication information with the input information corresponding to the indication information;

[0030] In response to a user triggering operation on a second determination control in the fifth interface, generating remote path information of the firmware package according to input information corresponding to each indication information, the remote path information including the following information of the remote device: a protocol type of a network transmission protocol, an Internet protocol address, a uniform resource locator address, a user name, and a password;

[0031] Request the remote device to obtain the firmware package based on the remote path information.

[0032] In the above technical solution, the fifth interface can provide users with detailed information on remotely uploaded firmware packages to meet the firmware package upload needs of some customers who cannot upload firmware packages using local upload methods, which is conducive to improving the flexibility of the firmware package upload method, so that the firmware update method can be flexibly applied to different scenarios.

[0033] In a possible implementation, the second interface further includes a select all control and a cancel selection control, wherein:

[0034] The select all control is used to indicate: triggering a selection control of each to-be-selected component in at least one to-be-selected component;

[0035] Canceling the selection control is used to indicate: cancelling the selection control that was triggered most recently by the user before the current moment, or cancelling each selection control that has been triggered in the second interface.

[0036] In the above technical solution, the select all control can facilitate the user to select each to-be-selected component without having to manually click the selection control corresponding to each to-be-selected component one by one, making it more convenient for the user to use. The cancel selection control can facilitate the user to adjust the selected to-be-selected component at any time, making the user more flexible in selecting the target to-be-selected component.

[0037] In a possible implementation, determining a target component to be selected includes:

[0038] In response to a triggering operation of a target selection control in the second interface by a user, a to-be-selected component corresponding to the target selection control is determined as a target to-be-selected component;

[0039] The target selection control is a selection control corresponding to the target component to be selected, and / or a select all control.

[0040] In the above technical solution, by determining the target candidate component, the computing device can accurately update the firmware of the target candidate component, avoiding firmware update errors or repeated updates of other candidate components corresponding to the target component type except the target candidate component, which is beneficial to improving the accuracy of firmware updates.

[0041] In a possible implementation, for any component to be selected in the second interface, the displayed information of the component to be selected includes the component identification, component model, and firmware version number of the component to be selected.

[0042] In the above technical solution, by displaying the display information of each candidate component, the user can quickly select a target candidate component that needs to be updated with firmware from at least one candidate component, which is helpful to speed up the determination of the target candidate component.

[0043] In a second aspect, an embodiment of the present application provides a firmware update device, including:

[0044] A display module, configured to display a first interface in response to a firmware update request, wherein the first interface includes a plurality of type controls corresponding to a plurality of component types;

[0045] The display module is further used to display a second interface in response to a first trigger signal, wherein the first trigger signal is generated when a user triggers a target type control, the multiple type controls include a target type control, and the second interface includes display information and a selection control of at least one to-be-selected component corresponding to the target type control;

[0046] The processing module determines a target component to be selected, and updates the firmware of the target component to be selected, wherein at least one component to be selected includes the target component to be selected.

[0047] The firmware update device provided in the embodiment of the present application can execute the technical solution as described in any one of the first aspects, and its beneficial effects are similar, which will not be repeated here.

[0048] In a possible implementation, the processing module is specifically used for:

[0049] In response to the second trigger signal, a third interface is displayed, the third interface includes a firmware upload control, and the second trigger signal is generated by a user triggering the second interface;

[0050] The firmware package corresponding to the target component to be selected is obtained based on the firmware upload control, and the firmware of the target component to be selected is updated according to the firmware package.

[0051] In a possible implementation, the firmware upload control includes a local upload control and a remote upload control; the processing module is further used to:

[0052] In response to a user triggering operation on a local upload control, a fourth interface is displayed, and in response to a user triggering operation on the fourth interface, a firmware package is acquired, wherein the fourth interface includes a file selection control;

[0053] In response to the user's triggering operation on the remote upload control, the fifth interface is displayed, and in response to the user's triggering operation on the fifth interface, the firmware package is obtained. The fifth interface includes multiple indication information and a text input box corresponding to each indication information.

[0054] In a possible implementation, the processing module is further configured to:

[0055] In response to a user triggering operation on a file selection control on the fourth interface, determining local path information of the firmware package, and displaying a sixth interface, the sixth interface including a path display area corresponding to the file selection control and a first determination control, the path display area being used to display local path information, the local path information being used to indicate a storage address of the firmware package on a local device;

[0056] In response to a user triggering operation on a first determination control of the sixth interface, displaying a seventh interface, wherein the seventh interface includes a start updating control;

[0057] In response to the user's triggering operation to start updating the control in the seventh interface, the firmware package is uploaded to the target storage address according to the local path information, and the eighth interface is displayed. The eighth interface includes first progress indication information, and the first progress indication information is used to indicate the upload progress of the firmware package.

[0058] In a possible implementation, the processing module is further configured to:

[0059] After confirming that the firmware package upload is complete, displaying the ninth interface, the ninth interface includes a confirm update control;

[0060] In response to the user's triggering operation on determining the update control, the firmware of the target selected component is updated according to the firmware package, and a tenth interface is displayed, the tenth interface includes second progress indication information, and the second progress indication information is used to indicate the update progress of the firmware package.

[0061] In a possible implementation, the processing module is further configured to:

[0062] For any one indication information in the fifth interface, in response to the user's input operation on the text input box corresponding to the indication information, fill the text input box corresponding to the indication information with the input information corresponding to the indication information;

[0063] In response to a user triggering operation on a second determination control in the fifth interface, generating remote path information of the firmware package according to input information corresponding to each indication information, the remote path information including the following information of the remote device: a protocol type of a network transmission protocol, an Internet protocol address, a uniform resource locator address, a user name, and a password;

[0064] Request the remote device to obtain the firmware package based on the remote path information.

[0065] In a possible implementation, the second interface further includes a select all control and a cancel selection control, wherein:

[0066] The select all control is used to indicate: triggering a selection control of each to-be-selected component in at least one to-be-selected component;

[0067] Canceling the selection control is used to indicate: cancelling the selection control that was triggered most recently by the user before the current moment, or cancelling each selection control that has been triggered in the second interface.

[0068] In a possible implementation, the processing module is further configured to:

[0069] In response to a triggering operation of a target selection control in the second interface by a user, a to-be-selected component corresponding to the target selection control is determined as a target to-be-selected component;

[0070] The target selection control is a selection control corresponding to the target component to be selected, and / or a select all control.

[0071] In a possible implementation, for any component to be selected in the second interface, the displayed information of the component to be selected includes the component identification, component model, and firmware version number of the component to be selected.

[0072] In a third aspect, an embodiment of the present application provides a computing device, including: a processor and a memory; the processor and the memory are coupled;

[0073] The memory is used to store computer instructions;

[0074] The processor is used to execute computer instructions stored in the memory to perform the method as described in any one of the first aspects.

[0075] The computing device provided in the embodiment of the present application can execute the technical solution as described in any one of the first aspects, and its beneficial effects are similar, which will not be repeated here.

[0076] In a fourth aspect, an embodiment of the present application provides a chip, wherein the chip is used to implement the method as described in any one of the first aspects.

[0077] The chip provided in the embodiment of the present application can execute the technical solution as described in any one of the first aspects, and its beneficial effects are similar, which will not be repeated here.

[0078] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a computer, a method as described in any one of the first aspects is implemented.

[0079] The computer-readable storage medium provided in the embodiment of the present application can execute the technical solution as described in any one of the first aspects, and its beneficial effects are similar and will not be repeated here.

[0080] In a sixth aspect, an embodiment of the present application provides a computer program product, including a computer program, and when the computer program is executed by a processor, it implements the method described in any one of the first aspects.

[0081] The computer program product provided in the embodiment of the present application can execute the technical solution as described in any one of the first aspects, and its beneficial effects are similar and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0082] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0083] Figure 1 A flowchart of a firmware update method provided in an embodiment of the present application;

[0084] Figure 2 A schematic diagram of a generation process of a first interface provided in an embodiment of the present application;

[0085] Figure 3A A schematic diagram of a second interface generation process provided in an embodiment of the present application;

[0086] Figure 3B A schematic diagram of a second interface generation process provided in an embodiment of the present application;

[0087] Figure 4 One of the schematic diagrams of a process for determining a target component to be selected provided in an embodiment of the present application;

[0088] Figure 5 A schematic diagram of a generation process of a third interface provided in an embodiment of the present application;

[0089] Figure 6 A schematic diagram of a firmware update process of a target candidate component provided in an embodiment of the present application;

[0090] Figure 7An exemplary schematic diagram of a fourth interface provided in an embodiment of the present application;

[0091] Figure 8 An exemplary schematic diagram of a sixth interface provided in an embodiment of the present application;

[0092] Fig. 9 An exemplary schematic diagram of a seventh interface provided in an embodiment of the present application;

[0093] Fig.10 An exemplary schematic diagram of an eighth interface provided in an embodiment of the present application;

[0094] Fig.11 An exemplary schematic diagram of a ninth interface provided in an embodiment of the present application;

[0095] Fig.12 An exemplary schematic diagram of a tenth interface provided in an embodiment of the present application;

[0096] Fig.13 A schematic diagram of a remote upload process of a firmware package provided in an embodiment of the present application;

[0097] Fig.14 An exemplary schematic diagram of the fifth interface provided in the embodiment of the present application;

[0098] Fig.15 A schematic diagram of the structure of a firmware update device provided in an embodiment of the present application;

[0099] Fig.16 A schematic diagram of the hardware structure of a computing device provided in an embodiment of the present application.

[0100] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0101] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the embodiments of the present application as detailed in the appended claims.

[0102] The embodiment of the present application provides a firmware update method, which can display a first interface in response to a firmware update request, wherein the first interface includes multiple type controls corresponding to multiple component types; display a second interface in response to a first trigger signal, wherein the first trigger signal is generated by a user triggering a target type control, wherein the multiple type controls include a target type control, and the second interface includes display information and a selection control of at least one selected component corresponding to the target type control; determine a target selected component, and update the firmware of the target selected component, wherein the at least one selected component includes a target selected component. The firmware update method can provide a first interface to a user, so that the user can conveniently and quickly select a target component type to be updated with firmware from multiple component types according to needs, and accurately locate the target selected component to be updated in at least one selected component corresponding to the target component type, so as to accurately update the firmware of the target selected component, avoid firmware update errors or repeated updates of other selected components corresponding to the target component type except the target selected component, and help improve the accuracy of firmware updates. For example, there are 8 PSUs in a server, one of which fails and needs to be replaced, and the firmware version of this PSU is inconsistent with that of the other 7 PSUs. The firmware of this PSU can be updated separately without updating the other 7 PSUs. This not only helps to improve the update time of the firmware of this PSU, but also avoids firmware update errors or repeated updates of other PSUs.

[0103] The technical solution of the present application is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0104] Figure 1 A flowchart of a firmware update method provided in an embodiment of the present application. Figure 1 , the method specifically comprises:

[0105] S101. In response to a firmware update request, display a first interface.

[0106] The first interface may include multiple type controls corresponding to multiple component types.

[0107] Exemplarily, the plurality of component types may include, but are not limited to, at least two of the following component types: BMC, BIOS, CPLD, PSU, backplane, and fan board.

[0108] Exemplarily, the multiple types of controls may include but are not limited to at least two of the following types of controls: BMC control, BIOS control, CPLD control, PSU control, and backplane control.

[0109] The firmware update request may be used to request updating of the firmware of at least one component corresponding to the target component type.

[0110] In some embodiments, the computing device may provide a firmware update interface to the user, and the firmware update interface may include a firmware update control. The user may click on the firmware update control to send a firmware update request to the computing device.

[0111] The method provides a firmware update interface to the user, so that the user can select whether to execute the firmware update process based on the firmware update control in the firmware update interface.

[0112] Figure 2 A schematic diagram of the generation process of a first interface provided in an embodiment of the present application. Figure 2 After receiving a firmware update request, the computing device can jump from the firmware update interface to the first interface, which may include multiple types of controls, for example, the multiple types of controls may be: BMC control, BIOS control, CPLD control, PSU control and backplane control.

[0113] In some embodiments, the first interface may also include a firmware update control.

[0114] It should be noted that in the interface provided in the embodiment of the present application and subsequent embodiments, type controls including BMC controls, BIOS controls, CPLD controls, PSU controls and backplane controls are used as examples for explanation. In some embodiments, type controls of other component types may also be included. The present application does not limit the number of type controls.

[0115] The firmware update method provided in the embodiment of the present application can provide a first interface to the user so that the user can intuitively and quickly select a target component type to be updated with firmware from multiple component types according to needs.

[0116] In some embodiments, the computing device may also obtain a firmware update request corresponding to the target component type.

[0117] The target component type may be, but is not limited to, at least one of the following component types: BMC, BIOS, CPLD, PSU, backplane, and fan board.

[0118] In some embodiments, a firmware update request corresponding to a target component type may be obtained in the following manner: obtaining a firmware update request corresponding to a computing device; displaying a first interface in response to the firmware update request corresponding to the computing device, the first interface including multiple type controls corresponding to multiple component types; after detecting a first trigger signal to the first interface, determining a target type control among multiple type controls; determining the component type corresponding to the target type control as the target component type, and generating a firmware update request corresponding to the target component type.

[0119] S102: In response to a first trigger signal, display a second interface.

[0120] The first trigger signal is generated when a user triggers a target type control, and the multiple type controls include the target type control.

[0121] The second interface includes display information and a selection control of at least one to-be-selected component corresponding to the target type control, wherein at least one includes one or more, and multiple includes two or more.

[0122] In some embodiments, for any component to be selected in the second interface, the displayed information of the component to be selected includes the component identification, component model and firmware version number of the component to be selected.

[0123] The component identifier may be the name and number of the component, for example, PSU1.

[0124] The component model may be the device model of the component, for example, model 1.

[0125] The firmware version number may be the current version number of the firmware of the component, for example, firmware version 1.

[0126] The at least one component to be selected may be one component to be selected or a plurality of components to be selected.

[0127] In some embodiments, if the target type control is any one of a BMC control, a BIOS control or a CPLD control, the target type control may correspond to one selected component. For example, in a server, a BMC control may correspond to one BMC; a BIOS control may correspond to one BIOS; and a CPLD control may correspond to one CPLD.

[0128] In some embodiments, if the target type control is a PSU control or a backplane control, the target type control may correspond to multiple components to be selected. For example, in a server, a PSU control may correspond to multiple PSUs, and a backplane control may correspond to a front backplane and a rear backplane.

[0129] In some embodiments, the second interface may further include a select all control and a cancel selection control, wherein:

[0130] The select all control is used to indicate: triggering a selection control of each to-be-selected component in at least one to-be-selected component;

[0131] Canceling the selection control is used to indicate: cancelling the selection control that was triggered most recently by the user before the current moment, or cancelling each selection control that has been triggered in the second interface.

[0132] The select all control can facilitate the user to select each to-be-selected component without having to manually click the selection control corresponding to each to-be-selected component one by one, making it more convenient for the user to use. The deselect control can facilitate the user to adjust the selected to-be-selected component at any time, making the user more flexible in selecting the target to-be-selected component.

[0133] In some embodiments, the user can click on any type of control in the first interface to send a trigger signal corresponding to the type of control to the computing device.

[0134] The computing device can determine the type of control as a target type control based on the received trigger signal corresponding to the type of control, obtain component information of at least one to-be-selected component corresponding to the target type control, and generate a template for the second interface based on the component information of the at least one to-be-selected component and the second interface to generate the second interface.

[0135] The second interface generation template may include an information filling area and a selection control corresponding to each to-be-selected component.

[0136] The information filling area is used to display the display information of at least one to-be-selected component corresponding to the target type control.

[0137] After obtaining the component information of at least one component to be selected of the target type control, if the number of components to be selected is 1, in the second interface generation template, the computing device can fill the component information of the component to be selected into the corresponding information filling area; if the number of components to be selected is multiple, the computing device can fill the component information of each component to be selected into the corresponding information filling area according to a preset order. Exemplarily, the preset order can be in the order of the numbers of the components to be selected from small to large.

[0138] Next, combine Figure 3A and Figure 3B , the process of generating the second interface is described.

[0139] Figure 3A A schematic diagram of the generation process of a second interface provided in an embodiment of the present application. Figure 3AThe first interface includes five types of controls, namely: BMC control, BIOS control, CPLD control, PSU control and backplane control. The user can determine the target type control corresponding to the target component type among the five types of controls based on the firmware update requirements of the target component type, and click the target type control to generate a first trigger signal corresponding to the target type control.

[0140] For example, if the user needs to upgrade the firmware of the BMC, the user can click on the BMC control in the first interface to generate a first trigger signal corresponding to the BMC control. After detecting the first trigger signal of the BMC control in the first interface, the computing device can determine the BMC control as a target type control, determine the BMC as a target component type, and generate a second interface.

[0141] In the computing device, the BMC control corresponds to one BMC to be selected, so the display information of the BMC to be selected is displayed in the second interface.

[0142] Figure 3B A schematic diagram of the generation process of a second interface provided in an embodiment of the present application. Figure 3B ,and Figure 3A same, Figure 3B It includes 5 types of controls. For example, if the user needs to upgrade the firmware of the PSU, the user can click the PSU control in the first interface to generate a first trigger signal corresponding to the PSU control. After the computing device detects the first trigger signal of the PSU control in the first interface, it can determine the PSU control as a target type control, determine the PSU as a target component type, and generate a second interface.

[0143] In the computing device, the PSU control corresponds to 4 PSUs to be selected, so the display information of the 4 PSUs to be selected is displayed in the second interface.

[0144] like Figure 3B As shown, the second interface can be an extended interface of the first interface. The second interface adds a first display area on the basis of the first interface. The first display area can be used to display the display information and selection controls of at least one selected component corresponding to the target type control. The first display area can also display a select all control and a deselect control.

[0145] exist Figure 3B In the first display area, the display information, selection control, all-select control and cancel-select control of four to-be-selected PSUs corresponding to the PSU control are displayed. The display information includes the identifier, device model and firmware version number of the to-be-selected PSU.

[0146] It should be noted that in the interface provided in the embodiment of the present application and subsequent embodiments, the target type control is 1 PSU control and the PSU control corresponds to 4 PSUs to be selected. In some embodiments, the number of target type controls can be multiple, and the number of components to be selected corresponding to each target type control can also be 1, 2, ... The present application does not limit the number of target type controls and the number of components to be selected corresponding to the target type controls.

[0147] The firmware update method provided in the embodiment of the present application can provide a second interface to the user, so that the user can intuitively and quickly understand the number, component identification, component model and firmware version number of the target component type corresponding to the target component type control after clicking the target type control, so as to facilitate the user to accurately locate the target selected component that needs to be updated among at least one selected component corresponding to the target component type.

[0148] S103: Determine a target component to be selected, and update the firmware of the target component to be selected.

[0149] The at least one candidate component includes a target candidate component.

[0150] In some embodiments, if the number of at least one component to be selected is 1, the number of the target components to be selected may be 1; if the number of at least one component to be selected is M, where M is an integer greater than 1, the number of the target components to be selected may be any number between 1 and M.

[0151] In some embodiments, in response to a user triggering operation on a target selection control in the second interface, a selected component corresponding to the target selection control is determined as a target selected component; wherein the target selection control is a selection control corresponding to the target selected component, and / or a select all control.

[0152] Next, combine Figure 4 , the process of determining the target candidate component is explained.

[0153] Figure 4 This is one of the schematic diagrams of a process for determining a target component to be selected provided in an embodiment of the present application. Figure 4 In the second interface, the target type control selected by the user is the PSU control, and the second interface also includes display information and selection controls of the four PSUs (PSU1 to PSU4) corresponding to the PSU control.

[0154] exist Figure 4In the second interface shown in Figure (a), after the computing device detects the user's triggering operation on the selection controls corresponding to PSU1 and PSU3, PSU1 and PSU3 can be determined as target components to be selected. In this process, the target selection control (shown in black in the figure) includes 2 selection controls, namely the selection control corresponding to PSU1 and the selection control corresponding to PSU3.

[0155] exist Figure 4 In the second interface shown in Figure (b), when the computing device detects the user's triggering operation on the selection controls corresponding to PSU1~PSU4, PSU1~PSU4 can be determined as target components to be selected. In this process, the target selection controls (shown in black in the figure) include 4 selection controls, which are the selection controls corresponding to PSU1~PSU4.

[0156] exist Figure 4 In the second interface shown in Figure (c), when the computing device detects the user's triggering operation on the select all control, PSU1~PSU4 can be determined as target components to be selected. In this process, the target selection control (shown in black in the figure) includes the select all control.

[0157] exist Figure 4 In the second interface shown in Figure (d), when the computing device detects the user's triggering operation on the select all control, PSU1~PSU4 can be determined as the target components to be selected. In this process, the target selection control (shown in black in the figure) includes the select all control and the selection controls corresponding to PSU1~PSU4 respectively.

[0158] The firmware update method provided in the embodiment of the present application can provide a second interface to the user, so that the user can intuitively and quickly understand the number, component identification, component model and firmware version number of at least one selected component of the target component type corresponding to the target type control after clicking the target type control, and facilitate the user to accurately locate the target selected component that needs to be updated in at least one selected component according to business needs, so as to avoid the situation where the firmware of components with the same component type but different component information are incorrectly updated, which is conducive to improving the accuracy of the firmware update. For example, assuming that the target component type is a backplane type, the backplane type can correspond to two selected components: a front backplane and a rear backplane. The firmware of these two selected components may be different. By providing a second interface, the user can accurately choose whether to update the firmware of the front backplane or the firmware of the rear backplane, so as to avoid the situation where the firmware update error occurs.

[0159] In some embodiments, the firmware update request may include a target component type and preset component information, where the preset component information is used to determine a target candidate component from at least one component corresponding to the target component type.

[0160] The preset component information may include but is not limited to the following: a preset component model and a preset firmware version number, wherein the component identifier may be the name and number of the component, the component model may be the device model of the component, and the firmware version number may be the current version number of the firmware of the component.

[0161] In some embodiments, the computing device may determine a target candidate component from at least one candidate component according to the target component type and preset component information and the preset correspondence in the firmware update request.

[0162] Exemplarily, the preset correspondence may include multiple component types, and identifiers and component information of the to-be-selected components corresponding to each component type.

[0163] In some embodiments, the computing device may pre-store the preset correspondence relationship. The preset correspondence relationship may be stored in a table form, for example, the preset correspondence relationship may be as shown in Table 1:

[0164] Table 1

[0165]

[0166]

[0167] For example, the target component type may be a PSU type, and the preset component information may include: PSU-model 2 and PSU firmware-version 2. Based on the corresponding relationship, it can be determined that the components to be selected are PSU2 and PSU4.

[0168] In some embodiments, the computing device can periodically detect component information of each candidate component in the computing device, and when it is detected that the component information of each candidate component is updated, the preset correspondence is updated in a timely manner, so that after the computing device obtains a firmware update request corresponding to the target component type, it can accurately determine at least one candidate component corresponding to the target component type and the component information of each candidate component according to the updated preset correspondence, thereby ensuring the accuracy of the firmware update.

[0169] In some embodiments, the firmware of the target component to be selected can be updated in the following manner: in response to the second trigger signal, a third interface is displayed; based on the firmware upload control, a firmware package corresponding to the target component to be selected is obtained, and the firmware of the target component to be selected is updated according to the firmware package.

[0170] The second trigger signal may be generated by a user triggering an operation on the second interface, and the third interface may include a firmware upload control.

[0171] In some embodiments, the second trigger signal may be generated by a user triggering a target selection control of the second interface.

[0172] In some embodiments, the firmware upload control may include a local upload control and a remote upload control.

[0173] Next, combine Figure 5 , the generation process of the third interface is described in detail.

[0174] Figure 5 A schematic diagram of the generation process of a third interface provided in an embodiment of the present application. Figure 5 The third interface includes the following two presentation modes:

[0175] In the first presentation mode, the third interface can be further extended on the first interface, and the third interface adds local upload controls and remote upload controls on the basis of the first interface. This presentation mode can make the third interface occupy a smaller display area, making the third interface more concise.

[0176] In the second presentation mode, the third interface can be further extended on the second interface, and the third interface adds local upload controls and remote upload controls on the basis of the second interface. This presentation mode allows the user to more clearly determine the component information of the target selected component that needs to be updated with firmware, so that the user can update the previously selected target selected component before uploading the firmware package.

[0177] It should be noted that this embodiment is described by taking the third interface including the first presentation method and the second presentation method as an example. In some other embodiments, the third interface may also have other forms of presentation methods. The embodiment of the present application does not limit the presentation method of the third interface.

[0178] It should be noted that the firmware package corresponding to the target selected component is obtained based on the firmware upload control, and the firmware of the target selected component is updated according to the firmware package. Figure 6 to Figure 13 The details are described in the examples.

[0179] In the firmware update method, a third interface can be provided to the user in response to the second trigger signal, so that the user can flexibly select a firmware upload method based on the firmware upload control in the third interface after determining the target to-be-selected control.

[0180] The firmware update method provided by the embodiment of the present application can provide a first interface to the user, so that the user can conveniently and quickly select the target component type to be updated with firmware from multiple component types according to the needs, and accurately locate the target selected component to be updated in at least one selected component corresponding to the target component type, so as to accurately update the firmware of the target selected component, avoid firmware update errors or repeated updates of other selected components other than the target selected component corresponding to the target component type, and help improve the accuracy of firmware updates. In some cases where it is not necessary to update all the selected components corresponding to the target component type, this method can also help save firmware update time by selecting the target selected component for update.

[0181] When users upload firmware packages based on the firmware upload control, they can choose to upload locally or remotely. Figure 6 to Figure 12 , the local upload process of the firmware package and the update process of the target candidate components are described in detail; combined with Fig.13 and Fig.14 , the remote upload process of the firmware package is explained in detail.

[0182] Figure 6 A schematic diagram of a firmware update process of a target candidate component provided in an embodiment of the present application. Figure 6 , the method may include the following steps:

[0183] S601: In response to a user triggering operation on a local upload control, a fourth interface is displayed.

[0184] The fourth interface includes a file selection control, which can be used to select (or upload) a firmware package in a local device.

[0185] It is understandable that when the computing device detects that the user triggers the local upload control, it can determine that the upload method of the firmware package is local upload, and display the fourth interface corresponding to the local upload control.

[0186] Next, combine Figure 7 , the generation process of the fourth interface is described in detail.

[0187] Figure 7 This is an exemplary schematic diagram of a fourth interface provided in an embodiment of the present application. Figure 7 The fourth interface may include the following two presentation modes, wherein:

[0188] In the first presentation mode, the fourth interface can add a second display area based on the third interface of the first presentation mode, and the second display area can include a local selection control and a path display area. This presentation mode can make the third interface occupy a smaller display area, making the fourth interface more concise.

[0189] In the second presentation method, the fourth interface can add a second display area based on the third interface of the second presentation method. This presentation method allows the user to intuitively experience each process of determining the target candidate components and updating the target candidate components, so that the user can flexibly change the selected target candidate components based on needs.

[0190] It should be noted that this embodiment is described by taking the fourth interface including the first presentation method and the second presentation method as an example. In some other embodiments, the fourth interface may also have other forms of presentation methods. The embodiment of the present application does not limit the presentation method of the fourth interface.

[0191] S602: In response to a trigger operation of the user on the fourth interface, a firmware package is obtained.

[0192] In some embodiments, step S602 may further include the following steps:

[0193] (1) In response to a user triggering operation on a file selection control of the fourth interface, determining local path information of the firmware package and displaying a sixth interface.

[0194] The sixth interface includes a path display area corresponding to the file selection control and a first confirmation control, the path display area is used to display local path information, and the local path information is used to indicate the storage address of the firmware package in the local device.

[0195] In some embodiments, in response to a user triggering operation on a file selection control of the fourth interface, a file selection interface may be displayed, and the file selection interface may be used by the user to select a firmware package to be uploaded. After detecting the user's selection operation on the firmware package to be uploaded, the computing device may read the local storage information of the firmware package to be uploaded and display the local path information in the path information area.

[0196] In some embodiments, the computing device may also obtain local path information input by the user in the path display area, and display the local path information in the path display area.

[0197] In some embodiments, the local device may provide a data transmission interface, and the computing device may receive the firmware package imported by the user to the local device based on the data transmission interface, store the firmware package on the local device, and read the local path information of the firmware package on the local device. For example, the local device may provide a hard disk plug-in interface, and the user may plug a hard disk on the local device based on the hard disk device interface, and import the firmware package to the local device through the hard disk.

[0198] The user can determine whether the firmware package is correctly uploaded to the local device based on the path information of the firmware package displayed in the path display area.

[0199] When it is determined that the user has triggered the first determination control, it can be determined that the user has uploaded the firmware package.

[0200] The first interface may further include a first cancel control, which may facilitate the user to reselect a firmware package.

[0201] Next, combine Figure 8 , the generation process of the sixth interface is described in detail.

[0202] Figure 8 This is an exemplary schematic diagram of a sixth interface provided in an embodiment of the present application. Figure 8 The sixth interface may include the following three presentation modes, among which:

[0203] In the first presentation mode, the sixth interface can add a first confirmation control and a first cancellation control in the second display area based on the fourth interface of the first presentation mode, and the path display area in the second display area displays the local path information of the firmware package (for example, path information 1). This presentation mode can not only satisfy the requirement that the sixth interface occupies a smaller display area, but also facilitate the user to understand the various processes of the firmware package update.

[0204] In the second presentation mode, the sixth interface can add a first confirmation control and a first cancellation control in the second display area based on the fourth interface of the second presentation mode, and the path display area in the second display area displays the local path information of the firmware package (for example, path information 1). This presentation mode allows the user to intuitively and clearly experience each process of uploading the firmware of the target candidate component, which is convenient for the user to flexibly change the selected target candidate component based on needs.

[0205] In the third presentation mode, the sixth interface may be an independent interface, and the sixth interface may include a second display area, and the second display area may include a file selection control, a path display area, a first confirmation control, and a first cancel control. This presentation mode may make the sixth interface occupy a smaller display area, making the sixth interface more concise.

[0206] It should be noted that this embodiment uses the sixth interface including the above three presentation methods as an example for explanation. In some other embodiments, the sixth interface may also have other forms of presentation methods. The embodiment of the present application does not limit the presentation method of the sixth interface.

[0207] (2) In response to the user triggering the first determination control of the sixth interface, displaying the seventh interface.

[0208] The seventh interface may include a start updating control.

[0209] In some embodiments, the seventh interface may further include a cancel update control, which may be used to indicate cancellation of the current firmware update process.

[0210] Next, combine Fig. 9 , the generation process of the seventh interface is described in detail.

[0211] Fig. 9 This is an exemplary schematic diagram of a seventh interface provided in an embodiment of the present application. Fig. 9 The seventh interface may include the following three presentation modes, among which:

[0212] In the first presentation mode, the seventh interface can add a start update control and a cancel update control on the basis of the third interface. This presentation mode can satisfy the seventh interface to occupy a smaller display area, and can also facilitate users to understand the various processes of the firmware package update.

[0213] In the second presentation mode, the seventh interface can add a start update control and a cancel update control based on the sixth interface. This presentation mode allows the user to intuitively and clearly experience each process of firmware upload to the target candidate component, and facilitates the user to flexibly change the selected target candidate component based on needs.

[0214] In the third presentation mode, the seventh interface can add a start update control and a cancel update control based on the sixth interface of the third presentation mode. This presentation mode can make the seventh interface occupy a smaller display area, making the seventh interface more concise.

[0215] It should be noted that, in this embodiment, the seventh interface includes the above three presentation methods as an example. In some other embodiments, the seventh interface may also have other forms of presentation methods. The embodiment of the present application does not limit the presentation method of the seventh interface.

[0216] (3) In response to the user's triggering operation of starting to update the control in the seventh interface, the firmware package is uploaded to the target storage address according to the local path information, and the eighth interface is displayed.

[0217] The eighth interface may include first progress indication information, and the first progress indication information may be used to indicate the upload progress of the firmware package.

[0218] When the computing device detects that the user triggers the start update control, the computing device may obtain the current storage address of the firmware package according to the local path information; and upload the firmware package from the current storage address to the target storage address.

[0219] The target storage address may be a default storage address set based on the firmware package update requirements, so that when the firmware package is updated, the firmware update system can quickly find the firmware package from the target storage address. The firmware update system may be a system that performs firmware updates on target selected components based on the firmware package.

[0220] Next, combine Fig.10 , the generation process of the eighth interface is described in detail.

[0221] Fig.10 This is an exemplary schematic diagram of an eighth interface provided in an embodiment of the present application. Fig.10 The eighth interface may include the following three presentation modes, among which:

[0222] In the first presentation mode, the eighth interface can add first progress indication information based on the seventh interface of the first presentation mode, and the first progress indication information can be presented in the form of a progress bar. Fig.10 In the figure, it can be seen that the current upload progress of the firmware package is 50%. This presentation method can not only satisfy the requirement that the eighth interface occupies a smaller display area, but also facilitate the user to understand the various processes of the firmware package update. The first progress indication information can facilitate the user to timely understand the progress of the firmware package upload.

[0223] In the second presentation mode, the eighth interface can add the first progress indication information on the basis of the seventh interface of the second presentation mode. This presentation mode can enable the user to intuitively and clearly experience each process of uploading the firmware of the target candidate component, so that the user can flexibly change the selected target candidate component based on the needs.

[0224] In the third presentation mode, the eighth interface can add the first progress indication information on the basis of the seventh interface of the third presentation mode. This presentation mode can make the eighth interface occupy a smaller display area, making the eighth interface more concise.

[0225] It should be noted that, in this embodiment, the eighth interface includes the above-mentioned three presentation methods, and the first progress indication information is presented in the form of a progress bar as an example. In some other embodiments, the eighth interface may also have other forms of presentation methods, and the first indication information may also be other presentation methods. The embodiment of the present application does not limit the presentation method of the eighth interface.

[0226] In the firmware package update method, in response to the user's triggering operation on the file selection control, multiple interfaces for locally uploading the firmware package can be gradually displayed, so that the user can intuitively and clearly understand the local upload process of the firmware package based on these multiple interfaces, allowing the user to quickly upload the firmware package and improve the local upload speed of the firmware package.

[0227] S603: Update the firmware of the target selected component according to the firmware package.

[0228] In some embodiments, the computing device may run a firmware update system, and the firmware update system may update the firmware of the target candidate component through a firmware package.

[0229] S604: After confirming that the firmware package upload is complete, display the ninth interface.

[0230] The ninth interface may include determining an update control.

[0231] In some embodiments, a start upgrade function (eg, an InitrialUpgradeh function) may be called to determine whether to start updating the firmware, and an end upgrade function (eg, a FinishUpgradeh function) may be called to determine whether the firmware update is complete.

[0232] In some embodiments, after the first progress indication information indicates that the firmware package upload is complete, the start update control in the eighth interface may be updated to a confirm update control.

[0233] In some embodiments, the eighth interface may include a start update control, a confirm update control, and a cancel update control. In the eighth interface, the start update control is in an "unlocked state" and the confirm update control is in a "locked state". In the ninth interface displayed after the firmware package is uploaded, the start update control will be in a "locked state" and the confirm update control will be updated from a "locked state" to an "unlocked state".

[0234] Next, combine Fig.11 , the generation process of the ninth interface is described in detail.

[0235] Fig.11 This is an exemplary schematic diagram of a ninth interface provided in an embodiment of the present application. Fig.11 The ninth interface may include the following three presentation modes, among which:

[0236] In the first presentation mode, the ninth interface can update the start update control to a confirm update control based on the eighth interface of the first presentation mode. This presentation mode can not only satisfy the requirement that the ninth interface occupies a smaller display area, but also facilitate the user to understand the various processes of the firmware package update, and the first progress indication information can facilitate the user to timely understand the progress of the firmware package upload.

[0237] In the second presentation mode, the ninth interface can update the start update control to a confirm update control based on the eighth interface of the second presentation mode. This presentation mode can facilitate users to understand the detailed processes of the firmware package update.

[0238] In the third presentation mode, the ninth interface can update the start update control to the confirm update control based on the eighth interface of the third presentation mode. This presentation mode can make the ninth interface occupy a smaller display area, making the ninth interface more concise.

[0239] It should be noted that, in this embodiment, the ninth interface includes the above-mentioned three presentation methods, and the first progress indication information is presented in the form of a progress bar as an example. In some other embodiments, the ninth interface may also have other forms of presentation methods, and the first progress indication information may also be presented in other forms. The embodiment of the present application does not limit the presentation method of the ninth interface.

[0240] S605 . In response to the user's triggering operation on determining the update control, the firmware of the target selected component is updated according to the firmware package, and a tenth interface is displayed.

[0241] The tenth interface includes second progress indication information, and the second progress indication information can be used to indicate the update progress of the firmware package.

[0242] The method can display the second progress indication information to the user through the tenth interface, and the second progress indication information can help the user to understand the progress of the firmware update in a timely manner.

[0243] Next, combine Fig.12 , the generation process of the tenth interface is described in detail.

[0244] Fig.12 This is an exemplary schematic diagram of a tenth interface provided in an embodiment of the present application. Fig.12 The tenth interface may include the following three presentation modes, among which:

[0245] In the first presentation mode, the tenth interface can add second progress indication information based on the ninth interface of the first presentation mode, and the second progress indication information can be in the form of a progress bar. Fig.11 In the example, it can be seen that the current update progress of the firmware package is 10%. This presentation method can satisfy the requirement that the tenth interface occupies a smaller display area, and can also facilitate users to understand the various processes of the firmware package update.

[0246] In the second presentation mode, the tenth interface can add second progress indication information based on the ninth interface of the second presentation mode. This presentation mode can facilitate users to understand the detailed processes of the firmware package update.

[0247] In the third presentation mode, the tenth interface can add the second progress indication information on the basis of the ninth interface of the third presentation mode. This presentation mode can make the tenth interface occupy a smaller display area, making the ninth interface more concise.

[0248] It should be noted that, in this embodiment, the tenth interface includes the above-mentioned three presentation methods, and the second progress indication information is presented in the form of a progress bar as an example. In some other embodiments, the tenth interface can also have other forms of presentation methods, and the second progress indication information can also be presented in other forms. The embodiment of the present application does not limit the presentation method of the tenth interface.

[0249] The firmware update method provided in the embodiment of the present application can provide users with a way to upload firmware packages locally, and display multiple interfaces in response to the user's trigger operation, so that users can intuitively and clearly understand the local upload process and update process of the firmware package, which is conducive to reducing the difficulty of updating the firmware package and facilitating users to conveniently and quickly upload the firmware package locally and accurately update the target selected components.

[0250] In some embodiments, the computing device may also determine an update result of the firmware update, where the update result may be an update failure or an update success. When the update result is an update failure, a preset update failure process may also be executed.

[0251] It is understandable that when updating the firmware package, due to the high security requirements of some users for the local device, the local device does not allow the hard disk to be inserted casually or unauthorized files to be imported into the local device. External files need to be stored in the document server specified by these users. This situation may make it difficult for maintenance personnel to import the firmware package corresponding to the target component type into the local device through local upload, resulting in a more cumbersome firmware package update process and low update efficiency.

[0252] In order to improve the efficiency of firmware package updates and meet users' diverse firmware upload requirements, the embodiment of the present application proposes a remote upload method based on the local upload method. The remote upload method does not require a physical connection with the local device. The local device can communicate and interact with the remote device to obtain the firmware package, thereby avoiding inserting a hard disk into the local device or directly importing unauthorized files into the local device to meet the user's security requirements. This not only makes the method of obtaining the firmware package more flexible, but also improves the user experience.

[0253] Next, combine Fig.13 , which explains in detail the process of remotely uploading the firmware package.

[0254] Fig.13 A schematic diagram of a remote upload process of a firmware package provided in an embodiment of the present application. Fig.13 , the method may include the following steps:

[0255] S1301. In response to a user triggering operation on a remote upload control, a fifth interface is displayed.

[0256] The fifth interface may include multiple indication information and a text input box corresponding to each indication information.

[0257] In some embodiments, the fifth interface may further include a second confirmation control. After the user has completed filling in the input information of the text input boxes corresponding to the plurality of indication information, the user may click the second confirmation control.

[0258] In some embodiments, the fifth interface may further include a second cancel control, where the second cancel control is used to indicate the cancellation of the selection of the indication information in the second interface.

[0259] It is understandable that when the computing device detects that the user triggers the remote upload control, it can determine that the upload method of the firmware package is remote upload, and display the fifth interface corresponding to the remote upload control.

[0260] Next, combine Fig.14 , the generation process of the fifth interface is described in detail.

[0261] Fig.14 This is an exemplary schematic diagram of the fifth interface provided in the embodiment of the present application. Fig.14 The fifth interface may include the following two presentation modes, wherein:

[0262] In the first presentation mode, the fifth interface can add a third display area based on the third interface of the first presentation mode, and the third display area can include multiple indication information, a text input box corresponding to each indication information, a second confirmation control, and a second cancel control. This presentation mode can make the third interface occupy a smaller display area, making the fourth interface more concise.

[0263] In the second presentation method, the fifth interface can add a third display area based on the third interface of the second presentation method. This presentation method allows the user to intuitively experience each process of determining the target candidate components and updating the target candidate components, so that the user can flexibly change the selected target candidate components based on needs.

[0264] It should be noted that, in this embodiment, the fifth interface includes the first presentation method and the second presentation method. In some other embodiments, the fifth interface may also have other forms of presentation methods. The embodiment of the present application does not limit the presentation method of the fifth interface.

[0265] S1302: In response to a trigger operation of the user on the fifth interface, obtain a firmware package.

[0266] The remote path information may include the following information of the remote device: the protocol type of the network transmission protocol, the Internet Protocol address, the uniform resource locator address, the user name and the password.

[0267] In some embodiments, step S1302 may further include the following steps:

[0268] (1) For any indication information in the fifth interface, in response to a user input operation on a text input box corresponding to the indication information, the text input box corresponding to the indication information is filled with input information corresponding to the indication information.

[0269] The user can input corresponding input information in the text input box corresponding to each indication information, and after confirming that the input information in the text input box corresponding to each indication information is input completely, click the second confirmation control or cancel the selection control.

[0270] (2) In response to a user triggering operation on a second determination control in the fifth interface, remote path information of the firmware package is generated according to input information corresponding to each indication information.

[0271] The remote path information may include the following information of the remote device: the protocol type of the network transmission protocol, the Internet Protocol Address (IP address), the Uniform Resource Locator (URL), the user name and the password.

[0272] In some embodiments, the computing device may generate the remote path information based on a preset path information generation template and input information corresponding to each indication information.

[0273] The firmware update method provided in the embodiment of the present application can support multiple transmission protocols in its remote upload method to improve the flexibility of its remote upload method. Optionally, the protocol type of the network transmission protocol can include but is not limited to any of the following protocols: Hypertext Transfer Protocol Secure (HTTPS), Trivial File Transfer Protocol (TFTP), Common Internet File System (cifs), Network File System (NFS), Server Messages Block (samba).

[0274] (3) Request the remote device to obtain the firmware package based on the remote path information.

[0275] The remote device can be used to assist the local device in performing firmware updates.

[0276] In some embodiments, the computing device may send an acquisition request to the remote device, and the acquisition request may include the address of the local device and the remote path information.

[0277] The firmware update method can provide the fifth interface to the user, so that the user can intuitively and clearly understand the remote upload process of the firmware package. The user can quickly obtain the firmware package by remote uploading, which is conducive to accelerating the acquisition speed of the firmware package.

[0278] It is understandable that after the firmware package is obtained remotely, the firmware of the target selected component can be updated through the firmware package by referring to the specific implementation process of steps S603 to S605, which will not be described in detail here.

[0279] The firmware update method provided in the embodiment of the present application can provide users with a method for remotely uploading firmware packages to meet the firmware package upload needs of some customers who cannot use the local upload method to upload firmware packages, which is beneficial to improving the flexibility of the firmware package upload method, so that the firmware update method provided in the embodiment of the present application can be flexibly applied to different scenarios.

[0280] In some embodiments, the firmware update method provided in the embodiment of the present application can be implemented based on out-of-band management software. For example, the out-of-band management software can include but is not limited to an intelligent baseboard management controller (iBMC). For example, an operation and maintenance personnel can log in to the World Wide Web (web) of the iBMC and implement the firmware update method provided in the embodiment of the present application based on the web interface of the iBMC.

[0281] In some embodiments, the firmware update method provided in the embodiments of the present application can also be integrated into a target operation and maintenance tool, which can call the redfish interface in-band to implement the firmware update function. The target operation tool can also specify the firmware types that can be updated by the computing device and the number of selectable components corresponding to each firmware type through parameter configuration.

[0282] Fig.15 This is a schematic diagram of the structure of a firmware update device provided in an embodiment of the present application. Fig.15 , the firmware update device 10 may include:

[0283] A display module 11, configured to display a first interface in response to a firmware update request, wherein the first interface includes a plurality of type controls corresponding to a plurality of component types;

[0284] The display module 11 is further used to display a second interface in response to a first trigger signal, wherein the first trigger signal is generated by a user triggering a target type control, the multiple type controls include a target type control, and the second interface includes display information and a selection control of at least one to-be-selected component corresponding to the target type control;

[0285] The processing module 12 determines a target component to be selected, and updates the firmware of the target component to be selected, wherein at least one component to be selected includes the target component to be selected.

[0286] The firmware update device provided in the embodiment of the present application can implement the technical solution described in the above method embodiment, and its beneficial effects are similar and will not be repeated here.

[0287] In a possible implementation, the processing module 12 is specifically configured to:

[0288] In response to the second trigger signal, a third interface is displayed, the third interface includes a firmware upload control, and the second trigger signal is generated by a user triggering the second interface;

[0289] The firmware package corresponding to the target component to be selected is obtained based on the firmware upload control, and the firmware of the target component to be selected is updated according to the firmware package.

[0290] In a possible implementation, the firmware upload control includes a local upload control and a remote upload control; the processing module 12 is further specifically used for:

[0291] In response to a user triggering operation on a local upload control, a fourth interface is displayed, and in response to a user triggering operation on the fourth interface, a firmware package is acquired, wherein the fourth interface includes a file selection control;

[0292] In response to the user's triggering operation on the remote upload control, the fifth interface is displayed, and in response to the user's triggering operation on the fifth interface, the firmware package is obtained. The fifth interface includes multiple indication information and a text input box corresponding to each indication information.

[0293] In a possible implementation, the processing module 12 is further configured to:

[0294] In response to a user triggering operation on a file selection control on the fourth interface, determining local path information of the firmware package, and displaying a sixth interface, the sixth interface including a path display area corresponding to the file selection control and a first determination control, the path display area being used to display local path information, the local path information being used to indicate a storage address of the firmware package on a local device;

[0295] In response to a user triggering operation on a first determination control of the sixth interface, displaying a seventh interface, wherein the seventh interface includes a start updating control;

[0296] In response to the user's triggering operation to start updating the control in the seventh interface, the firmware package is uploaded to the target storage address according to the local path information, and the eighth interface is displayed. The eighth interface includes first progress indication information, and the first progress indication information is used to indicate the upload progress of the firmware package.

[0297] In a possible implementation, the processing module 12 is further configured to:

[0298] After confirming that the firmware package upload is complete, displaying the ninth interface, the ninth interface includes a confirm update control;

[0299] In response to the user's triggering operation on determining the update control, the firmware of the target selected component is updated according to the firmware package, and a tenth interface is displayed, the tenth interface includes second progress indication information, and the second progress indication information is used to indicate the update progress of the firmware package.

[0300] In a possible implementation, the processing module 12 is further configured to:

[0301] For any one indication information in the fifth interface, in response to the user's input operation on the text input box corresponding to the indication information, fill the text input box corresponding to the indication information with the input information corresponding to the indication information;

[0302] In response to a user triggering operation on a second determination control in the fifth interface, generating remote path information of the firmware package according to input information corresponding to each indication information, the remote path information including the following information of the remote device: a protocol type of a network transmission protocol, an Internet protocol address, a uniform resource locator address, a user name, and a password;

[0303] Request the remote device to obtain the firmware package based on the remote path information.

[0304] In a possible implementation, the second interface further includes a select all control and a cancel selection control, wherein:

[0305] The select all control is used to indicate: triggering a selection control of each to-be-selected component in at least one to-be-selected component;

[0306] Canceling the selection control is used to indicate: cancelling the selection control that was triggered most recently by the user before the current moment, or cancelling each selection control that has been triggered in the second interface.

[0307] In a possible implementation, the processing module 12 is further configured to:

[0308] In response to a triggering operation of a target selection control in the second interface by a user, a to-be-selected component corresponding to the target selection control is determined as a target to-be-selected component;

[0309] The target selection control is a selection control corresponding to the target component to be selected, and / or a select all control.

[0310] In a possible implementation, for any component to be selected in the second interface, the displayed information of the component to be selected includes the component identification, component model, and firmware version number of the component to be selected.

[0311] Fig.16 A hardware structure diagram of a computing device provided in an embodiment of the present application. Fig.16 The computing device 20 may include a processor 21 and a memory 22, and the processor 21 and the memory 22 are coupled. The processor 21 and the memory 22 may communicate with each other; illustratively, the processor 21 and the memory 22 communicate with each other via a communication bus 23.

[0312] The memory 22 is used to store computer instructions;

[0313] The processor 21 is used to execute the computer instructions stored in the memory 22 to implement the technical solution shown in the above method embodiment.

[0314] Optionally, the computing device 20 may further include a communication interface, which may include a transmitter and / or a receiver.

[0315] Optionally, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application may be directly implemented as being executed by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.

[0316] An embodiment of the present application provides a computer-readable storage medium, on which computer-executable instructions are stored; when the computer-executable instructions are executed by a processor, they are used to implement the firmware update method described in the above embodiment.

[0317] An embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the computer executes the firmware update method described in the above embodiment.

[0318] All or part of the steps of the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a readable memory. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned memory (storage medium) includes: read-only memory (English: read-only memory, abbreviated: ROM), RAM, flash memory, hard disk, solid state drive, magnetic tape (English: magnetic tape), floppy disk (English: floppy disk), optical disc (English: optical disc) and any combination thereof.

[0319] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable terminal device to generate a machine, so that the instructions executed by the processing unit of the computer or other programmable terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0320] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0321] These computer program instructions can also be loaded onto a computer or other programmable terminal device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0322] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the embodiments of the present application, rather than to limit them. Although the embodiments of the present application have been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A firmware update method, characterized in that: The method comprises: In response to the firmware update request, display a first interface, the first interface including a plurality of type controls corresponding to a plurality of component types; In response to a first trigger signal, displaying a second interface, wherein the first trigger signal is generated by a user triggering a target type control, the multiple type controls include the target type control, and the second interface includes display information and a selection control of at least one to-be-selected component corresponding to the target type control; A target component to be selected is determined, and firmware of the target component to be selected is updated, wherein the at least one component to be selected includes the target component to be selected.

2. The method according to claim 1, characterized in that The updating of the firmware of the target selected component includes: In response to a second trigger signal, displaying a third interface, the third interface including a firmware upload control, the second trigger signal being generated by a user triggering an operation on the second interface; A firmware package corresponding to the target component to be selected is obtained based on the firmware upload control, and the firmware of the target component to be selected is updated according to the firmware package.

3. The method according to claim 2, characterized in that The firmware upload control includes a local upload control and a remote upload control; the method of obtaining the firmware package corresponding to the target selected component based on the firmware upload control includes: In response to a user triggering operation on the local upload control, displaying a fourth interface, and in response to a user triggering operation on the fourth interface, acquiring the firmware package, the fourth interface including a file selection control; In response to the user's triggering operation on the remote upload control, a fifth interface is displayed, and in response to the user's triggering operation on the fifth interface, the firmware package is obtained, and the fifth interface includes multiple indication information and a text input box corresponding to each indication information.

4. The method according to claim 3, characterized in that The acquiring the firmware package in response to the user's triggering operation on the fourth interface includes: In response to a user triggering operation on the file selection control of the fourth interface, determining the local path information of the firmware package, and displaying a sixth interface, wherein the sixth interface includes a path display area corresponding to the file selection control and a first determination control, wherein the path display area is used to display the local path information, and the local path information is used to indicate a storage address of the firmware package on a local device; In response to a user triggering operation on the first determination control of the sixth interface, displaying a seventh interface, wherein the seventh interface includes a start updating control; In response to the user's triggering operation on the start update control in the seventh interface, the firmware package is uploaded to the target storage address according to the local path information, and an eighth interface is displayed, wherein the eighth interface includes first progress indication information, and the first progress indication information is used to indicate the upload progress of the firmware package.

5. The method according to claim 4, characterized in that The updating of the firmware of the target selected component according to the firmware package includes: After determining that the firmware package is uploaded, displaying a ninth interface, wherein the ninth interface includes a control for determining an update; In response to the user's triggering operation on the update control, the firmware of the target selected component is updated according to the firmware package, and a tenth interface is displayed, wherein the tenth interface includes second progress indication information, and the second progress indication information is used to indicate the update progress of the firmware package.

6. The method according to any one of claims 3 to 5, characterized in that: The acquiring the firmware package in response to the triggering operation of the fifth interface by the user includes: For any one indication information in the fifth interface, in response to a user's input operation on a text input box corresponding to the indication information, filling the text input box corresponding to the indication information with input information corresponding to the indication information; In response to a user triggering operation on a second determination control in the fifth interface, generating remote path information of the firmware package according to input information corresponding to each indication information, the remote path information including the following information of the remote device: a protocol type of a network transmission protocol, an Internet protocol address, a uniform resource locator address, a user name, and a password; The firmware package is requested from the remote device according to the remote path information.

7. The method according to any one of claims 1 to 6, characterized in that: The second interface also includes a select all control and a cancel selection control, wherein: The select all control is used to indicate: triggering a selection control of each to-be-selected component in the at least one to-be-selected component; The cancel selection control is used to indicate: cancel the selection control that was triggered most recently by the user before the current moment, or cancel each selection control that has been triggered in the second interface.

8. The method according to claim 7, characterized in that The step of determining a target component to be selected includes: In response to a user triggering operation on a target selection control in the second interface, determining a to-be-selected component corresponding to the target selection control as the target to-be-selected component; Among them, the target selection control is the selection control corresponding to the target to-be-selected component, and / or the select-all control.

9. The method according to any one of claims 1 to 8, characterized in that: For any component to be selected in the second interface, the displayed information of the component to be selected includes the component identification, component model and firmware version number of the component to be selected.

10. A computing device, characterized in that include: Processor and memory; The processor is coupled to the memory; The memory is used to store program instructions; The processor is used to execute the program instructions to implement the method according to any one of claims 1 to 9.

Citation Information

Cited By

  • Updating method and device of firmware refreshing instruction, storage medium and electronic equipment

    CN120670011A