Method and system for upgrading server firmware based on mobile terminal

By introducing multiplexers and communication units into the server firmware upgrade system, using the mobile terminal to communicate directly with the server, monitor the BMC status, and selecting the appropriate upgrade path, the problem of cumbersome firmware upgrades and inability to upgrade when BMC is abnormal in the existing technology is solved, and efficient and secure firmware upgrades are achieved.

CN120492002APending Publication Date: 2025-08-15四川华鲲振宇智能科技有限责任公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510718674.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-30
Publication Date
2025-08-15

AI Technical Summary

Technical Problem

The existing server firmware upgrade method is complicated, the operators are burdened with heavy burden, the version compatibility is poor, and the upgrade method cannot be flexibly selected when the BMC is abnormal, which affects the stability and security of the server.

Method used

By adding a multiplexer between the programmable logic device and the firmware unit, setting up a communication unit, using the mobile terminal to communicate directly with the server, monitoring the BMC operation data, and selecting a suitable upgrade path, including a hardware path between the programmable logic device and a specific firmware unit or a hardware path between the substrate management controller and a specific firmware unit.

Benefits of technology

The firmware upgrade process is optimized, the operator burden is reduced, the upgrade efficiency and security is improved, the rapid upgrade is ensured in the abnormal BMC situation, and the server stability and security is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120492002A_ABST
    Figure CN120492002A_ABST
Patent Text Reader

Abstract

The invention provides a method and a system for upgrading server firmware based on a mobile terminal, relates to the technical field of servers, and solves the problem that a proper firmware upgrading mode cannot be flexibly selected after a BMC (Baseboard Management Controller) is abnormal. Comprising the steps that a programmable logic device reads BMC running data of a baseboard management controller and a firmware upgrading file of a mobile terminal; if obtaining that the substrate management controller is abnormal based on the BMC operation data; predicting first time spent by the baseboard management controller for completing the to-be-upgraded firmware unit under the BMC operation data condition; calculating second time spent for calling the first firmware upgrading file of the mobile terminal to complete the firmware unit to be upgraded; and selecting a target path from the first upgrading path and the second path according to the size relationship between the first time and the second time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of server technology, and in particular to a method and system for upgrading server firmware based on a mobile terminal. Background Art

[0002] With the rapid development of information technology in today's society, we are exposed to an increasing amount of information and data in our daily lives, especially in big data, cloud computing, and AI inference training calculations, which are carried out by servers. As the underlying hardware, servers are focused on improving stability, performance, and security, and major manufacturers are focusing on this. Furthermore, firmware is required for communication between hardware and the system, and the operating system can only recognize the hardware through firmware. Many functions and bug fixes require firmware, so faster and more efficient firmware upgrades are also a challenge.

[0003] With the continuous advancement of electronic technology, server firmware needs to be constantly upgraded. Each user's pre-assigned server firmware is batch upgraded by connecting a portable PC to the BMC serial port or using remote tools. On-site operators need to carry multiple devices and cables for connection operations, which increases the operator workload and cumbersome operation steps, resulting in frequent troubleshooting.

[0004] In addition, after multiple upgrades, the server's firmware, such as PCH and BOIS, may have different versions. Due to version compatibility issues, the upgrade may not be completed.

[0005] In another case, when a BMC exception occurs, the server firmware upgrade cannot be achieved, and the upgrade is interrupted and cannot be completed. Therefore, in some scenarios, especially when customers believe that fast server startup is more important than security, it is even more difficult to flexibly choose the firmware upgrade method based on efficiency and security. Summary of the Invention

[0006] In view of the shortcomings of the related technologies described above, the present application provides a method and system for upgrading server firmware based on a mobile terminal to solve the above technical problems.

[0007] In a first aspect, the present application provides a system for upgrading server firmware based on a mobile terminal, wherein the system for upgrading server firmware based on a mobile terminal includes a programmable logic device, wherein the programmable logic device is connected to a communication unit, and the communication unit is connected to a mobile terminal; the programmable logic device is respectively connected to a first multiplexer and a second multiplexer, wherein the first multiplexer is connected to a specific firmware unit, and the second multiplexer is connected to a baseboard management controller, and the first multiplexer and the second multiplexer are connected to open a hardware path between the baseboard management controller and the specific firmware unit through the second multiplexer.

[0008] In one embodiment of the present application, the communication unit includes at least one of an NFC unit, a Bluetooth unit, an RFID unit, and an NFC unit.

