CN108268285A - Method, apparatus, equipment and the readable storage medium storing program for executing of bios version upgrading - Google Patents
Method, apparatus, equipment and the readable storage medium storing program for executing of bios version upgrading Download PDFInfo
- Publication number
- CN108268285A CN108268285A CN201810171351.7A CN201810171351A CN108268285A CN 108268285 A CN108268285 A CN 108268285A CN 201810171351 A CN201810171351 A CN 201810171351A CN 108268285 A CN108268285 A CN 108268285A
- Authority
- CN
- China
- Prior art keywords
- bios
- uuid
- version
- upgrading
- information management
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
Abstract
The invention discloses a kind of bios version upgrade method, device, equipment and readable storage medium storing program for executing, including:Pre-save the Universally Unique Identifier UUID of current version;The information management field of BIOS is reset after receiving basic input-output system BIOS edition upgrading instruction;When needing to retain UUID, by the information management field of the UUID write-ins BIOS of the current version pre-saved, and BIOS is restarted.The present invention pre-saves current version UUID into preset memory, in bios version escalation process, if desired retain UUID, it then will be in the information management field of pre-stored UUID write-ins BIOS after the clearing of the information management field of BIOS, it realizes and retains UUID, need after upgrading to enter UUID to each server brush by artificial mode in compared with prior art, The present invention reduces manually brush into workload, improve work efficiency.
Description
Technical field
The present invention relates to server maintenance technology field, more particularly to a kind of method of bios version upgrading.The present invention
Further relate to a kind of device, equipment and the readable storage medium storing program for executing of bios version upgrading.
Background technology
BIOS (Basic Input Output System, basic input output system) is responsible for each chip on mainboard
Parameter setting, provide the bottom, most direct hardware setting and control for server, the upgrading of bios version can not only
Failure existing for reparation, moreover it is possible to increase new function, be played a crucial role to the promotion of server master board performance.UUID
(Universally Unique Identifier, Universally Unique Identifier) is that a kind of binary length generated by algorithm is
The numeric identifier of 128 is mainly used in network or the system of multiple servers, and each server is corresponding with uniquely
UUID。
At present, after the upgrading of server B ios release, the UUID of server will be cleared, and for the weight after upgrading
It is new to obtain the UUID of server, therefore staff is needed to think highly of using BIOS information detection instrument for each service in producing line
It newly brushes into UUID, when number of servers is more, this method is time-consuming and laborious, inefficiency, can not meet industrial automation
It is required that.
Therefore, how in upgrading BIOS version can reservation server UUID be those skilled in the art need solve
Problem.
Invention content
The object of the present invention is to provide a kind of methods of bios version upgrading, can improve the work of bios version upgrading
Efficiency;It is a further object of the present invention to provide a kind of device of the bios version upgrading including the above method, equipment and readable deposit
Storage media can also improve the working efficiency of bios version upgrading.
In order to solve the above technical problems, the present invention provides a kind of method of bios version upgrading, including:
Pre-save the Universally Unique Identifier UUID of current version;
The information management field of the BIOS is reset after receiving basic input-output system BIOS edition upgrading instruction;
When needing to retain the UUID, the UUID of the current version pre-saved is written to the information management of the BIOS
Field, and restart the BIOS.
Preferably, the UUID includes flag bit and information bit, described when needing to retain the UUID, will pre-save
The UUID of current version the information management field of the BIOS is written, and the process for restarting the BIOS is specially:
It, will be described in the corresponding numerical value write-in of the information bit of the UUID when the flag bit of the UUID is predetermined threshold value
The information management field of BIOS, and restart the BIOS.
Preferably, it after the BIOS is restarted, further includes:
Send out the prompting for completing edition upgrading.
Preferably, the UUID is pre-saved to baseboard management controller static memory BMC SRAM.
In order to solve the above technical problems, the present invention also provides a kind of device of bios version upgrading, including:
Storage unit, for pre-saving the Universally Unique Identifier UUID of current version;
Unit is reset, for receiving the information of the BIOS after basic input-output system BIOS edition upgrading instructs
Management fields are reset;
Writing unit, will be described in the UUID write-ins for the current version that pre-saved for when needing to retain the UUID
The information management field of BIOS, and restart the BIOS.
Preferably, the UUID includes flag bit and information bit, and said write unit is specifically used for the mark as the UUID
When will position is predetermined threshold value, the corresponding numerical value of the information bit of the UUID is written to the information management field of the BIOS, is laid equal stress on
Open the BIOS.
Preferably, it further includes:
Prompt unit, for sending out the prompting for completing edition upgrading.
Preferably, the UUID is pre-saved to baseboard management controller static memory BMC SRAM.
In order to solve the above technical problems, the present invention also provides a kind of equipment of bios version upgrading, including:
Memory, for storing computer program;
Processor is realized such as the side of bios version described in any one of the above embodiments upgrading during for performing the computer program
The step of method.
In order to solve the above technical problems, the present invention also provides kind of a readable storage medium storing program for executing, deposited on the readable storage medium storing program for executing
Computer program is contained, realizes that bios version described in any one of the above embodiments such as upgrades when the computer program is executed by processor
Method the step of.
The present invention provides a kind of bios version upgrade method, device, equipment and readable storage medium storing program for executing, including:It protects in advance
Deposit the Universally Unique Identifier UUID of current version;It receives BIOS after basic input-output system BIOS edition upgrading instructs
Information management field reset;When needing to retain UUID, by the information of the UUID write-ins BIOS of the current version pre-saved
Management fields, and restart BIOS.The present invention pre-saves current version UUID into preset memory, upgrades in bios version
In the process, if desired retain UUID, then by the UUID of pre-stored current version after the clearing of the information management field of BIOS
Be written BIOS information management field in, it is achieved thereby that retain BIOS UUID, compared with prior art in BIOS upgrading after
Need to enter UUID to each server brush by artificial mode, The present invention reduces manually brush into workload, improve
Working efficiency.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to institute in the prior art and embodiment
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the present invention
Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1 is a kind of flow chart of the method for bios version upgrading provided by the invention;
Fig. 2 is a kind of structure diagram of the device of bios version upgrading provided by the invention.
Specific embodiment
The core of the present invention is to provide a kind of method of bios version upgrading, can improve the work of bios version upgrading
Efficiency;Another core of the present invention is to provide the device that a kind of bios version including the above method upgrades, equipment and readable deposits
Storage media can also improve the working efficiency of bios version upgrading.
Purpose, technical scheme and advantage to make the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention
In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
All other embodiments obtained without making creative work shall fall within the protection scope of the present invention.
The present invention provides a kind of methods of bios version upgrading, and as shown in FIG. 1, FIG. 1 is one kind provided by the invention
The flow chart of the method for bios version upgrading, this method include the following steps:
Step S1:Pre-save the Universally Unique Identifier UUID of current version.
It should be noted that since BIOS is after upgraded version, UUID can be eliminated, therefore we are being needed BIOS
In UUID preserved in advance, when bios version upgrading finish after BIOS is written into UUID again.Specifically, in bios version
Before upgrading, the UUID of current version is copied to and is prestored in device, after bios version upgrades, pass through write instruction
UUID is written in BIOS.
Step S2:It receives after basic input-output system BIOS edition upgrading instructs that the information management field of BIOS is clear
Zero.
It should be noted that the essential information of BIOS is all stored in SMBIOS (System Management BIOS, BIOS
System administration) in information management field, which includes all in relation to computer system and accessory information, such as:UUID, computer
Manufacturer, Serial Port Information and other systems accessory information.Since BIOS needs to update new essential information after edition upgrading, because
This needs to be zeroed out the essential information in information management field in bios version escalation process, in order to by new version
In essential information write-in information management field.It specifically, can be by information management after BIOS receives bios version upgrade command
Information in field is zeroed out, and is restored to default value.
Step S3:When needing to retain UUID, by the information management of the UUID write-ins BIOS of the current version pre-saved
Field, and restart BIOS.
It should be noted that in order to retain the UUID of BIOS, after BIOS resets the UUID in information management field, need
By the information management field of the UUID write-ins BIOS of the current version pre-saved.Specifically, BIOS first reads and pre-saves
UUID, which can prestore in memory, and there may also be in database, BIOS is somebody's turn to do by read-write operation
Then UUID the UUID is written in the information management field of BIOS, and BIOS carries out cold reset and restarts automatically, restarts
The UUID values of server will be retained afterwards.
As preference, UUID includes flag bit and information bit, and when needing to retain UUID, the current version that will pre-save
The information management field of this UUID write-ins BIOS, and the process for restarting BIOS is specially:
When the flag bit of UUID is predetermined threshold value, by the information management of the corresponding numerical value write-in BIOS of the information bit of UUID
Field, and restart BIOS.
It should be noted that in order to accelerate data processing speed, the intervention of user is reduced, mark can be set in UUID
Position and information bit, for flag bit for representing whether the UUID needs to retain, information bit is used to preserve the concrete numerical value of UUID, when
When the flag bit of UUID is predetermined threshold value, information management field is written in the numerical value of the corresponding information bits of the UUID by BIOS.Such as:
Flag bit can represent not retain UUID with " 0 ", and " 1 " represents to retain UUID, at this point, predetermined threshold value is set as 1, when
When the flag bit of UUID is " 1 ", then information management word is written in numerical value of the flag bit for the information bit of the UUID of " 1 " by BIOS
Section.In this way, by the flag bit of UUID itself can automatic decision whether need to retain UUID, eliminate artificial
The operation of reserve statement is inputted after judgement again, is improved work efficiency.
As preference, after BIOS is restarted, further include:
Send out the prompting for completing edition upgrading.
It should be noted that after edition upgrading is completed, the prompting that prompting administrator completes upgrading is sent out, which can be with
It is the information or a prompt tone or can also be by flash for prompting lamp for being back to administrator's operation interface
Mode to scene administrator prompt.In order to which administrator starts later flow, be conducive to improve the work of administrator
Make efficiency.
As preference, UUID is pre-saved to baseboard management controller static memory BMC SRAM.
It should be noted that in order to accelerate the speed of reading UUID, UUID can be preserved quiet to baseboard management controller
State memory BMC SRAM, BMC SRAM are the cache chips being built in BMC, its main feature is that reading speed is fast, BIOS can
To be directly written and read, due to being that BIOS is directly written and read BMC SRAM, reduce the delay of transmission and reduce
The bit error rate of transmission, further improves working efficiency.
The present invention provides a kind of bios version upgrade method, including:Pre-save the general unique identification of current version
Code UUID;The information management field of BIOS is reset after receiving basic input-output system BIOS edition upgrading instruction;When need
When retaining UUID, by the information management field of the UUID write-ins BIOS of the current version pre-saved, and BIOS is restarted.This hair
It is bright to pre-save current version UUID into preset memory, in bios version escalation process, if desired retain UUID, then
The UUID of pre-stored current version is written in the information management field of BIOS after the information management field of BIOS is reset,
It is achieved thereby that retain BIOS UUID, compared with prior art in BIOS upgrading after need through artificial mode to each
Server brush enters UUID, The present invention reduces manually brush into workload, improve work efficiency.
The present invention also provides a kind of device of bios version upgrading, as shown in Fig. 2, Fig. 2 is one kind provided by the invention
The structure diagram of the device of bios version upgrading, the device include:
Storage unit 1, for pre-saving the Universally Unique Identifier UUID of current version;
Unit 2 is reset, for receiving the message tube of BIOS after basic input-output system BIOS edition upgrading instructs
Field is managed to reset;
Writing unit 3, for when needing to retain UUID, the UUID of the current version pre-saved to be written to the letter of BIOS
Management fields are ceased, and restart BIOS.
As preference, UUID includes flag bit and information bit, it is pre- that writing unit 3, which is specifically used for when the flag bit of UUID,
If during threshold value, by the information management field of the corresponding numerical value write-in BIOS of the information bit of UUID, and restart BIOS.
As preference, the device further includes:
Prompt unit, for sending out the prompting for completing edition upgrading.
As preference, UUID is pre-saved to baseboard management controller static memory BMC SRAM.
The present invention provides a kind of bios version update device, including:Pre-save the general unique identification of current version
Code UUID;The information management field of BIOS is reset after receiving basic input-output system BIOS edition upgrading instruction;When need
When retaining UUID, by the information management field of the UUID write-ins BIOS of the current version pre-saved, and BIOS is restarted.This hair
It is bright to pre-save current version UUID into preset memory, in bios version escalation process, if desired retain UUID, then
The UUID of pre-stored current version is written in the information management field of BIOS after the information management field of BIOS is reset,
It is achieved thereby that retain BIOS UUID, compared with prior art in BIOS upgrading after need through artificial mode to each
Server brush enters UUID, The present invention reduces manually brush into workload, improve work efficiency.
The present invention also provides a kind of bios version upgrading equipment, including:
Memory, for storing computer program;
Processor realizes the step of method that the bios version such as any of the above-described upgrades during for performing computer program
Suddenly.
The present invention also provides a kind of readable storage medium storing program for executing, computer program, computer are stored on readable storage medium storing program for executing
The step of method that the bios version such as any of the above-described upgrades is realized when program is executed by processor.
The introduction of equipment and readable storage medium storing program for executing for a kind of bios version upgrading provided by the invention please refers to above-mentioned
Embodiment of the method, the present invention are not repeating herein.
A kind of method, apparatus, equipment and the readable storage medium storing program for executing of bios version upgrading provided by the present invention are carried out above
It is discussed in detail.Specific case used herein is expounded the principle of the present invention and embodiment, above example
Explanation be merely used to help understand the present invention method and its core concept.It should be pointed out that for the common of the art
For technical staff, without departing from the principle of the present invention, can also to the present invention some improvement and modification can also be carried out, these
Improvement and modification are also fallen within the protection scope of the claims of the present invention.
Claims (10)
- A kind of 1. method of bios version upgrading, which is characterized in that including:Pre-save the Universally Unique Identifier UUID of current version;The information management field of the BIOS is reset after receiving basic input-output system BIOS edition upgrading instruction;When needing to retain the UUID, the UUID of the current version pre-saved is written to the information management word of the BIOS Section, and restart the BIOS.
- 2. the method for bios version upgrading according to claim 1, which is characterized in that the UUID includes flag bit and letter Position is ceased, it is described when needing to retain the UUID, the UUID of the current version pre-saved is written to the message tube of the BIOS Field is managed, and the process for restarting the BIOS is specially:When the flag bit of the UUID is predetermined threshold value, the corresponding numerical value of the information bit of the UUID is written the BIOS's Information management field, and restart the BIOS.
- 3. the method for bios version upgrading according to claim 2, which is characterized in that after the BIOS is restarted, also Including:Send out the prompting for completing edition upgrading.
- 4. the method upgraded according to claim 1-3 any one of them bios version, which is characterized in that the UUID is protected in advance It deposits to baseboard management controller static memory BMC SRAM.
- 5. a kind of device of bios version upgrading, which is characterized in that including:Storage unit, for pre-saving the Universally Unique Identifier UUID of current version;Unit is reset, for receiving the information management of the BIOS after basic input-output system BIOS edition upgrading instructs Field is reset;Writing unit, for when needing to retain the UUID, the UUID of the current version pre-saved to be written the BIOS Information management field, and restart the BIOS.
- 6. the device of bios version upgrading according to claim 5, which is characterized in that the UUID includes flag bit and letter Position is ceased, said write unit is specifically used for when the flag bit of the UUID is predetermined threshold value, by the information bit pair of the UUID The information management field of the BIOS is written in the numerical value answered, and restarts the BIOS.
- 7. the device of bios version upgrading according to claim 6, which is characterized in that further include:Prompt unit, for sending out the prompting for completing edition upgrading.
- 8. the device upgraded according to claim 5-7 any one of them bios version, which is characterized in that the UUID is protected in advance It deposits to baseboard management controller static memory BMC SRAM.
- 9. a kind of equipment of bios version upgrading, which is characterized in that including:Memory, for storing computer program;Processor realizes that Claims 1-4 any one of them bios version such as upgrades during for performing the computer program Method the step of.
- 10. a kind of readable storage medium storing program for executing, which is characterized in that computer program, the meter are stored on the readable storage medium storing program for executing The step of method such as the upgrading of Claims 1-4 any one of them bios version is realized when calculation machine program is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810171351.7A CN108268285B (en) | 2018-03-01 | 2018-03-01 | BIOS version upgrading method, device, equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810171351.7A CN108268285B (en) | 2018-03-01 | 2018-03-01 | BIOS version upgrading method, device, equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108268285A true CN108268285A (en) | 2018-07-10 |
CN108268285B CN108268285B (en) | 2021-06-25 |
Family
ID=62774395
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810171351.7A Active CN108268285B (en) | 2018-03-01 | 2018-03-01 | BIOS version upgrading method, device, equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108268285B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108984359A (en) * | 2018-07-19 | 2018-12-11 | 郑州云海信息技术有限公司 | A kind of system UUID synchronization detecting method, device, equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102880519A (en) * | 2012-08-24 | 2013-01-16 | 曙光信息产业(北京)有限公司 | Basic input output system (BIOS) configuration batch modification method |
CN106161082A (en) * | 2016-06-13 | 2016-11-23 | 浪潮(北京)电子信息产业有限公司 | The method to set up of server UUID, system and baseboard management controller |
CN106980502A (en) * | 2017-03-24 | 2017-07-25 | 南京百敖软件有限公司 | A kind of online method for obtaining BIOS/firmware renewal |
-
2018
- 2018-03-01 CN CN201810171351.7A patent/CN108268285B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102880519A (en) * | 2012-08-24 | 2013-01-16 | 曙光信息产业(北京)有限公司 | Basic input output system (BIOS) configuration batch modification method |
CN106161082A (en) * | 2016-06-13 | 2016-11-23 | 浪潮(北京)电子信息产业有限公司 | The method to set up of server UUID, system and baseboard management controller |
CN106980502A (en) * | 2017-03-24 | 2017-07-25 | 南京百敖软件有限公司 | A kind of online method for obtaining BIOS/firmware renewal |
Non-Patent Citations (1)
Title |
---|
佚名: "◆◆4930G刷BIOS&恢复出厂SN、UUID激活Vista详细图文教程◆◆", 《HTTP://ACER.IT168.COM/THREAD-929828-1-1.HTML》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108984359A (en) * | 2018-07-19 | 2018-12-11 | 郑州云海信息技术有限公司 | A kind of system UUID synchronization detecting method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108268285B (en) | 2021-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110347414A (en) | Firmware update, device, equipment and computer readable storage medium | |
US9110843B2 (en) | Rack and method thereof for simultaneously updating basic input output systems | |
US10860425B2 (en) | Method for recovering basic input/output system image file of a computer system and the computer system | |
WO2020140634A1 (en) | Storage space optimization method and device, computer apparatus, and storage medium | |
US20130007430A1 (en) | Server and firmware updating method | |
CN104838365A (en) | Methods and systems for provisioning bootable image on to external drive | |
CN106528201B (en) | Method and device for loading animation in game | |
US9930112B2 (en) | Maintaining system firmware images remotely using a distribute file system protocol | |
CN101876885A (en) | Method and device for allocating logical DOS drives | |
CN108268285A (en) | Method, apparatus, equipment and the readable storage medium storing program for executing of bios version upgrading | |
CN115599437B (en) | Software version processing method and device, electronic equipment and storage medium | |
CN109597639A (en) | A kind of method for upgrading software, device, equipment and medium | |
CN101631046B (en) | Method and device of automatic upgrade of one board | |
KR101461319B1 (en) | Methods and device for upgrading firmware of set-top box | |
TWI668636B (en) | Update method for server firmware | |
JP4127307B2 (en) | Data storage device, data processing system, data processing method, and data processing device | |
CN110618828B (en) | Data updating method and device | |
WO2016090768A1 (en) | Port attribute inheritance method and device | |
TWI796194B (en) | Password management method for bios and bmc | |
JP6769106B2 (en) | Storage control method, storage control program and information processing device | |
TW201423592A (en) | Rack and method for updating basic input output systems at the time thereof | |
CN112579384B (en) | Method, device and system for monitoring nodes of SAS domain and nodes | |
US20230018707A1 (en) | Data rebalancing in data storage systems | |
TWI709036B (en) | Method of recovering the bios configuration parameter and server system | |
CN109245920B (en) | Automatic switch configuration method and device, switch and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |