Computer network and method for updating firmware of peripheral device of computer system thereof

Through the operating system control system chip operating on the host, the basic input and output system enters the unified extensible firmware interface, and the update script is executed to automatically update the firmware of the server peripheral devices. This solves the problems of cumbersome and inconvenient firmware updates in the existing technology and improves the efficiency of the system. Improve update efficiency and user experience.

CN118778979APending Publication Date: 2024-10-15WIWYNN CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310528534.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-04-07
Filing Date
2023-05-11
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

In the existing technology, the firmware update process for server peripheral devices is cumbersome and requires manual entry into BIOS and UEFI, which is time-consuming and unintuitive. Especially when the firmware versions are different, direct updates cannot be performed, causing user inconvenience.

Method used

Through the operating system control system chip running on the host, the basic input and output system enters the unified extensible firmware interface, executes the update script to update the peripheral firmware to the peripheral device, and restarts the computer to complete the update.

Benefits of technology

It realizes an automated firmware update process, reducing manual steps and waiting time for users, improving update efficiency and user experience, without requiring additional hardware or complex circuit design, and reducing maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118778979A_ABST
    Figure CN118778979A_ABST
Patent Text Reader

Abstract

The invention provides a computer network and a method for updating firmware of peripheral devices of a computer system thereof. The computer system comprises a host, a system chip and a basic input / output system. The host is coupled to the system-on-chip, the system-on-chip is coupled to the basic input / output system, and the basic input / output system is coupled to the peripheral device. In one embodiment, a method includes a job system operating on a host controlling a system-on-chip to initiate a firmware update of a peripheral device, the system-on-chip causing a basic input / output system to enter a unified extensible firmware interface in response to the firmware update, the unified extensible firmware interface executing an update script to update peripheral firmware to the peripheral device, and restarting to complete firmware updating of the peripheral device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to firmware update, in particular to a method for updating firmware of peripheral devices of a computer network and a computer system thereof. Background Art

[0002] A server is a computer system that processes large amounts of data and traffic. Users can access applications, files, databases, emails, and other resources through an internal network or the Internet. Servers can be expanded through external peripheral devices. For example, a file server can increase storage space by connecting an input / output controller (IOC) to an external hard disk. Peripheral devices can update firmware to increase or improve functions.

[0003] In the related art, users need to use the unified extensible firmware interface (UEFI) to manually update the firmware, but the update steps are cumbersome, resulting in a poor user experience. First, the user needs to pay full attention to the time to wait for the manual entry into the basic input / output system (BIOS), which wastes waiting time. For example, it is necessary to press and hold the "Delete" key within a predetermined period of time after restarting the computer to enter the BIOS menu. Secondly, after entering the BIOS menu, it is necessary to manually enter UEFI, which is not intuitive to use. For unfamiliar users, it takes time to learn to find the UEFI option from the BIOS menu. Finally, even if a standard process is provided for users to update the firmware, emergencies may still occur, and manpower is required to remotely troubleshoot the problem, such as the need to use a toolbox (tool) or a specific command (command) to troubleshoot the problem due to user input errors.

[0004] In other related technologies, users can update the firmware from the operating system without going through UEFI, which is called in-band update. However, when the firmware versions are different, the instruction addresses of different versions of firmware will change accordingly, so in-band update cannot be used, and it is still necessary to manually enter UEFI to update the firmware, causing inconvenience to users. Summary of the invention

[0005] The embodiment of the present invention provides a method for updating firmware of peripheral devices of a computer network and a computer system thereof. The computer system includes a host, a system on chip (SoC) and a basic input / output system (BIOS), the host is coupled to the SoC, the SoC is coupled to the BIOS, the BIOS is coupled to the peripheral devices, and the method includes: an operating system (OS) running on the host controls the SoC to update the firmware of the initial peripheral devices, in response to the firmware update, the SoC enables the BIOS to enter the unified extensible firmware interface (UEFI), the UEFI executes an update script to update the peripheral firmware to the peripheral devices, and reboots the computer to complete the firmware update of the peripheral devices.

[0006] An embodiment of the present invention provides another computer network including a computer system. The computer system includes a host, a system chip and a basic input and output system. The system chip is coupled to the host, and the basic input and output system is coupled to the host, the system chip and the peripheral device. The operating system is used to operate on the host to control the system chip to initiate the firmware update of the peripheral device. In response to the firmware update, the system chip is used to enable the basic input and output system to enter the unified extensible firmware interface. The unified extensible firmware interface is used to execute an update script to update the peripheral firmware to the peripheral device. The computer system is used to reboot to complete the firmware update of the peripheral device. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] Figure 1 Shown is a block diagram of a computer system in an embodiment of the present invention;