[0009] In one embodiment of the present application, the firmware unit includes a first specific firmware unit having an upgrade priority relationship and a second firmware unit having no upgrade priority relationship.

[0010] In an embodiment of the present application, the firmware unit includes at least one of BOIS, PCH, CPLD, and BMC.

[0011] In a second aspect, the present application provides a method for upgrading server firmware based on a mobile terminal, which is applied to any system for upgrading server firmware based on a mobile terminal according to the first aspect; the method comprises: The programmable logic device reads the BMC operation data of the baseboard management controller and the firmware upgrade file of the mobile terminal; If an abnormality occurs in the baseboard management controller based on the BMC operation data; Predicting a first time taken by the baseboard management controller to complete the firmware unit to be upgraded under the BMC operating data condition; Calculate a second time taken to retrieve the first firmware upgrade file of the mobile terminal and complete the firmware unit to be upgraded; According to the size relationship between the first time and the second time, a target path is selected from the first upgrade path and the second path; the first path is a hardware path between the programmable logic device and a specific firmware unit; the second path is a hardware path between the baseboard management controller and the specific firmware unit.

[0012] In one embodiment of the present application, if it is determined based on the BMC operation data that no abnormality occurs in the baseboard management controller; selecting the first path as the target path; The baseboard management controller logs in to the Web, downloads the second target firmware upgrade file, and the BMC receives and stores the second firmware upgrade file; The programmable logic device takes over the control right of the baseboard management controller, verifies the firmware upgrade file, and verifies by sending the firmware upgrade file to the specific firmware unit through the first path.

[0013] In one embodiment of the present application, selecting a target path from the first upgrade path and the second path according to the relationship between the first time and the second time includes: If the first time is greater than the second time, selecting the first path as the target path; The programmable logic device retrieves a firmware upgrade file from the mobile terminal, verifies the firmware upgrade file, and verifies the firmware upgrade file by sending the firmware upgrade file to the specific firmware unit through the first path.

[0014] In one embodiment of the present application, selecting a target path from the first upgrade path and the second path according to the relationship between the first time and the second time includes: If the first time is less than the second time, selecting the second path as the target path; The baseboard management controller logs in to the Web and downloads the second target firmware upgrade file. The BMC receives and stores the second firmware upgrade file and sends the second firmware upgrade file to the specific firmware unit through the second path.

[0015] In one embodiment of the present application, before selecting a target path from the first upgrade path and the second upgrade path based on the magnitude relationship between the first time and the second time, the method further includes: Compare the first integrity of the first firmware upgrade file and the second integrity of the second firmware upgrade file; Selecting a target path from the first upgrade path and the second upgrade path according to a greater-less-than relationship between the first time and the second time includes: A target path is selected from the first upgrade path and the second path according to a magnitude relationship between the first time and the second time, and a magnitude relationship between the first completeness and the second completeness.

[0016] In one embodiment of the present application, if the firmware unit to be upgraded includes multiple first firmware units with an upgrade priority relationship; according to the upgrade priority relationship, the first integrity of the first firmware upgrade file and the second integrity of the second firmware upgrade file are calculated.

[0017] As described above, the method and system for upgrading server firmware based on a mobile terminal provided by this application have the following beneficial effects: This application adds a second multiplexer before the first multiplexer between the programmable logic device (CPLD) and the firmware unit to open up a hardware path between the baseboard management controller (BMC) and the firmware unit. A communication unit is also provided, with the programmable logic device connected to the communication unit. This allows the programmable logic device to retrieve firmware upgrade files from a mobile device through the communication unit, monitor BMC operating data, estimate BMC recovery time after an abnormality based on historical data, and comprehensively select an appropriate transmission path to send the firmware upgrade file to the firmware unit to be upgraded. This optimizes the firmware upgrade process by taking into account multiple factors, including BMC status, upgrade efficiency, and security. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings are incorporated into and constitute a part of the specification, illustrating embodiments consistent with the present application and, together with the specification, serving to explain the principles of the present application. It is obvious that the drawings described below are merely some embodiments of the present application, and a person of ordinary skill in the art can derive other drawings based on these drawings without inventive effort. In the drawings: Figure 1 This is a schematic diagram of an embodiment of the system for upgrading server firmware based on a mobile terminal of the present application; Figure 2 This is a schematic diagram of an example embodiment of a system for upgrading server firmware based on a mobile terminal of the present application; Figure 3 This is a flowchart of a method for performing a firmware upgrade based on a mobile terminal upgrade server firmware system according to an embodiment of the present application. DETAILED DESCRIPTION

