BIOS firmware downloading updating method and system, terminal and storage medium
By judging the preset keywords and automatic recommended version numbers in the official website update information, the BIOS firmware download process is optimized, and the problems of long download waiting time and high resource occupancy are solved, and more efficient firmware update and storage management are achieved.
Patent Information
- Application Number
- CN202410900851.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-11-12
AI Technical Summary
The waiting time is long and the resource occupancy is high when downloading BIOS firmware. The existing software push pre-download function causes unnecessary firmware to be downloaded every update.
By obtaining the BIOS firmware version information of the current motherboard, determine whether there are preset keywords on the official website update information, obtain the automatic recommended version number and determine whether it is the same as the official website update version number. If the same, download the corresponding firmware, otherwise it will not be downloaded, and optimize the download process to reduce waiting time and resource usage.
Reduces the waiting time for BIOS firmware downloads, only downloads firmware that meets the needs, improves the accuracy of automatically recommended firmware downloads, and adds setting preference data after updates to reduce the cumbersomeness of resetting and optimizes storage space utilization.
Smart Images

Figure CN118939285A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of system update, and in particular to a BIOS firmware download and update method, system, terminal and storage medium. Background Art
[0002] BIOS firmware is a set of system programs that are fixed to a storage chip on the motherboard of a computing device. It plays an indispensable role in the normal initialization, startup and operating system booting of the computer system. It is a key link in realizing key functions such as the security and reliability of the computer system.
[0003] When you need to download and update the BIOS firmware, you usually need to take the initiative to go to the official website to download it. For larger BIOS firmware downloads, a lot of waiting time will be wasted. Now some software pushes the BIOS firmware pre-download function, which will download for each firmware update, which also greatly occupies download resources. Summary of the invention
[0004] In order to reduce the waiting time for BIOS firmware downloading, and at the same time ensure that only the BIOS firmware that meets the needs is downloaded as much as possible, thereby reducing the occupancy rate of download resources, the present application provides a BIOS firmware download and update method, system, terminal and storage medium.
[0005] In a first aspect, the present application provides a BIOS firmware download and update method, which adopts the following technical solution: A BIOS firmware download and update method, comprising: Get the current version information of the BIOS firmware of the current motherboard; Obtaining official website update information of the BIOS firmware based on the current version information; Determine whether the official website update information contains a preset update keyword; If it exists, obtain the updated version number based on the official website update information; Obtaining the automatically recommended version number of the BIOS firmware; Determining whether the updated version number is the same as the automatically recommended version number; If they are the same, obtaining an automatic download instruction to download the firmware corresponding to the automatically recommended version number to update the BIOS firmware; If they are different, the automatic download instruction is not obtained.
[0006] By adopting the above technical solution, it is possible to determine whether the official website update information contains a preset update keyword, and whether the firmware update meets the requirements. If so, it proves that it meets the update requirements. At this time, by obtaining the automatically recommended version number and determining whether the update version number is the same as the automatically recommended version number, it is possible to determine whether the automatically recommended firmware version meets the requirements. If they are the same, it is downloaded, otherwise it is not downloaded. In addition, the waiting time for BIOS firmware download can be reduced through automatic download, and at the same time, only the BIOS firmware that meets the requirements is downloaded as much as possible, which reduces the occupancy rate of download resources and improves the accuracy of automatically recommended firmware downloads.
[0007] Preferably, when the updated version number is different from the automatically recommended version number, the method further comprises: Re-acquire the automatically recommended version number within a preset time period as the re-recommended version number; Determine whether there is the re-recommended version number whose version priority is equal to the updated version number; If it exists, obtain an automatic download instruction to download the firmware corresponding to the re-recommended version number to update the BIOS firmware; If it does not exist, obtain the download address corresponding to the updated version number.
[0008] By adopting the above technical solution, it is possible to determine whether there is a re-recommended version number whose version priority is equal to the updated version number, whether the re-recommended version number is updated in a timely manner, and automatically download it after the update. Otherwise, the user is prompted to actively download by obtaining the download address, thereby ensuring the timeliness of obtaining the BIOS firmware as much as possible.
[0009] Preferably, after obtaining the automatic download instruction to download the firmware corresponding to the automatically recommended version number to update the BIOS firmware, the method further includes: Get preset setting preference data; Obtaining a storage path of the setting preference data in the BIOS firmware; The setting preference data is added to the updated BIOS firmware based on the storage path.
[0010] By adopting the above technical solution, the setting preference data before the update is added to the updated BIOS firmware, which can reduce the tediousness of resetting the BIOS firmware.
[0011] Preferably, after downloading the firmware corresponding to the automatically recommended version number, the method further includes: Obtaining the remaining space of the storage space of the firmware; Determining whether the space margin exceeds a preset margin; If not, obtaining the storage quantity of the firmware in the storage space; When the number of storages is at least two, the firmware is deleted in a preset time sequence so that the space margin exceeds the preset margin; When the storage quantity is one, installation prompt information is obtained.
[0012] By adopting the above technical solution, when the space margin does not exceed the preset margin, it proves that the storage space is insufficient. At this time, when there are multiple storage quantities, the firmware is deleted in chronological order, which can save space and retain the latest firmware as much as possible. If there is only one, the installation prompt information is obtained to prompt the user to install it in time, which can prevent the possibility of the firmware being deleted but not installed as much as possible.
[0013] Preferably, after obtaining the installation prompt information, the method further includes: Obtaining the firmware installation feedback information; Determining whether the firmware is installed based on the installation feedback information; If it is already installed, obtaining an automatic deletion instruction to delete the firmware; If it is not installed, get the preset waiting time; Determining whether the firmware is installed within the waiting time; If not installed, the automatic deletion instruction is obtained to delete the firmware.
[0014] By adopting the above technical solution, it is determined whether the firmware is installed according to the installation feedback information. If not installed, it is determined whether it is installed within the waiting time. If not installed, the firmware is deleted, which can ensure sufficient storage space as much as possible and reduce the possibility of accidental deletion of firmware.
[0015] Preferably, before deleting the firmware in a preset time sequence so that the space margin exceeds the preset margin, the method further includes: Determine whether there is already installed firmware; If it exists, obtain the installed firmware as the installation firmware; Obtaining the download time of the installation firmware as the installation download time; Obtaining the remaining download time of the firmware as the remaining download time; Obtain the firmware corresponding to all remaining download times that are less than the installation download time as the deleted firmware; A cleaning instruction is obtained to clean up the deletion firmware so that the space margin exceeds the preset margin.
[0016] By adopting the above technical solution, the firmware corresponding to all remaining download times that are less than the installation download time is obtained as the deleted firmware, and the deleted firmware is cleaned up, so that useless firmware can be removed as much as possible, and the latest version of the firmware can be retained as much as possible, thereby facilitating subsequent use.
[0017] Preferably, after obtaining the automatic download instruction to download the firmware corresponding to the automatically recommended version number, the method further includes: Acquire update text of a preset length in the official website update information based on the update keyword; Rename the downloaded firmware to the update text.
[0018] By adopting the above technical solution, the downloaded firmware is renamed as update text, which is convenient for users to view and select the downloaded firmware.
[0019] In a second aspect, the present application provides a BIOS firmware download and update system, which adopts the following technical solution: A BIOS firmware update system, comprising: The first model acquisition module is used to obtain the current version information of the BIOS firmware of the current motherboard; A first information acquisition module, configured to acquire official website update information of the BIOS firmware based on the current version information; A first judgment module is used to judge whether the official website update information contains a preset update keyword; A second model acquisition module, for acquiring an update version number based on the official website update information if the official website update information contains the update keyword; A third model acquisition module is used to obtain the automatically recommended version number of the BIOS firmware; A second judgment module is used to judge whether the updated version number is the same as the automatically recommended version number; The instruction acquisition module is used to obtain an automatic download instruction to download the firmware corresponding to the automatically recommended version number to update the BIOS firmware if the updated version number is the same as the automatically recommended version number; if the updated version number is different from the automatically recommended version number, it is also used not to obtain the automatic download instruction.
[0020] By adopting the above technical solution, according to the data transmission between each module, it is judged whether the official website update information contains the preset update keyword, and whether the firmware update meets the requirements. If it does, it proves that it meets the update requirements. At this time, by obtaining the automatically recommended version number and judging whether the update version number is the same as the automatically recommended version number, it is possible to judge whether the automatically recommended firmware version meets the requirements. If they are the same, it is downloaded, otherwise it is not downloaded. In addition, the waiting time for BIOS firmware download can be reduced through automatic download, and at the same time, it is ensured that only the BIOS firmware that meets the requirements is downloaded as much as possible, which reduces the occupancy rate of download resources and can improve the accuracy of automatically recommended firmware download.
[0021] In a third aspect, the present application provides a smart terminal, which adopts the following technical solution: An intelligent terminal, comprising: A memory for storing computer programs that can be run on the processor; The processor, when running the computer program, can execute the steps of any of the above methods.
[0022] By adopting the above technical solution, the memory can store information, and the processor can retrieve the information and issue control instructions to ensure the orderly execution of the program and achieve the effect of the above solution.
[0023] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution: A computer-readable storage medium stores a computer program that can be loaded by a processor and execute any one of the above methods.
[0024] By adopting the above technical solution, when the computer-readable storage medium is loaded into any computer, any computer can execute a BIOS firmware update method provided by the present application.
[0025] In summary, this application includes the following beneficial technical effects: By judging whether the official website update information contains preset update keywords, it is possible to judge whether the firmware update meets the requirements. If so, it proves that it meets the update requirements. At this time, by obtaining the automatically recommended version number and judging whether the update version number is the same as the automatically recommended version number, it is possible to judge whether the automatically recommended firmware version meets the requirements. If they are the same, it is downloaded, otherwise it is not downloaded. In addition, automatic download can reduce the waiting time for BIOS firmware download, and at the same time, it is possible to ensure that only BIOS firmware that meets the requirements is downloaded, reduce the occupancy rate of download resources, and improve the accuracy of automatically recommended firmware downloads. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1It is a flowchart of a BIOS firmware download and update method provided in an embodiment of the present application; Figure 2 It is a flowchart of step S11 to step S14 in one embodiment of the present application; Figure 3 is a flowchart of steps S21 to S23 in one embodiment of the present application; Figure 4 is a flowchart of steps S31 to S35 in one embodiment of the present application; Figure 5 is a flowchart of steps S41 to S46 in one embodiment of the present application; Figure 6 is a flowchart of steps S51 to S56 in one embodiment of the present application; Figure 7 is a flowchart of step S61 to step S62 in one embodiment of the present application; Figure 8 It is a structural block diagram of a BIOS firmware download and update system provided in an embodiment of the present application.
[0027] Description of reference numerals: 1. First model acquisition module; 2. First information acquisition module; 3. First judgment module; 4. Second model acquisition module; 5. Third model acquisition module; 6. Second judgment module; 7. Instruction acquisition module. DETAILED DESCRIPTION
[0028] The following is combined with Figures 1 to 8 This application is described in further detail.
[0029] The embodiment of the present application discloses a BIOS firmware download and update method.
[0030] Reference Figure 1 , BIOS firmware download and update methods include: S1. Get the current version information of the BIOS firmware of the current motherboard; The acquisition method can be obtained through the system reading software in the computer system, where the current version information includes the version number of the BIOS firmware, the motherboard model of the current motherboard, and the system model of the computer.
[0031] S2. Obtain the official website update information of the BIOS firmware based on the current version information; You can use web monitoring software or scripts to obtain the update information of the update website corresponding to the BIOS firmware corresponding to the current version information in real time, that is, the official website update information, where the official website update information includes update announcements and update content. That is, according to the motherboard model of the current motherboard, you can obtain the BIOS firmware corresponding to the current motherboard model, and obtain the subsequent update version number of the current BIOS firmware version number.
[0032] S3. Determine whether the official website update information contains preset update keywords; That is, to determine whether there are update keywords in the update announcement and update content, a comparison can be made through text recognition. The update keywords are preset keywords that users need to pay attention to. For example, if the official website update information involves CPU, I / O chip, system bus, peripherals and operating system, and the update keyword is system bus, then it is determined whether the official website update information contains the system bus keyword. If so, it proves that the preset update keyword exists, otherwise it does not exist.
[0033] S4. If it exists, obtain the updated version number based on the official website update information; Therefore, if there is no preset update keyword, it proves that the updated BIOS firmware does not meet the user's needs, so it can be ignored and not updated. If there is an update keyword, it proves that the updated BIOS firmware may meet the user's needs, so at this time, the update version number is obtained according to the official website update information, that is, the update content includes the version number of the BIOS firmware update, that is, the update version number.
[0034] S5. Obtain the automatically recommended version number of the BIOS firmware; It can be obtained through a software update program installed in the computer system. The software update program obtains the relevant information of the BIOS firmware by grabbing the download link of the BIOS firmware, wherein the relevant information includes the version number of the BIOS to be downloaded, i.e., the automatically recommended version number. Of course, the automatically recommended version number of the BIOS firmware can also be obtained in that the cloud server of the software update program stores the BIOS firmware and the corresponding automatically recommended version number, and the software update program can read it directly from its own cloud server.
[0035] S6. Determine whether the updated version number is the same as the automatically recommended version number; That is to determine whether the automatically recommended version number is the latest version number. If the updated version number is the same as the automatically recommended version number, it proves that the BIOS firmware corresponding to the automatically recommended version number is the latest firmware. Otherwise, it proves that it is not the latest BIOS firmware.
[0036] S7. If they are the same, obtain an automatic download instruction to download the firmware corresponding to the corresponding automatic recommended version number to update the BIOS firmware; If the updated version number is the same as the automatically recommended version number, it proves that the BIOS firmware can be downloaded and used. Therefore, the automatic download instruction is obtained and sent to the software update program, so that the software update program automatically downloads the firmware corresponding to the automatically recommended version number, which makes it convenient for users to install the downloaded firmware when they are free, so that the BIOS firmware can be updated.
[0037] S8. If different, do not obtain the automatic download instruction; If the update version number is different from the automatically recommended version number, it proves that the automatically recommended BIOS firmware is not the latest version, which also proves that the automatically recommended BIOS firmware cannot meet the user's needs. Therefore, the automatic download instruction is not obtained at this time, so that the software update program does not automatically download the firmware corresponding to the automatically recommended version number.
[0038] Furthermore, automatic downloading can reduce the waiting time for BIOS firmware downloading, and at the same time ensure that only the BIOS firmware that meets the needs is downloaded as much as possible. There is no need to download all updated firmware, which can reduce the occupancy rate of download resources and improve the accuracy of automatically recommended firmware downloads.
[0039] Reference Figure 2 When the update version number is different from the automatically recommended version number, it may be that the cloud server of the software update program has not stored the latest version of the BIOS firmware in time. Therefore, in another embodiment, when the update version number is different from the automatically recommended version number, it also includes: S11. Obtain the automatically recommended version number again within the preset time as the re-recommended version number; The preset duration can be set according to actual needs, that is, the timing starts when it is determined that the updated version number is different from the automatically recommended version number, and the automatically recommended version number is obtained within the preset duration and used as the re-recommended version number.
[0040] S12. Determine whether there is a version priority equal to the updated version number of the recommended version number; Then, at the end of the preset time, all the re-recommended version numbers are compared with the updated version numbers, and it is determined whether there is a re-recommended version number with a version priority equal to the updated version number. The version priority is the order of the version names corresponding to the order of the version numbers released. For example, if the updated version number is V2.5.6, and there are V2.5.5 and V2.5.4 in the re-recommended version number, then the version priority of V2.5.4 is greater than the version priority of V2.5.5, and the version priority of V2.5.5 is greater than the version priority of V2.5.4.
[0041] S13. If it exists, obtain the automatic download instruction to download the corresponding firmware corresponding to the recommended version number to update the BIOS firmware; If there is a re-recommended version number whose version priority is equal to the update version number, it proves that the cloud server has timely updated the BIOS firmware with the same update version number. At this time, an automatic download instruction is obtained to enable the software update program to automatically download the firmware corresponding to the re-recommended version number whose version priority is equal to the update version number, so that the user can install the update in time.
[0042] S14. If it does not exist, obtain the download address corresponding to the updated version number.
[0043] If there is no recommended version number with a version priority equal to the update version number, it proves that the cloud server has not updated the BIOS firmware with the same update version number in time. Therefore, in order to facilitate users to obtain the latest BIOS firmware that meets user needs in time, the download address corresponding to the update version number is obtained at this time. It can be obtained by crawling through a network connection, and the user can be reminded through a pop-up window to facilitate the user to download the BIOS firmware corresponding to the update version number through the download address.
[0044] Reference Figure 3 In order to reduce the complexity of resetting data after the BIOS firmware is updated, in another embodiment, after obtaining the automatic download instruction to download the firmware corresponding to the corresponding automatic recommended version number to update the BIOS firmware, it also includes: S21. Obtaining preset setting preference data; That is, before updating the BIOS firmware, obtain the data folder where the BIOS firmware stores the setting preference data and copy it. The obtaining method can be to copy the data folder according to the path where the data folder is located by setting the script.
[0045] S22. Obtain the storage path of the setting preference data in the BIOS firmware; The path where the data folder is located is where the preference data is stored in the BIOS firmware.
[0046] S23. Add the setting preference data to the updated BIOS firmware based on the storage path.
[0047] After the BIOS firmware is updated, the data folder is copied to the BIOS firmware according to the storage path, so that the setting preference data is added to the updated BIOS firmware. In this way, part of the data can be copied so that when the BIOS system is started again, all the setting preferences do not need to be set, which can reduce the tediousness of resetting the setting preferences.
[0048] Reference Figure 4In order to reduce the space occupancy rate as much as possible and ensure that the space for storing the BIOS firmware is sufficient, in another embodiment, after downloading the firmware corresponding to the automatically recommended version number, the method further includes: S31. Get the space margin of the firmware storage space; The system can directly read the total amount of storage space preset for storing the downloaded BIOS firmware, and then calculate the total size of the BIOS firmware. The space margin is obtained by subtracting the total value from the total storage space. Of course, the space margin can also be directly obtained by directly reading the properties of the storage space.
[0049] S32. Determine whether the space margin exceeds the preset margin; The preset margin can be set according to actual needs to determine whether the space margin exceeds the preset margin, that is, to determine whether the storage space is over-occupied. If the space margin does not exceed the preset margin, it proves that the storage space is over-occupied, otherwise it proves that the storage space is not over-occupied.
[0050] S33. If not, obtain the number of firmware stored in the storage space; Therefore, if the space margin exceeds the preset margin, it proves that there is enough space in the storage space, and no other operations are required. If the preset margin exceeds the space margin, it proves that the storage space is over-occupied. At this time, the number of firmware stored in the storage space is directly read, that is, the number of downloaded BIOS firmware.
[0051] S34. When the number of storages is at least two, the firmware is deleted in a preset time sequence so that the space margin does not exceed the preset margin; When the number of storages is at least two, the redundant firmware needs to be deleted so that the space margin exceeds the preset margin. At this time, in order to retain the latest firmware as much as possible, the firmware is deleted in a preset time sequence, where the preset time sequence refers to the order from the time the firmware is downloaded to the back, that is, the firmware downloaded first is deleted first.
[0052] S35. When the storage quantity is one, obtain installation prompt information.
[0053] When the storage quantity is one, the installation prompt information will be obtained at this time. The prompt can be given through a pop-up window, sound, or vibration, so that the user can be prompted to update the BIOS firmware in time and delete the BIOS firmware in time after the update, so that the space margin does not exceed the preset margin, which is convenient for subsequent firmware downloads.
[0054] Reference Figure 5 In order to facilitate determining whether the firmware has been installed and to facilitate deleting the firmware, in another embodiment, after obtaining the installation prompt information, the following is further included: S41. Obtain firmware installation feedback information; The method of obtaining the information can be to obtain the installation log after the firmware is installed. If there is an installation log, there is installation feedback information. Otherwise, there is no installation feedback information.
[0055] S42. Determine whether the firmware is installed based on the installation feedback information; That is to determine whether there is an installation log. If there is an installation log, it proves that the firmware has been installed. If there is no installation log, it proves that the firmware has not been installed.
[0056] S43. If it is already installed, obtain an automatic deletion instruction to delete the firmware; If the firmware has been installed, an automatic deletion instruction is obtained to delete the firmware, that is, the automatic deletion instruction includes the current storage path of the firmware, so that the system can find the firmware according to the storage path and delete it, thereby saving space.
[0057] S44. If it is not installed, obtain the preset waiting time; If the firmware is not installed, a preset waiting time is obtained, and the waiting time can be set according to actual conditions, for example, 1 day, 7 days or 30 days.
[0058] S45. Determine whether the firmware is installed within the waiting time; That is, it is determined whether an installation log can be generated within the waiting time. If the installation log is generated and recognized, it proves that the firmware has been installed within the waiting time, otherwise it has not been installed.
[0059] S46. If not installed, obtain an automatic deletion instruction to delete the firmware.
[0060] If the firmware is not installed within the waiting time, the automatic deletion instruction is obtained, so that the firmware is deleted, which can ensure that there is enough storage space to store the new BIOS firmware as much as possible, and at the same time, it can reserve enough time for the user to install the firmware. Of course, if it has been installed, the firmware will still be deleted.
[0061] Reference Figure 6 In another embodiment, before deleting the firmware in a preset time sequence so that the space margin does not exceed the preset margin, the method further includes: S51. Determine whether there is already installed firmware; That is to say, it is determined whether there is an installation log in the system. If it exists, it proves that the installed firmware exists, otherwise it does not exist. Of course, each installation log corresponds to a unique installation firmware.
[0062] S52. If it exists, obtain the installed firmware as the installation firmware; If there is no installed firmware, the step of deleting the firmware in the preset time sequence so that the space margin does not exceed the preset margin is still performed. If there is already installed firmware, the installed firmware is obtained as the installation firmware, that is, the corresponding installation firmware can be obtained by obtaining the installation log.
[0063] S53. Obtain the download time of the installation firmware as the installation download time; When the firmware is downloaded to the system for storage, the system will store the download time of the installed firmware, which can be directly read to obtain the download time.
[0064] S54. Obtain the remaining firmware download time as the remaining download time; The remaining download time is obtained in the same way as the installation download time.
[0065] S55. Obtain all firmware corresponding to the remaining download time that is less than the installation download time as the deleted firmware; Compare all remaining download times with the installation download time, and obtain the firmware corresponding to the remaining download time that is less than the installation download time as the deleted firmware, that is, the firmware whose download time is before the installation download time.
[0066] S56. Get a cleanup instruction to clean up and delete the firmware so that the space margin does not exceed the preset margin.
[0067] That is, the cleaning instruction includes the storage path of all firmware whose download time is before the installation download time, and then deletes the deleted firmware, so that the new BIOS firmware can be retained as much as possible, and the remaining space of the storage space can be released to ensure that the storage space is sufficient for use as much as possible.
[0068] Reference Figure 7 In another embodiment, after obtaining the automatic download instruction to download the firmware corresponding to the corresponding automatically recommended version number, it also includes: S61. Get the update text of preset length in the official website update information based on the update keyword; S62. Rename the downloaded firmware to Update Text.
[0069] Specifically, the update text of a preset length in the update content of the official website update information is obtained, and the obtained update text is calculated starting from the first update keyword. The preset length can be set according to actual needs, so that the update keyword plus the text of the preset length is the update text. Of course, the obtained update text is calculated starting from the second, third or fourth update keyword.
[0070] Then, after the firmware is downloaded, it can be automatically renamed, and the name is the update text. Therefore, after the firmware is downloaded, the user can determine the update content based on the firmware name, and thus determine whether the update needs to be installed. The user does not need to go to the official website to check the update content, and the operation is more convenient.
[0071] The implementation principle of a BIOS firmware download and update method in an embodiment of the present application is as follows: first, the current version information of the BIOS firmware of the current motherboard is obtained, and the official website update information of the BIOS firmware is obtained according to the current version information. Then, it is determined whether there is a preset update keyword in the official website update information, so as to determine whether the firmware update meets the requirements. If so, it proves that it meets the update requirements. At this time, by obtaining the automatically recommended version number and determining whether the update version number is the same as the automatically recommended version number, it is possible to determine whether the automatically recommended firmware version meets the requirements. If they are the same, it is downloaded, otherwise it is not downloaded. Furthermore, the waiting time for the BIOS firmware download can be reduced by automatic downloading, while ensuring as much as possible that only the BIOS firmware that meets the requirements is downloaded, thereby reducing the occupancy rate of the download resources and improving the accuracy of the automatically recommended firmware download.
[0072] The embodiment of the present application also discloses a BIOS firmware download and update system, which can achieve the same technical effect as the above-mentioned BIOS firmware download and update method.
[0073] Reference Figure 8 , the BIOS firmware download and update system includes: The first model acquisition module 1 is used to obtain the current version information of the BIOS firmware of the current motherboard; The first information acquisition module 2 is used to obtain the official website update information of the BIOS firmware based on the current version information; The first judgment module 3 is used to judge whether the official website update information contains a preset update keyword; The second model acquisition module 4 is used to acquire the update version number based on the official website update information if the official website update information contains an update keyword; The third model acquisition module 5 is used to obtain the automatically recommended version number of the BIOS firmware; The second judgment module 6 is used to judge whether the updated version number is the same as the automatically recommended version number; The instruction acquisition module 7 is used to obtain the automatic download instruction to download the firmware corresponding to the corresponding automatic recommended version number to update the BIOS firmware if the updated version number is the same as the automatically recommended version number; if the updated version number is different from the automatically recommended version number, it is also used not to obtain the automatic download instruction.
[0074] Specifically, first, the first model acquisition module 1 acquires the current version information of the BIOS firmware of the current motherboard and sends it to the first information acquisition module 2 connected thereto. Then, the first information acquisition module 2 acquires the official website update information of the BIOS firmware based on the current version information and sends it to the first judgment module 3 connected thereto.
[0075] Then, the first judgment module 3 judges whether the official website update information contains a preset update keyword, and sends the judgment result to the second model acquisition module 4 connected thereto. If the official website update information contains an update keyword, the second model acquisition module 4 obtains the update version number based on the official website update information, and sends it to the second judgment module 6 connected thereto.
[0076] Next, the third model acquisition module 5 acquires the automatically recommended version number of the BIOS firmware and sends it to the second judgment module 6 connected thereto. The second judgment module 6 determines whether the updated version number is the same as the automatically recommended version number and sends the judgment result to the instruction acquisition module 7 connected thereto.
[0077] Finally, if the update version number is the same as the automatically recommended version number, the instruction acquisition module 7 obtains the automatic download instruction to download the firmware corresponding to the corresponding automatically recommended version number to update the BIOS firmware; if the update version number is different from the automatically recommended version number, the instruction acquisition module 7 does not obtain the automatic download instruction.
[0078] Furthermore, the waiting time for BIOS firmware download can be reduced through automatic downloading, while ensuring that only the BIOS firmware that meets the needs is downloaded as much as possible, reducing the occupancy rate of download resources and improving the accuracy of automatically recommended firmware downloads.
[0079] The embodiment of the present application also discloses an intelligent terminal, including a memory and a processor. The memory stores an intelligent computer program. The processor, when running the intelligent computer program, can execute the steps of the above-mentioned BIOS firmware download and update method. The intelligent computer program can use a known processing program to perform a series of steps such as downloading, querying, and deleting data, thereby realizing the download and update of the BIOS firmware.
[0080] An embodiment of the present application also discloses a computer-readable storage medium, which stores a computer program that can be loaded by a processor and execute the BIOS firmware download and update method as described above. The computer-readable storage medium includes, for example: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0081] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A BIOS firmware download and update method, characterized in that: include: Get the current version information of the BIOS firmware of the current motherboard; Obtaining official website update information of the BIOS firmware based on the current version information; Determine whether the official website update information contains a preset update keyword; If it exists, obtain the updated version number based on the official website update information; Obtaining the automatically recommended version number of the BIOS firmware; Determining whether the updated version number is the same as the automatically recommended version number; If they are the same, obtaining an automatic download instruction to download the firmware corresponding to the automatically recommended version number to update the BIOS firmware; If they are different, the automatic download instruction is not obtained.
2. The BIOS firmware download and update method according to claim 1, characterized in that: When the updated version number is different from the automatically recommended version number, the method further includes: Re-acquire the automatically recommended version number within a preset time period as the re-recommended version number; Determine whether there is the re-recommended version number whose version priority is equal to the updated version number; If it exists, obtain an automatic download instruction to download the firmware corresponding to the re-recommended version number to update the BIOS firmware; If it does not exist, obtain the download address corresponding to the updated version number.
3. The BIOS firmware download and update method according to claim 1, characterized in that: After the automatic download instruction is obtained to download the firmware corresponding to the automatically recommended version number to update the BIOS firmware, the method further includes: Get preset setting preference data; Obtaining a storage path of the setting preference data in the BIOS firmware; The setting preference data is added to the updated BIOS firmware based on the storage path.
4. The BIOS firmware download and update method according to claim 1, characterized in that: After downloading the firmware corresponding to the automatically recommended version number, the method further includes: Obtaining the remaining space of the storage space of the firmware; Determining whether the space margin exceeds a preset margin; If not, obtaining the storage quantity of the firmware in the storage space; When the number of storages is at least two, the firmware is deleted in a preset time sequence so that the space margin exceeds the preset margin; When the storage quantity is one, installation prompt information is obtained.
5. The BIOS firmware download and update method according to claim 4, characterized in that: After obtaining the installation prompt information, the method further includes: Obtaining the firmware installation feedback information; Determining whether the firmware is installed based on the installation feedback information; If it is already installed, obtaining an automatic deletion instruction to delete the firmware; If it is not installed, get the preset waiting time; Determining whether the firmware is installed within the waiting time; If not installed, the automatic deletion instruction is obtained to delete the firmware.
6. The BIOS firmware download and update method according to claim 4, characterized in that: Before deleting the firmware in a preset time sequence so that the space margin exceeds the preset margin, the method further includes: Determine whether there is already installed firmware; If it exists, obtain the installed firmware as the installation firmware; Obtaining the download time of the installation firmware as the installation download time; Obtaining the remaining download time of the firmware as the remaining download time; Obtain the firmware corresponding to all remaining download times that are less than the installation download time as the deleted firmware; A cleaning instruction is obtained to clean up the deletion firmware so that the space margin exceeds the preset margin.
7. The BIOS firmware download and update method according to claim 1, characterized in that: After obtaining the automatic download instruction to download the firmware corresponding to the automatically recommended version number, the method further includes: Acquire update text of a preset length in the official website update information based on the update keyword; Rename the downloaded firmware to the update text.
8. A BIOS firmware update system, characterized in that: include: A first model acquisition module (1) is used to acquire current version information of the BIOS firmware of the current motherboard; A first information acquisition module (2) is used to acquire official website update information of the BIOS firmware based on the current version information; A first judgment module (3) is used to judge whether the official website update information contains a preset update keyword; A second model acquisition module (4), for acquiring an update version number based on the official website update information if the official website update information contains the update keyword; A third model acquisition module (5), used for acquiring the automatically recommended version number of the BIOS firmware; A second judgment module (6) is used to judge whether the updated version number is the same as the automatically recommended version number; The instruction acquisition module (7) is used to acquire an automatic download instruction to download the firmware corresponding to the automatically recommended version number to update the BIOS firmware if the updated version number is the same as the automatically recommended version number; and is also used not to acquire the automatic download instruction if the updated version number is different from the automatically recommended version number.
9. An intelligent terminal, characterized in that: include: A memory for storing computer programs that can be executed on the processor; The processor, when running the computer program, is capable of executing the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute the method according to any one of claims 1 to 7.