[0008] Figure 2 Shown Figure 1 A flowchart of a method for updating firmware of a peripheral device of a computer system;

[0009] Figure 3 Shown is applicable to Figure 1 A block diagram of a computer network in a computer system;

[0010] Figure 4 Shown Figure 3 A flowchart of a method for updating firmware of a peripheral device in a computer network.

[0011]

Description of the accompanying drawings

[0012] k1,11 to K1, computer system;

[0013] k10, host;

[0014] k102, operating system (OS);

[0015] k104, peripheral firmware;

[0016] k106, Update script;

[0017] k12, system chip;

[0018] k14, basic input / output system (BIOS);

[0019] k142, unified extensible firmware interface (UEFI);

[0020] k16, peripheral devices;

[0021] 200,400, firmware update method;

[0022] S202 to S208, S402 to S410, steps;

[0023] 3. Computer network;

[0024] 30. Central control computer. DETAILED DESCRIPTION

[0025] Figure 1Shown is a block diagram of a computer system k1 in an embodiment of the present invention. The computer system k1 may be a network storage server for data backup, file sharing, and data management. The computer system k1 may be connected to other computers or devices via a network, and may provide reliable data transmission and storage functions. The computer system k1 may be coupled to a peripheral device k16 to expand functionality. The peripheral device k16 may be a peripheral component interconnect express (PCI-E) device. For example, the peripheral device k16 may be an input / output controller (IOC) or other PCI-E device. If the peripheral device k16 is an input / output controller (IOC), the computer system k1 may be coupled to a PCI-E hard disk or solid-state drive (SSD), and other storage devices supporting UEFI via the peripheral device k16 to increase storage space. Computer system K1 can support automatic firmware updates and recovery of peripheral devices K16 through the unified extensible firmware interface (UEFI), without the need for additional hardware or complex circuit design, improving user experience, reducing maintenance costs, and lowering the requirements for firmware updates, providing all users with a quick and convenient means of peripheral maintenance.

[0026] The computer system k1 may include a host k10, a system on chip (SoC) k12, and a basic input / output system (BIOS) k14. The SoC k12 is coupled to the host k10, and the BIOS k14 is coupled to the host k10, the SoC k12, and the peripheral device k16. Figure 1 Only one peripheral device k16 is shown, and the computer system k1 may also be coupled to a plurality of peripheral devices k16.

[0027] The host k10 may store an operating system (OS) k102, peripheral firmware k104, and an update script k106. In other embodiments, the peripheral firmware k104 may be stored in the peripheral device k16. For example, OS k102 may be Microsoft Windows, Linux, or macOS. The peripheral firmware k104 and the update script k106 may be pre-stored in the host k10 locally or remotely. The update script k106 may include a plurality of instructions, and when the plurality of instructions are executed, the firmware of the peripheral device k16 may be updated or restored. The BIOS k14 may access the peripheral firmware k104 of the host k10 through the UEFI k142. However, the host k10 must enter and control the BIOS k14 and UEFI k142 through the system chip k12. During booting, UEFI k142 can load only the minimum drivers and firmware required for booting and perform a boot test on computer system k1, thereby ensuring that computer system k1 can operate normally in a short time and achieve fast booting. BIOS k14 provides a standardized way for hardware and firmware interaction through UEFI k142, supports fast booting and larger hard disk capacity. In this embodiment, UEFI k142 can access host k10 to load update script k106 and peripheral firmware k104, and execute update script k106.

[0028] The system chip K12 can be a baseboard management controller (BMC), which is responsible for monitoring and controlling components of the computer system K1, such as power supplies, fans, temperature sensors, and storage devices. In addition, the system chip K12 can also provide remote management functions, allowing system administrators to monitor and control the computer system K1 from a remote location.

[0029] The computer system k1 integrates the host k10, the system chip k12 and the BIOS k14, and executes the update script k106 to update or restore the firmware of the peripheral device k16.

[0030] Figure 2 The flowchart of the firmware update method 200 of the peripheral device k16 of the computer system k1 is shown. The firmware update method 200 includes steps S202 to S208, which are used to update or restore the firmware of the peripheral device k16. Any reasonable technical changes or step adjustments fall within the scope of the present invention. The details of steps S202 to S208 are as follows:

[0031] Step S202: OS k102 running on the host k10 controls the system chip k12 to update the firmware of the initial peripheral device k16;

[0032] Step S204: In response to the firmware update, the system chip k12 enables the BIOS k14 to enter the UEFI k142;

[0033] Step S206: UEFI k142 executes the update script k106 to update the peripheral firmware k104 to the peripheral device k16;

[0034] Step S208: Reboot the computer to complete the firmware update of the peripheral device k16.

[0035] In step S202, once the host k10 receives the firmware update instruction, the firmware update of the peripheral device k16 is triggered. Since the firmware update can only be performed after entering the BIOS k14 and UEFI k142, the user can manually restart the computer system k1. After the restart, since the host k10 cannot directly control the BIOS k14 and UEFI k142 and must control the BIOS k14 and UEFI k142 through the system chip k12, the OS k102 will send a set of instructions to the system chip k12 to initiate the firmware update of the peripheral device k16. The set of instructions may include a first instruction for the system chip k12 to instruct the BIOS k14 to enter the UEFI k142 (step S204). The set of instructions may also include a second instruction for the system chip k12 to indicate the peripheral device k16 to perform the firmware update. Since the computer system k1 may include one or more peripheral devices k16, the system chip k12 may instruct the peripheral device k16 to perform the firmware update according to the second instruction. In some embodiments, the computer system k1 may include only one peripheral device k16, and the system chip k12 may instruct the UEFI k142 to perform a firmware update on the one peripheral device k16 according to the second instruction. In other embodiments, the computer system k1 may include only two peripheral devices k16, and the system chip k12 may instruct the UEFI k142 to perform a firmware update on the two peripheral devices k16 according to the second instruction. In other embodiments, the computer system k1 may include only two peripheral devices k16, and the system chip k12 may instruct the UEFI k142 to perform a firmware update on one of the two peripheral devices k16 according to the second instruction. In other embodiments, the computer system k1 may include more than two peripheral devices k16, and the system chip k12 may instruct the UEFI k142 to perform a firmware update on all peripheral devices k16 or a portion of all peripheral devices k16 according to the second instruction. For example, the computer system k1 may include only two input-output controllers, and the system chip k12 may instruct the UEFI k142 to perform a firmware update on the two input-output controllers according to the second instruction.

[0036] In step S206, UEFI k142 may load update script k106 from host k10 and execute update script k106 to perform firmware update on selected peripheral device k16. In some embodiments, when executing update script k106, UEFI k142 may obtain peripheral firmware k104 from host k10 and burn or program peripheral firmware k104 to a predetermined address of the memory of selected peripheral device k16. The memory of selected peripheral device k16 may be a flash memory or other non-volatile memory. Then in step S208, computer system k1 may be rebooted to complete the firmware update of selected peripheral device k16.

[0037] Figure 3 The block diagram of the computer network 3 applicable to the computer system k1 is shown. The computer network 3 may include a central control computer 30 and computer systems 11 to K1, where K is a positive integer. For example, if K=2, the computer network 3 includes computer systems 11 and 21. Figure 3 Each computer system k1 in Figure 1 The computer system k1 in the embodiment is coupled to the respective peripheral devices k16, wherein k is a positive integer between 1 and K. The number of peripheral devices k16 of each computer system k1 may be the same or different. For example, the computer system 11 includes two peripheral devices 116, and the computer system 21 includes two peripheral devices 216. The central control computer 30 may remotely transmit a firmware update instruction to the computer systems 11 and 21 to trigger the computer system 11 to perform a firmware update or restore on the two peripheral devices 116, and to trigger the computer system 21 to perform a firmware update or restore on the two peripheral devices 216.

[0038] Figure 4 The flowchart of the firmware update method 400 of the peripheral device of the computer network 3 is shown. The firmware update method 400 includes steps S402 to S410, which are used to trigger a plurality of computer systems in the computer network 3 to update or restore the firmware of their respective peripheral devices. Any reasonable technical changes or step adjustments fall within the scope of the present invention. The details of steps S402 to S410 are as follows:

[0039] Step S402: The central control computer transmits a firmware update instruction to the first computer system and the second computer system;

[0040] Step S404: the first OS controls the first system chip to initiate a firmware update of the first peripheral device, and the second OS controls the second system chip to initiate a firmware update of the second peripheral device;