[0019] The following will describe the embodiments of the present application with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand the other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be understood that the preferred embodiments are only for the purpose of illustrating the present application and are not intended to limit the scope of protection of the present application.

[0020] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application. Therefore, the illustrations only show components related to the present application and are not drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component can be changed at will, and the component layout type may also be more complicated.

[0021] In the following description, a large number of details are discussed to provide a more thorough explanation of the embodiments of the present application. However, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present application difficult to understand.

[0022] See also Figure 1 , Figure 1 This is a schematic diagram of an embodiment of the system for upgrading server firmware based on a mobile terminal of the present application.

[0023] The system for upgrading server firmware based on a mobile terminal includes a programmable logic device, which is connected to a communication unit, and the communication unit is connected to a mobile terminal; the programmable logic device is respectively connected to a first multiplexer and a second multiplexer, the first multiplexer is connected to a specific firmware unit, and the second multiplexer is connected to a baseboard management controller, and the first multiplexer and the second multiplexer are connected to open a hardware path between the baseboard management controller and the specific firmware unit through the second multiplexer.

[0024] A multiplexer (MUX) is an electronic circuit that converts multiple input signals into a single output signal. This circuit typically consists of multiple input ports, a control port, and an output port. It selects between the input ports, thereby converting multiple input signals into a single output signal.

[0025] Programmable logic devices can be CPLDs (Complex Programmable Logic Devices) or FPGAs (Field-Programmable Gate Arrays). Baseboard Management Controller (BMC) exceptions include abnormalities in the management network port, the BMC stopping responding, or being unable to perform its management tasks normally.

[0026] The communication unit includes at least one of an NFC unit, a Bluetooth unit, an RFID unit, and an NFC unit. The firmware unit includes at least one of a BOIS, a PCH, a CPLD, and a BMC.

[0027] Figure 2 This is a schematic diagram of an example of an embodiment of a system for upgrading server firmware based on a mobile terminal of the present application. Figure 2 As shown, the firmware units may be two firmware units: BOIS and PCH.

[0028] In special cases, the server startup priority is higher. For example, the CPLD will verify the firmware upgrade file downloaded by the BMC from the WEB page to ensure its security. However, the CPLD verification will cause the BMC response time to be too long, and the BMC upgrade is urgently needed; or problems may occur in areas not covered by the CPLD verification, such as dynamic areas, which will result in the situation where the upgrade cannot be performed even if the verification is passed. In view of the above problems, the system for upgrading server firmware based on the mobile terminal proposed in the embodiment of the present application opens up the hardware path between the BMC and the firmware unit to be upgraded, and sets a communication unit to establish a channel for obtaining third-party firmware upgrade files, so as to realize flexible selection of firmware upgrade methods according to the application scenario.

[0029] Furthermore, in order to ensure the compatibility of the firmware upgrade file with the firmware to be upgraded, as well as the version compatibility of the firmware upgrade, this application will classify the firmware units to be upgraded based on whether they have an upgrade sequence relationship.

[0030] For example, if the upgrade history log shows that the upgrade of firmware A requires the upgrade of firmware B, it can be determined that firmware A and firmware B have an upgrade priority relationship. For example, when firmware A is the BMC, firmware B is the CPLD. When firmware A is the BIOS, firmware B can be the CPLD and the BMC, which need to be upgraded in parallel.

[0031] By applying the system for upgrading server firmware based on a mobile terminal proposed in the above-mentioned embodiment of the present application, the embodiment of the present application can analyze the current status of the firmware unit and BMC that need to be upgraded in the current scenario and select the most appropriate upgrade method.

[0032] Example 1, Figure 3 This is a flow chart of a method for performing a firmware upgrade based on a mobile terminal upgrade server firmware system according to an embodiment of the present application. Figure 3 As shown, the steps for performing firmware upgrade based on the mobile terminal upgrade server firmware system include: S1: The programmable logic device reads the BMC operation data of the baseboard management controller and the firmware upgrade file of the mobile terminal to determine whether the BMC is abnormal through the BMC operation data and obtain information about the firmware upgrade file of the mobile terminal.

[0033] For example, BMC status, logs, sensor data, interface data, etc. can all be used to determine the BMC status.

