This application claims priority to Chinese Patent Application No. 201610627605.2, filed on Aug. 3, 2016, the contents of which are incorporated by reference herein.
The subject matter herein generally relates to firmware updating system and method.
Firmwares are updated to improve stability of electronic devices. Firmware is updated through operating system of the electronic device. When the operating system has not been installed in the operating system, the firmware can be updated.
Implementations of the present technology will now be described, by way of example only, with reference to the attached figures.
It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein can be practiced without these specific details. In other instances, methods, procedures, and components have not been described in detail so as not to obscure the related relevant feature being described. The drawings are not necessarily to scale and the proportions of certain parts may be exaggerated to better illustrate details and features. The description is not to be considered as limiting the scope of the embodiments described herein.
A definition that applies throughout this disclosure will now be presented.
The term “comprising” means “including, but not necessarily limited to”; it specifically indicates open-ended inclusion or membership in a so-described combination, group, series, and the like.
The instant disclosure provides a firmware updating system 100.
The comparing module 86 is configured to compare each running image to a preset PXE interface to determine whether it is consistent or is not consistent with the preset PXE interface. According to comparison, the determining module 88 is configured to determine whether the client 20 should access a PXE interface. In detail, when there is a running image which is consistent with the preset PXE interface, the determining module 88 determines that the client 20 should access a PXE interface. When a running image which is not consistent with the preset PXE interface, the determining module 88 determines that the client 20 should not access a PXE interface.
When the client 20 accesses the PXE interface, the firmware updating module 90 loads an operating system image and a firmware program image to RAM (random access memory) of the client 20 and controls the client 20 to run the operating system image and the firmware program image to update the firmware of the client 20. In the embodiment, the server 80 provides an interface of selections providing a number of operating systems and a number of firmwares. A user can select an operating system to be run and a firmware to be updated through the selection interface. The firmware updating module 90 loads the operating system image corresponding to the selected operating system and the firmware program image corresponding to the selected firmware to the RAM of the client 20. The operating system on the interface of selections includes a 32-bit operating system and a 64-bit operating system. The user can select the 32-bit operating system or the 64-bit operating system to be run through the interface. The firmware on the interface includes a firmware of BIOS (Basic Input/Output System) and a firmware of BMC (Baseboard management controller). The user can select the firmware of BIOS or/and the firmware of BMC to be updated through the interface.
At block 302, the client 20 boots PXE through the network card 22.
At block 304, according to the IP address of the client 20, the remote login module 82 remotely logs the client 20 in through SOL.
At block 306, the image scanning module 84 scans a running interface of the client 20 at a preset speed in a preset period to obtain a number of running images.
At block 308, the comparing module 86 compares each running image to a preset PXE interface to determine whether there is a running image consistent with the preset PXE interface. If there is a running image consistent with the preset PXE interface, the procedure goes to block 310. Otherwise the procedure ends.
At block 310, the determining module 88 determines that the client 20 should access a PXE interface and the firmware updating module 90 loads an operating system image and a firmware program image to RAM of the client 20. The client 20 is controlled to run the operating system image and the firmware program image to update the firmware of the client.
The embodiments shown and described above are only examples. Even though numerous characteristics and advantages of the present technology have been set forth in the foregoing description, together with details of the structure and function of the present disclosure, the disclosure is illustrative only, and changes may be made in the detail, comprising in matters of shape, size, and arrangement of the parts within the principles of the present disclosure, up to the full extent established by the broad general meaning of the terms used in the claims.
Number | Date | Country | Kind |
---|---|---|---|
2016 1 0627605 | Aug 2016 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
20100281474 | Eason | Nov 2010 | A1 |
20130138940 | Wang | May 2013 | A1 |
20150178096 | Inbaraj | Jun 2015 | A1 |