[0041] Step S406: In response to the firmware update of the first peripheral device, the first system chip enables the first BIOS to enter the first UEFI, and in response to the firmware update of the second peripheral device, the second system chip enables the second BIOS to enter the second UEFI;

[0042] Step S408: The first UEFI executes an update script to update the peripheral firmware to the first peripheral device, and the second UEFI executes an update script to update the peripheral firmware to the second peripheral device;

[0043] Step S410: The first computer system is rebooted to complete the firmware update of the first peripheral device, and the second computer system is rebooted to complete the firmware update of the second peripheral device.

[0044] The firmware updating method 400 is described below by taking the computer network 3 including the computer systems 11 and 21 , and the computer systems 11 and 21 are respectively coupled to two peripheral devices as an example.

[0045] In step S402, the central control computer 30 transmits a firmware update command to the computer systems 11 and 21 to trigger the computer systems 11 and 21 to start firmware updates of their respective peripheral devices. Except that steps S404 to S410 are performed by the computer systems 11 and 21, and steps S202 to S208 are performed by a single computer system k1, steps S404, S406 and S410 are similar to steps S202, S204 and S208, respectively, and their descriptions are not repeated here.

[0046] In step S408, the OS 1102 of the computer system 11 transmits a set of instructions to the SoC 112 to initiate the firmware update of the two peripheral devices 116, and the OS 2102 of the computer system 21 transmits a set of instructions to the SoC 212 to initiate the firmware update of the two peripheral devices 216. The set of instructions transmitted by the OS 1102 may include a first instruction for the SoC 112 to instruct the BIOS 114 to enter the UEFI 1142, and the set of instructions transmitted by the OS 2102 may include a first instruction for the SoC 212 to instruct the BIOS 214 to enter the UEFI 2142. In addition, the set of instructions transmitted by the OS 1102 may include a second instruction for the SoC 112 to instruct the peripheral devices 116 to perform the firmware update, and the set of instructions transmitted by the OS 2102 may include a second instruction for the SoC 212 to instruct the peripheral devices 216 to perform the firmware update. If both peripheral devices of the computer systems 11 and 21 need to perform firmware update, the system chip 112 can instruct the UEFI 1142 to perform firmware update on both peripheral devices 116 according to the second instruction, and the system chip 212 can instruct the UEFI 2142 to perform firmware update on both peripheral devices 216 according to the second instruction.

[0047] Although the method 400 is described by taking two computer systems in the computer network 3 as an example, the present invention is not limited thereto, and a person skilled in the art can apply the method 400 to update other numbers of computer systems according to the spirit of the present invention.

[0048] Figures 1 to 4 The embodiments support automatic firmware update and recovery of peripheral devices through UEFI without additional hardware or complex circuit design, thereby improving user experience, reducing maintenance costs, and lowering the requirements for firmware updates (such as complexity), providing all users with a quick and convenient peripheral maintenance method.

[0049] The above description is only a preferred embodiment of the present invention. All equivalent changes and modifications made according to the scope of the patent application of the present invention should fall within the scope of the present invention.

Claims

1. A method for updating firmware of peripheral devices of a computer network and a computer system thereof, characterized in that: The first computer system includes a first host, a first system chip and a first basic input and output system, the first host is coupled to the first system chip, the first system chip is coupled to the first basic input and output system, and the first basic input and output system is coupled to the first peripheral device. The method includes: A first operating system running on the first host controls the first system chip to initiate a firmware update of the first peripheral device; In response to the firmware update of the first peripheral device, the first system chip enables the first basic input and output system to enter a first unified extensible firmware interface; The first UEFI executes an update script to update a peripheral firmware to the first peripheral device; and Rebooting is performed to complete the firmware update of the first peripheral device.

2. The method according to claim 1, characterized in that: The update script is stored in the first host.

3. The method according to claim 1, characterized in that: The peripheral firmware is stored in the first host; and The first UEFI executes the update script to update the peripheral firmware to the first peripheral device, comprising: the first UEFI obtains the peripheral firmware from the first host.

4. The method according to claim 1, characterized in that: The first system chip enables the first basic input and output system to enter the first unified extensible firmware interface, comprising: After the first computer system is restarted, the first system chip enables the first basic input and output system to enter the first unified extensible firmware interface.