[0034] S2: If the baseboard management controller is abnormal based on the BMC operation data, the process jumps to step S31; if the baseboard management controller is not abnormal based on the BMC operation data, the process jumps to step S34.

[0035] S31: predicting a first time taken by the baseboard management controller to complete the firmware unit to be upgraded under the BMC operating data condition.

[0036] For example, if the BMC stops responding, you can retrieve the BMC's historical operation log to determine the probability and average time it takes for the BMC to restart and respond. Alternatively, you can retrieve the BMC's historical operation log to determine the average time it takes for the BMC to recover after a network connection anomaly. This value can be added to the time it takes for the BMC to log in to the web and download the firmware upgrade file, which serves as the initial time.

[0037] S32: Calculate a second time taken to complete the firmware unit to be upgraded by retrieving the first firmware upgrade file of the mobile terminal.

[0038] The second time includes the duration of the connection stability detection between the mobile terminal and the server after the mobile terminal is connected through the communication terminal, and the duration of the firmware upgrade file transmission from the mobile terminal.

[0039] S33: Select a target path from the first upgrade path and the second path based on the size relationship between the first time and the second time; the first path is a hardware path between the programmable logic device and a specific firmware unit; the second path is a hardware path between the baseboard management controller and a specific firmware unit.

[0040] Continue to refer Figure 2 If the firmware unit is BOIS, the first path is programmable logic device-first multiplexer-BOIS; the second path is BMC-second multiplexer-first multiplexer-BOIS.

[0041] The specific implementation process of executing step S34 includes: S341: The programmable logic device selects the first path as the target path.

[0042] S342: The programmable logic device verifies the second target firmware upgrade file downloaded by the BMC to ensure the security of the second target firmware upgrade file.

[0043] S343: After selecting the first path, the programmable logic device sends an instruction to the baseboard management controller, waits for the baseboard management controller to log in to the web, downloads the second target firmware upgrade file, and the BMC receives and stores the second firmware upgrade file; S344: Taking over control of the baseboard management controller, verifying the second firmware upgrade file, and verifying by sending the firmware upgrade file to the specific firmware unit through the first path.

[0044] In one embodiment, executing step S33 includes the following sub-steps: S331: If the first time is greater than the second time, select the first path as the target path.

[0045] If the first time is greater than the second time, it means that the efficiency of downloading the firmware upgrade file from the mobile terminal is higher.

[0046] For example, if the communication unit is an NFC communication module, before the mobile device is placed close to the NFC tag to identify the server's hardware and firmware information, a connection stability test is performed between the mobile device and the server. This ensures that the Type-C cable is properly connected and the data transmission channel is unobstructed to avoid interruptions caused by connection problems during the identification and update process.

[0047] S332: The programmable logic device retrieves a firmware upgrade file from the mobile terminal, verifies the firmware upgrade file, and verifies the firmware upgrade file by sending the firmware upgrade file to the specific firmware unit through the first path.

[0048] When a BMC anomaly occurs, it is determined that downloading the firmware upgrade file from a mobile device is more efficient. This file is obtained from the mobile device and sent to the firmware unit to be upgraded via a designated channel, ensuring network security without accessing the customer network. This avoids security risks, protects sensitive customer information, and enhances trust. To address abnormal situations, if the customer network or BMC serial port anomalies occur, the system can quickly switch to independent operation to complete the upgrade, minimizing service interruption.

[0049] In another embodiment, executing step S33 may further include the following sub-steps: S33-1: If the first time is less than the second time, select the second path as the target path.

[0050] If the first time is shorter than the second time, it means that it is more efficient to wait for the BMC to resume responding before completing the firmware upgrade. For example, you can wait for the BMC to resume network connection before completing the firmware upgrade.

[0051] S33 - 2 : The baseboard management controller logs in to the Web and downloads a second target firmware upgrade file. The BMC receives and stores the second firmware upgrade file and sends the second firmware upgrade file to the specific firmware unit through the second path.

[0052] Since the BMC has already had an abnormality, in order to further improve efficiency, complete the firmware upgrade first and improve the stability of the firmware. The firmware upgrade file can be sent directly to the firmware unit to be upgraded through the second channel BMC, so as to achieve the purpose of quickly completing the firmware upgrade when the guest server startup priority is higher.

