CN108874425A - Configuration file update method, device, baseboard management controller and storage medium - Google Patents
Configuration file update method, device, baseboard management controller and storage medium Download PDFInfo
- Publication number
- CN108874425A CN108874425A CN201810669831.6A CN201810669831A CN108874425A CN 108874425 A CN108874425 A CN 108874425A CN 201810669831 A CN201810669831 A CN 201810669831A CN 108874425 A CN108874425 A CN 108874425A
- Authority
- CN
- China
- Prior art keywords
- configuration file
- server
- bios configuration
- identification information
- bios
- 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.)
- Pending
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
Abstract
The invention discloses a kind of BIOS configuration file update methods of server, including:BMC receives BIOS configuration file;Server identification information corresponding with BIOS configuration file is carried in BIOS configuration file;Whether authentication server identification information is identical as book server identification information;Operation is updated if so, executing using BIOS configuration file;If it is not, refusal, which executes, updates operation.It can be seen that, in this programme, when BMC is updated using BIOS configuration file, it is whether identical as the identification information of book server firstly the need of the server identification information in verifying BIOS configuration file, only when identical, the phenomenon that just executing and update operation, updating so as to avoid BIOS configuration file onto the not corresponding server of model, avoid the occurrence of server delay machine;The invention also discloses a kind of BIOS configuration file updating device, baseboard management controller and readable storage medium storing program for executing, are equally able to achieve above-mentioned technical effect.
Description
Technical field
The present invention relates to BIOS configuration file update method fields, more more specifically to a kind of BIOS configuration file
New method, device, baseboard management controller and readable storage medium storing program for executing.
Background technique
BIOS is Basic Input Output System, i.e. basic input output system.It is one group and is cured to calculating
Program in machine on mainboard in a FLASH chip, the program of its in store most important basic input and output of computer, booting
Self-check program and system self-triggered program afterwards, major function are that the bottom, most direct hardware setting are provided for computer
And control.BIOS is responsible for system starting process control, if BIOS content is destroyed, it will system is caused to cannot be started up.Mesh
Before, the type development of the raising with user to the calculating demand of computer, equipment is more and more abundant.The demand of user is increasingly
More, many clients need to carry out automatic deployment to the BIOS Setup option of server, can upload BIOS Setup option
Configuration file is Baseboard Management Controller, i.e. baseboard management controller to BMC, BMC, it has band
Outer management function can carry out long-range update BIOS Setup option configuration by BMC.BMC receives the configuration file of BMC
Afterwards, it is updated BIOS setup option, but not due to the BIOS Setup option configuration file of different server needs
Together, when updating at present to BIOS configuration file, often there is the configuration file of the BIOS Setup option of other server models
The phenomenon that flushing to above not corresponding server model, leading to server delay machine.
Therefore, how to avoid BIOS configuration file from updating onto the not corresponding server of model, avoid the occurrence of server and delay
The phenomenon that machine is those skilled in the art's problem to be solved.
Summary of the invention
The purpose of the present invention is to provide a kind of BIOS configuration file update method, device, baseboard management controllers and can
Storage medium is read, updates to avoid BIOS configuration file onto the not corresponding server of model, avoids the occurrence of server delay machine
Phenomenon.
To achieve the above object, the embodiment of the invention provides following technical solutions:
A kind of BIOS configuration file update method of server, the server are provided with BMC, then the BIOS configuration text
Part update method includes:
BMC receives BIOS configuration file;Clothes corresponding with the BIOS configuration file are carried in the BIOS configuration file
Business device identification information;
It is whether identical as book server identification information to verify the server identification information;
Operation is updated if so, executing using the BIOS configuration file;
Operation is updated if it is not, then refusing to execute.
Wherein, whether the verifying server identification information and book server identification information are identical, including:
Whether the type information of the type information and book server of verifying the server is identical.
Wherein, whether the type information of the verifying server and the type information of book server are identical, including:
Judge the type information that the server whether is carried in the preceding 128byte of the BIOS configuration file;If so,
Whether the type information of the type information and book server of verifying the server is identical.
Wherein, if the server identification information is different from book server identification information, the BIOS configuration file is more
New method further includes:
The prompt information for updating and failing is sent to contact information is prestored, and generates update failure log.
A kind of BIOS configuration file updating device of server, the configuration file updating device are set to server
In BMC, the BIOS configuration file updating device includes:
Configuration file receiving module, for receiving BIOS configuration file;In the BIOS configuration file carry with it is described
The corresponding server identification information of BIOS configuration file;
Whether authentication module is identical as book server identification information for verifying the server identification information;
Update module, for when the server identification information is identical as book server identification information, using described
BIOS configuration file, which executes, updates operation;If not identical, refusal, which executes, updates operation.
Wherein, the authentication module is specifically used for:The model of the type information and book server of verifying the server is believed
It whether identical ceases.
Wherein, the authentication module includes:
Whether judging unit carries the type of the server in the preceding 128byte for judging the BIOS configuration file
Number information;
Authentication unit, for carrying the type information of the server in the preceding 128byte of the BIOS configuration file
When, whether the type information of the type information and book server of verifying the server is identical.
Wherein, further include:
Prompt information sending module is used in the server identification information and book server identification information difference, to
It prestores contact information and sends the prompt information for updating failure, and generate update failure log;
Log information generation module is used in the server identification information and book server identification information difference, raw
At update failure log.
A kind of baseboard management controller, including:
Storage unit, for storing computer program;Processing unit is realized above-mentioned when for executing the computer program
The step of BIOS configuration file update method.
A kind of computer readable storage medium is stored with computer program on the computer readable storage medium, described
The step of above-mentioned BIOS configuration file update method is realized when computer program is executed by processor.
By above scheme it is found that a kind of BIOS configuration file update method of server provided in an embodiment of the present invention,
The server is provided with BMC, then the BIOS configuration file update method includes:BMC receives BIOS configuration file;It is described
Server identification information corresponding with the BIOS configuration file is carried in BIOS configuration file;Verify the server identification letter
It ceases whether identical as book server identification information;Operation is updated if so, executing using the BIOS configuration file;If it is not, then
Refusal, which executes, updates operation.
As it can be seen that when in the present solution, BMC is updated using BIOS configuration file, it is necessary first to verify BIOS configuration text
Whether the server identification information in part is identical as the identification information of book server, only when identical, just executes and updates operation,
It updates so as to avoid BIOS configuration file onto the not corresponding server of model, to avoid the occurrence of showing for server delay machine
As;The invention also discloses a kind of BIOS configuration file updating device, baseboard management controller and readable storage medium storing program for executing, same energy
Realize above-mentioned technical effect.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of BIOS configuration file update method flow diagram disclosed by the embodiments of the present invention;
Fig. 2 is BIOS configuration file update method overall flow schematic diagram disclosed by the embodiments of the present invention;
Fig. 3 is a kind of BIOS configuration file updating device structural schematic diagram disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of BIOS configuration file update method, device, baseboard management controllers and readable
Storage medium updates onto the not corresponding server of model to avoid BIOS configuration file, avoids the occurrence of showing for server delay machine
As.
Referring to Fig. 1, a kind of BIOS configuration file update method of server provided in an embodiment of the present invention, the server
It is provided with BMC, then the BIOS configuration file update method includes:
S101, BMC receive BIOS configuration file;It is carried in the BIOS configuration file corresponding with the BIOS configuration file
Server identification information;
Wherein, whether the verifying server identification information and book server identification information are identical, including:Verifying institute
Whether the type information of the type information and book server of stating server is identical.
It should be noted that the prior art before BIOS configuration file is updated, will not detect BIOS configuration file
It is whether corresponding with server, if not corresponding, then forcing if being updated BIOS configuration file, it will lead to clothes
Business device delay machine.Therefore, in the present embodiment, referring to fig. 2, it is different using signature differentiation to propose a kind of outer monitoring management of novel belt
Project BIOSSetup options method, that is to say, that this programme is arranged in pairs or groups BMC monitoring management chip, BMC and BIOS in the server
Setup option configuration can be carried out, when generating BIOS Setup configuration file, file is corresponded into identification information addition and is being configured
In file.Identification information in the present embodiment is specifically as follows the type information of server, is also possible to the number letter of server
Breath etc., it is not specific herein to limit, it will be described by taking type information as an example hereinafter.
Whether S102, the verifying server identification information and book server identification information are identical;
If so, executing S103;If it is not, then executing S104;
S103, update operation is executed using the BIOS configuration file;
S104, refusal, which execute, updates operation.
Wherein, whether the type information of the verifying server and the type information of book server are identical, including:Sentence
Break the BIOS configuration file preceding 128byte in whether carry the type information of the server;If so, verifying the clothes
Whether the type information of business device and the type information of book server are identical.
Specifically, in the present embodiment, server model is placed into the preceding 128byte of configuration file, to be counted
Word signature;When updating BIOS configuration file by BMC, it whether there is type information before BMC is first verified in 128byte,
If it is present judge whether the server model in configuration file corresponding with the model of book server, if it is corresponding just into
Row upgrading.Which ensures that the BIOS configuration files for only meeting the equipment just to allow to update.
It is described also, if the server identification information carried in configuration file is different from book server identification information
BIOS configuration file update method further includes:The prompt information for updating and failing is sent to contact information is prestored, and generates update
Failure log.
Specifically, this, which prestores contact information, can be the contact method of pre-stored such as administrative staff, if matched
It is different from book server identification information to set the server identification information carried in file, then illustrates to update failure, at this moment needs to lead to
Know that administrative staff check, to solve a problem promptly;And after updating failure, log can be generated unsuccessfully, the failure day
Can store the server identification information etc. carried in renewal time, BIOS configuration file and configuration file in will, so as to for
Subsequent analysis provides foundation when updating failure cause.It of courses, which can not only generate after updating failure, can also be
It is generated after being updated successfully and is updated successfully log, it is not specific herein to limit.
It should be noted that the BIOS configuration file in this programme is specifically as follows BIOS Setup option configuration file.
This programme will add server product type when compiling generates BIOS Setup option configuration file in the preceding 128byte of file
Number be used as digital signature, pass through BMC upload BIOS Setup option configuration file;In turn, BMC program carries out parsing verifying BIOS
It whether include book server model in the preceding 128byte of Setup option configuration file, if permitted comprising book server model
Permitted to be upgraded, if verifying does not pass through, do not allow to be updated, is updated to model not so as to avoid BIOS configuration file
On corresponding server, the phenomenon that avoiding the occurrence of server delay machine.
BIOS configuration file updating device provided in an embodiment of the present invention is introduced below, BIOS described below matches
Setting file updating device can be cross-referenced with above-described BIOS configuration file update method.
Referring to Fig. 3, a kind of BIOS configuration file updating device of server provided in an embodiment of the present invention, the configuration text
Part updating device is set in the BMC of server, and the BIOS configuration file updating device includes:
Configuration file receiving module 100, for receiving BIOS configuration file;In the BIOS configuration file carry with it is described
The corresponding server identification information of BIOS configuration file;
Whether authentication module 200 is identical as book server identification information for verifying the server identification information;
Update module 300, for when the server identification information is identical as book server identification information, using described
BIOS configuration file, which executes, updates operation;If not identical, refusal, which executes, updates operation.
Wherein, the authentication module is specifically used for:The model of the type information and book server of verifying the server is believed
It whether identical ceases.
Wherein, the authentication module includes:
Whether judging unit carries the type of the server in the preceding 128byte for judging the BIOS configuration file
Number information;
Authentication unit, for carrying the type information of the server in the preceding 128byte of the BIOS configuration file
When, whether the type information of the type information and book server of verifying the server is identical.
Wherein, this programme further includes:
Prompt information sending module is used in the server identification information and book server identification information difference, to
It prestores contact information and sends the prompt information for updating failure, and generate update failure log;
Log information generation module is used in the server identification information and book server identification information difference, raw
At update failure log.
The embodiment of the present invention also provides a kind of baseboard management controller, including:
Storage unit, for storing computer program;
Processing unit realizes above-mentioned BIOS configuration file update method embodiment when for executing the computer program
Step.
The embodiment of the present invention also provides a kind of computer readable storage medium, stores on the computer readable storage medium
There is computer program, the computer program realizes above-mentioned BIOS configuration file update method embodiment when being executed by processor
Step.
Wherein, which may include:USB flash disk, mobile hard disk, read-only memory (Read-Only Memory,
ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. are various can store program
The medium of code.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (10)
1. a kind of BIOS configuration file update method of server, which is characterized in that the server is provided with BMC, then described
BIOS configuration file update method includes:
BMC receives BIOS configuration file;Server corresponding with the BIOS configuration file is carried in the BIOS configuration file
Identification information;
It is whether identical as book server identification information to verify the server identification information;
Operation is updated if so, executing using the BIOS configuration file;
Operation is updated if it is not, then refusing to execute.
2. BIOS configuration file update method according to claim 1, which is characterized in that the verifying server mark
Know information and whether book server identification information is identical, including:
Whether the type information of the type information and book server of verifying the server is identical.
3. BIOS configuration file update method according to claim 2, which is characterized in that the verifying server
Whether the type information of type information and book server is identical, including:
Judge the type information that the server whether is carried in the preceding 128byte of the BIOS configuration file;If so, verifying
Whether the type information of the server and the type information of book server are identical.
4. BIOS configuration file update method according to claim 3, which is characterized in that if the server identification information
Different from book server identification information, then the BIOS configuration file update method further includes:
The prompt information for updating and failing is sent to contact information is prestored, and generates update failure log.
5. a kind of BIOS configuration file updating device of server, which is characterized in that the configuration file updating device is set to
In the BMC of server, the BIOS configuration file updating device includes:
Configuration file receiving module, for receiving BIOS configuration file;It carries in the BIOS configuration file and matches with the BIOS
Set the corresponding server identification information of file;
Whether authentication module is identical as book server identification information for verifying the server identification information;
Update module, for being matched using the BIOS when the server identification information is identical as book server identification information
It sets file and executes and update operation;If not identical, refusal, which executes, updates operation.
6. BIOS configuration file updating device according to claim 5, which is characterized in that
The authentication module is specifically used for:Verify the type information of the server and book server type information whether phase
Together.
7. BIOS configuration file updating device according to claim 6, which is characterized in that the authentication module includes:
Whether judging unit carries the model letter of the server in the preceding 128byte for judging the BIOS configuration file
Breath;
Authentication unit is tested when for carrying the type information of the server in the preceding 128byte of the BIOS configuration file
Whether the type information of the type information and book server of demonstrate,proving the server is identical.
8. BIOS configuration file updating device according to claim 7, which is characterized in that further include:
Prompt information sending module, in the server identification information and when book server identification information difference, to prestoring
Contact information sends the prompt information for updating failure, and generates update failure log;
Log information generation module, for generating more in the server identification information and book server identification information difference
New failure log.
9. a kind of baseboard management controller, which is characterized in that including:
Storage unit, for storing computer program;
Processing unit realizes the BIOS configuration file as described in any one of Claims 1-4 when for executing the computer program
The step of update method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program realizes that BIOS configuration file updates as described in any one of Claims 1-4 when the computer program is executed by processor
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810669831.6A CN108874425A (en) | 2018-06-26 | 2018-06-26 | Configuration file update method, device, baseboard management controller and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810669831.6A CN108874425A (en) | 2018-06-26 | 2018-06-26 | Configuration file update method, device, baseboard management controller and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108874425A true CN108874425A (en) | 2018-11-23 |
Family
ID=64295816
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810669831.6A Pending CN108874425A (en) | 2018-06-26 | 2018-06-26 | Configuration file update method, device, baseboard management controller and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108874425A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114443084A (en) * | 2020-11-04 | 2022-05-06 | 慧与发展有限责任合伙企业 | Virtualizing secure memory of a baseboard management controller to a host computing device |
CN115080132A (en) * | 2022-06-28 | 2022-09-20 | 西安易朴通讯技术有限公司 | Information processing method, information processing apparatus, server, and storage medium |
CN113064613B (en) * | 2021-03-19 | 2024-03-08 | 山东英信计算机技术有限公司 | Method, system and storage medium for automatically updating information |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1808396A (en) * | 2005-01-20 | 2006-07-26 | 英业达股份有限公司 | Method for preventing software write-in error |
CN102023875A (en) * | 2009-09-11 | 2011-04-20 | 鸿富锦精密工业(深圳)有限公司 | System and method for sharing same BIOS (Basic Input Output System) for different mainboards |
CN102455926A (en) * | 2010-10-25 | 2012-05-16 | 英业达股份有限公司 | Method for updating configuration file by virtue of BIOS (Basic Input/Output System) |
CN106445528A (en) * | 2016-09-27 | 2017-02-22 | 郑州云海信息技术有限公司 | Method and device for configuring SETUP options of BIOS quickly |
CN106598564A (en) * | 2016-10-24 | 2017-04-26 | 郑州云海信息技术有限公司 | Method for implementing BIOS capable of self-adapting to different main boards, BIOS, and main board |
CN106980502A (en) * | 2017-03-24 | 2017-07-25 | 南京百敖软件有限公司 | A kind of online method for obtaining BIOS/firmware renewal |
CN107861760A (en) * | 2017-11-24 | 2018-03-30 | 联想(北京)有限公司 | BIOS collocation method, terminal and server |
CN108170474A (en) * | 2017-12-05 | 2018-06-15 | 山东超越数控电子股份有限公司 | A kind of method for identifying particular server mainboard |
-
2018
- 2018-06-26 CN CN201810669831.6A patent/CN108874425A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1808396A (en) * | 2005-01-20 | 2006-07-26 | 英业达股份有限公司 | Method for preventing software write-in error |
CN102023875A (en) * | 2009-09-11 | 2011-04-20 | 鸿富锦精密工业(深圳)有限公司 | System and method for sharing same BIOS (Basic Input Output System) for different mainboards |
CN102455926A (en) * | 2010-10-25 | 2012-05-16 | 英业达股份有限公司 | Method for updating configuration file by virtue of BIOS (Basic Input/Output System) |
CN106445528A (en) * | 2016-09-27 | 2017-02-22 | 郑州云海信息技术有限公司 | Method and device for configuring SETUP options of BIOS quickly |
CN106598564A (en) * | 2016-10-24 | 2017-04-26 | 郑州云海信息技术有限公司 | Method for implementing BIOS capable of self-adapting to different main boards, BIOS, and main board |
CN106980502A (en) * | 2017-03-24 | 2017-07-25 | 南京百敖软件有限公司 | A kind of online method for obtaining BIOS/firmware renewal |
CN107861760A (en) * | 2017-11-24 | 2018-03-30 | 联想(北京)有限公司 | BIOS collocation method, terminal and server |
CN108170474A (en) * | 2017-12-05 | 2018-06-15 | 山东超越数控电子股份有限公司 | A kind of method for identifying particular server mainboard |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114443084A (en) * | 2020-11-04 | 2022-05-06 | 慧与发展有限责任合伙企业 | Virtualizing secure memory of a baseboard management controller to a host computing device |
CN113064613B (en) * | 2021-03-19 | 2024-03-08 | 山东英信计算机技术有限公司 | Method, system and storage medium for automatically updating information |
CN115080132A (en) * | 2022-06-28 | 2022-09-20 | 西安易朴通讯技术有限公司 | Information processing method, information processing apparatus, server, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109240924B (en) | Application program testing method and device | |
CN106572372A (en) | Set-top box upgrading method and set-top box | |
CN110995825B (en) | Intelligent contract issuing method, intelligent node equipment and storage medium | |
CN109358888A (en) | Server firmware upgrade method, device, system and computer readable storage medium | |
CN108874425A (en) | Configuration file update method, device, baseboard management controller and storage medium | |
CN112970020A (en) | Monitoring device components using distributed ledger | |
CN108418787A (en) | Acquisition method, terminal device and the medium of Enterprise Resources Plan data | |
CN109063489A (en) | A kind of starting method and device | |
CN105786636B (en) | A kind of system repair and device | |
CN109542602B (en) | Block chain-based distributed task processing method, device and system | |
US20220067162A1 (en) | Update signals | |
CN105677409B (en) | A kind of method for upgrading system and device | |
CN113330419A (en) | Equipment application installation method and device | |
CN102880478B (en) | Oftware updating method | |
CN108920171A (en) | Firmware update and device, electronic equipment | |
CN105678118B (en) | A kind of software version generation method and device containing digital certificate | |
CN109858257B (en) | Access control method and device | |
CN111352835B (en) | Intelligent contract testing method, device, equipment and storage medium | |
CN110727575A (en) | Information processing method, system, device and storage medium | |
CN113961199A (en) | Model deployment system, method, device and storage medium | |
US9880813B2 (en) | RTE code generating method and apparatus performing the same | |
CN116126379A (en) | BIOS firmware upgrading method, device, equipment and storage medium | |
CN110389777A (en) | A kind of edition upgrading verification method, system and the relevant apparatus of BIOS node | |
CN113360172B (en) | Application deployment method, device, computer equipment and storage medium | |
US20220083656A1 (en) | Apparatus and method for tolerating byzantine faults in blockchain platforms |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181123 |
|
RJ01 | Rejection of invention patent application after publication |