5. The method according to claim 1, characterized in that The first operating system running on the first host controls the first system chip to initiate the firmware update of the first peripheral device, including: The first operating system transmits a first instruction to the first system chip to enable the first basic input and output system to enter the first unified extensible firmware interface.

6. The method according to claim 5, characterized in that The first operating system running on the first host controls the first system chip to initiate the firmware update of the first peripheral device and further comprises: The first operating system sends a second instruction to the first system chip to specify the first peripheral device to execute the firmware update.

7. The method according to claim 5, characterized in that The first operating system running on the first host controls the first system chip to initiate the firmware update of the first peripheral device and further comprises: The first operating system sends a second instruction to the first system chip to specify the first peripheral device and another peripheral device of the first computer system to execute the firmware update.

8. The method according to claim 1, characterized in that: The first peripheral device is a quick peripheral component interconnect interface device.

9. The method according to claim 1, characterized in that: The first system chip is a baseboard management controller.

10. The method according to claim 1, characterized in that The computer network further comprises a central control computer and a second computer system, the second computer system comprises a second host, a second system chip, and a second basic input and output system, the second host is coupled to the second system chip, the second system chip is coupled to the second basic input and output system, the second basic input and output system is coupled to a second peripheral device of the second computer system, the central control computer is coupled to the first computer system and the second computer system, and the method further comprises: The central control computer transmits a firmware update instruction to trigger the first computer system to perform the firmware update of the first peripheral device and trigger the second computer system to perform the firmware update of the second peripheral device; A second operating system running on the second host controls the second system chip to initiate the firmware update of the second peripheral device; In response to the firmware update of the second peripheral device, the second system chip enables the second basic input and output system to enter a second unified extensible firmware interface; The second UEFI executes the update script to update the peripheral firmware to the second peripheral device; and Reboot to complete the firmware update of the second peripheral device.

11. A computer network, characterized in that: Include: A first computer system, comprising: A first host computer including a first operating system; a first system chip coupled to the first host; and A first basic input / output system coupled to the first host, the first system chip and a first peripheral device; The first operating system is used to operate on the first host to control the first system chip to initiate the firmware update of the first peripheral device; In response to the firmware update of the first peripheral device, the first system chip is used to enable the first basic input and output system to enter a first unified extensible firmware interface; The first UEFI is used to execute an update script to update a peripheral firmware to the first peripheral device; and The first computer system is used to reboot to complete the firmware update of the first peripheral device.

12. The computer network according to claim 11, characterized in that: The update script is stored in the first host.

13. The computer network according to claim 11, characterized in that: The peripheral firmware is stored in the first host; and The first unified extensible firmware interface is used to obtain the peripheral firmware from the first host.

14. The computer network according to claim 11, characterized in that: After the first computer system is restarted, the first system chip is used to enable the first basic input and output system to enter the first unified extensible firmware interface.

15. The computer network according to claim 11, characterized in that: The first operating system is used for transmitting a first instruction to the first system chip so as to enable the first basic input and output system to enter the first unified extensible firmware interface.

16. The computer network according to claim 15, characterized in that: The first operating system is used to send a second instruction to the first system chip to specify the first peripheral device to execute the firmware update.

17. The computer network according to claim 15, characterized in that: The first operating system is used to send a second instruction to the first system chip to specify the first peripheral device and another peripheral device of the first computer system to execute the firmware update.

18. The computer network according to claim 11, characterized in that: The first peripheral device is a quick peripheral component interconnect interface device.

19. The computer network according to claim 11, characterized in that: The first system chip is a baseboard management controller.

20. The computer network according to claim 11, characterized in that: Also includes: a central control computer coupled to the first computer system; and A second computer system, coupled to the central control computer, comprises: a second host, comprising a second operating system, for controlling the second system chip to initiate a firmware update of the second peripheral device; a second system chip coupled to the second host; and a second basic input and output system coupled to the second host, the second system chip and a second peripheral device; The central control computer is used to transmit a firmware update instruction to trigger the first computer system to perform the firmware update of the first peripheral device and to trigger the second computer system to perform the firmware update of the second peripheral device; The second operating system is used to run on the second host to control the second system chip to initiate the firmware update of the second peripheral device; In response to the firmware update of the second peripheral device, the second system chip is used to enable the second basic input and output system to enter a second unified extensible firmware interface; The second UEFI is used to execute the update script to update the peripheral firmware to the second peripheral device; and The second computer system is used for rebooting to complete the firmware update of the second peripheral device.