[0053] In Example 2, to further ensure the compatibility of the firmware upgrade file with the firmware to be upgraded, as well as the compatibility of the firmware upgrade versions, the present application embodiment also proposes a method for upgrading the server firmware based on a mobile terminal, the steps comprising: S21: The programmable logic device reads the BMC operation data of the baseboard management controller and the firmware upgrade file of the mobile terminal.

[0054] S22: If an abnormality occurs in the baseboard management controller based on the BMC operation data; S23: Predicting a first time taken by the baseboard management controller to complete the firmware unit to be upgraded under the BMC operating data condition.

[0055] S24: Calculate a second time taken to complete the firmware unit to be upgraded by retrieving the first firmware upgrade file of the mobile terminal.

[0056] S25: Compare the first integrity of the first firmware upgrade file and the second integrity of the second firmware upgrade file.

[0057] S26: Select a target path from the first upgrade path and the second path according to the relationship between the first time and the second time, and the relationship between the first completeness and the second completeness.

[0058] If the firmware unit to be upgraded includes multiple first firmware units with an upgrade priority relationship, a first integrity of the first firmware upgrade file and a second integrity of the second firmware upgrade file are calculated according to the upgrade priority relationship.

[0059] For example, if the firmware unit to be upgraded includes a BMC and a CPLD, calculating the integrity of the firmware upgrade file includes: when the versions of the BMC and CPLD are consistent, determining the integrity to be C; when the versions of the BMC and CPLD are inconsistent, determining the integrity to be D, where C>D.

[0060] For example, calculating the integrity of the firmware upgrade file may also include: querying historical information, determining the version information of the current firmware to be upgraded, if the difference between the version number of a certain firmware and the version number of the current firmware to be upgraded is less than a preset value, determining the integrity to be E, if the difference between the version number of a certain firmware and the version number of the current firmware to be upgraded is greater than a preset value, determining the integrity to be F, E>F.

[0061] Executing S26 specifically includes the following steps: S261: If the first time is greater than the second time, and the first integrity is greater than the second integrity, select the first path as the target path.

[0062] S262: If the first time is less than the second time, and the second integrity is greater than the first integrity, select the second path as the target path.

[0063] S263: If the first time is greater than the second time and the first integrity is less than the second integrity, or if the first time is less than the second time and the second integrity is less than the first integrity, send a confirmation message to the mobile terminal, obtain the user's command signal, and select the target path according to the user's command signal.

[0064] In one example of the present application, the process of executing the method for upgrading the server firmware based on the mobile terminal also includes the following process: As the programmable logic device retrieves the firmware upgrade file from the mobile device, a real-time progress display is added as the mobile device matches the server hardware information identified by NFC with the information in the mobile device's hardware library, allowing users to clearly understand the matching progress and status. When selecting the target firmware version for upgrade, in addition to the existing filtering function, more detailed version descriptions and compatibility tips are provided to help users make more informed choices.

[0065] After selecting the target path and sending the firmware upgrade file to the firmware unit, the server's hardware status and upgrade progress are monitored in real time during the upgrade process, and displayed on the mobile interface in the form of charts or dynamic bars for users to understand intuitively.

[0066] If the upgrade fails, not only will the failure log be transferred and displayed on the interface, but the possible reasons for the failure will also be automatically analyzed and corresponding solutions will be given.

[0067] After the upgrade is successful, in addition to feeding back information to the NFC module, the NFC module writes the new firmware information to the NFC tag and automatically generates an upgrade report, including version comparison before and after the upgrade, upgrade time and other detailed information for users to retain or share.

[0068] Add an exception handling mechanism throughout the entire process. For example, if NFC recognition fails within a certain period of time or the matching process is stuck, it will automatically retry or display an appropriate error message on the mobile terminal.

[0069] An embodiment of the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, which, when executed by one or more processors, enables the electronic device to implement the method of upgrading server firmware based on a mobile terminal provided in the above-mentioned embodiments.

[0070] Another aspect of the present application provides a computer-readable storage medium having a computer program stored thereon. When executed by a computer processor, the computer program causes the computer to perform the methods for upgrading server firmware based on a mobile terminal as provided in the above embodiments. The computer-readable storage medium may be included in the electronic device described in the above embodiments, or may exist independently and not be incorporated into the electronic device.

[0071] Another aspect of the present application provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the method for upgrading server firmware based on a mobile terminal provided in each of the above embodiments.

[0072] In the embodiments of this application, the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance. Throughout the specification and claims, the terms "including" and "comprising" are open-ended terms and should be interpreted as "including but not limited to."

[0073] The above embodiments are merely illustrative of the principles and effects of this application and are not intended to limit this application. Anyone skilled in the art may modify or alter the above embodiments without departing from the spirit and scope of this application. Therefore, any equivalent modifications or alterations accomplished by a person of ordinary skill in the art without departing from the spirit and technical concepts disclosed in this application shall be covered by the claims of this application.

Claims

1. A system for upgrading server firmware based on a mobile terminal, characterized in that: The system for upgrading server firmware based on a mobile terminal includes a programmable logic device, which is connected to a communication unit, and the communication unit is connected to a mobile terminal; the programmable logic device is respectively connected to a first multiplexer and a second multiplexer, the first multiplexer is connected to a specific firmware unit, and the second multiplexer is connected to a baseboard management controller, and the first multiplexer and the second multiplexer are connected to open a hardware path between the baseboard management controller and the specific firmware unit through the second multiplexer.

2. The system for upgrading server firmware based on a mobile terminal according to claim 1, characterized in that: The communication unit includes at least one of an NFC unit, a Bluetooth unit, an RFID unit, and an NFC unit.

3. The system for upgrading server firmware based on a mobile terminal according to claim 1, characterized in that: The firmware units include a first specific firmware unit having an upgrade priority relationship and a second firmware unit having no upgrade priority relationship.

4. The system for upgrading server firmware based on a mobile terminal according to claim 1, characterized in that: The firmware unit includes at least one of BOIS, PCH, CPLD and BMC.

5. A method for upgrading server firmware based on a mobile terminal, characterized in that: Applied to the system for upgrading server firmware based on a mobile terminal according to any one of claims 1 to 4, the method comprises: The programmable logic device reads the BMC operation data of the baseboard management controller and the firmware upgrade file of the mobile terminal; If an abnormality occurs in the baseboard management controller based on the BMC operation data; Predicting a first time taken by the baseboard management controller to complete the firmware unit to be upgraded under the BMC operating data condition; Calculate a second time taken to retrieve the first firmware upgrade file of the mobile terminal and complete the firmware unit to be upgraded; According to the size relationship between the first time and the second time, a target path is selected from the first upgrade path and the second path; the first path is a hardware path between the programmable logic device and a specific firmware unit; the second path is a hardware path between the baseboard management controller and the specific firmware unit.

6. The method according to claim 5, characterized in that If no abnormality occurs to the baseboard management controller based on the BMC operation data; selecting the first path as the target path; The baseboard management controller logs in to the Web, downloads the second target firmware upgrade file, and the BMC receives and stores the second firmware upgrade file; The programmable logic device takes over control of the baseboard management controller and verifies the second firmware upgrade file by sending the firmware upgrade file to the specific firmware unit through the first path.

7. The method according to claim 5, characterized in that Selecting a target path from the first upgrade path and the second upgrade path according to a greater-less-than relationship between the first time and the second time includes: If the first time is greater than the second time, selecting the first path as the target path; The programmable logic device retrieves a firmware upgrade file from the mobile terminal, verifies the firmware upgrade file, and verifies the firmware upgrade file by sending the firmware upgrade file to the specific firmware unit through the first path.

8. The method according to claim 5, characterized in that Selecting a target path from the first upgrade path and the second upgrade path according to a greater-less-than relationship between the first time and the second time includes: If the first time is less than the second time, selecting the second path as the target path; The baseboard management controller logs in to the Web and downloads the second target firmware upgrade file. The BMC receives and stores the second firmware upgrade file and sends the second firmware upgrade file to the specific firmware unit through the second path.

9. The method according to claim 5, characterized in that Before selecting a target path from the first upgrade path and the second upgrade path based on the magnitude relationship between the first time and the second time, the method further includes: comparing a first integrity level of the first firmware upgrade file and a second integrity level of the second firmware upgrade file; Selecting a target path from the first upgrade path and the second upgrade path according to a greater-less-than relationship between the first time and the second time includes: A target path is selected from the first upgrade path and the second path according to a magnitude relationship between the first time and the second time, and a magnitude relationship between the first completeness and the second completeness.

10. The method according to claim 5, characterized in that If the firmware unit to be upgraded includes multiple first firmware units with an upgrade priority relationship, a first integrity of the first firmware upgrade file and a second integrity of the second firmware upgrade file are calculated according to the upgrade priority relationship.