CN109240725A - A kind of method and system for not being updated of DMI synchronizing information after updating BIOS - Google Patents

A kind of method and system for not being updated of DMI synchronizing information after updating BIOS Download PDF

Info

Publication number
CN109240725A
CN109240725A CN201811074527.3A CN201811074527A CN109240725A CN 109240725 A CN109240725 A CN 109240725A CN 201811074527 A CN201811074527 A CN 201811074527A CN 109240725 A CN109240725 A CN 109240725A
Authority
CN
China
Prior art keywords
dmi
field
fru
field value
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
Application number
CN201811074527.3A
Other languages
Chinese (zh)
Inventor
迟江波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811074527.3A priority Critical patent/CN109240725A/en
Publication of CN109240725A publication Critical patent/CN109240725A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping

Abstract

The present invention provides the method and system that DMI synchronizing information after a kind of update BIOS is not updated, the two: can be in BIOS start-up course, according to the corresponding relationship of DMI field and FRU field predetermined, by the field value of the synchronous FRU of the present field value of DMI;And it can be after BIOS completes to update in restarting procedure, according to the corresponding relationship of above-mentioned DMI field and FRU field predetermined, by the field value of the synchronous FRU of the present field value of DMI.The present invention is used to not change after updating BIOS the synchronizing information of DMI.

Description

A kind of method and system for not being updated of DMI synchronizing information after updating BIOS
Technical field
The present invention relates to server field, it is specifically a kind of update after BIOS the method that is not updated of DMI synchronizing information and System, for after updating BIOS DMI synchronizing information be not updated.
Background technique
The chief component of DMI (Desktop Management Interface, Desktop Management Interface) is Management InformationFormat (MIF) database.This database includes all in relation to computer system and matching The information of part.By DMI, the available sequence number of user, manufacturer computer, Serial Port Information and other system accessories information.DMI The collection of information must strictly in accordance with SMBIOS (System Management BIOS, SMBIOS) specification under the premise of into Row.
EEPROM (Electrically Erasable Programmable read only memory), band electrically erasable The storage chip that data are not lost after a kind of programmable read only memory -- power down.EEPROM can on computers or dedicated be set Standby upper wipe has information, reprograms.It is commonly used in plug and play.
FRU(Field Replaceable Unit, Field Replaceable Unit), it includes Chassis, Board and The fields such as Product, each field respectively correspond to different information, specifically include manufacturer server, server ID number, clothes Device asset number, the server date of production, server be engaged in Host equipment room etc., therefore whether the FRU information of server keeps It is constant that there is related important function for server in machine room updating maintenance.
Usually, DMI information is present in server HOST main system, FRU information preservation is in server B MC system In.For the ease of system administration, configuration information in general DMI is synchronous with FRU information.But in actual use process In, the DMI configuration information that user envisions setting sometimes has information update lag compared with FRU information modified in FRU.
And DMI information is that BIOS standardizes the information filled in advance according to SMBIOS, corresponding tool can be used in user DMI information is revised as to the information of oneself definition by modification server FRU information.A server is either in research and development, dimension Shield or Client line on using require update BIOS(Basic Input Output System, basic input output system), BIOS is once updated, and DMI information will then be reduced into initial information, the DMI information preservation set can not be got off. And do not solve the above problems at present there is no suitable, effective method, can only after updating BIOS, according to the information recorded originally, Again DMI information is modified with tool.
For this purpose, the present invention provides the method and system that DMI synchronizing information after a kind of update BIOS is not updated, for solving Certainly above-mentioned technical problem.
Summary of the invention
The technical problem to be solved by the invention is to provide the sides that DMI synchronizing information after a kind of update BIOS is not updated Method and system, for realizing not being updated for DMI synchronizing information after updating BIOS.
In order to solve the above technical problems, the present invention provides the sides that DMI synchronizing information after a kind of update BIOS is not updated Method, comprising steps of
In BIOS start-up course, according to the corresponding relationship of DMI field and FRU field predetermined, by the present field of DMI It is worth the field value of synchronous FRU;Wherein the field value of the FRU is stored in EEPROM;
After BIOS completes to update in restarting procedure, closed according to above-mentioned DMI field predetermined and the corresponding of FRU field System, by the field value of the synchronous FRU of the present field value of DMI.
Wherein, the method and step of the field value of the synchronous FRU of each present field value by DMI includes:
Traverse each field of DMI;
The field value of the corresponding field of the field value of the field of the DMI currently traversed and FRU is subjected to uniformity comparison respectively;
When the corresponding field value of field value and FRU that comparison result is the DMI currently traversed is inconsistent, then correspondence will deserve Before the corresponding field value of the synchronous FRU of the field value of DMI that traverses.
Wherein, the corresponding relationship of the DMI field and FRU field predetermined, is stored in the correspondence pre-established In relation table.
In addition, the present invention also provides the systems that DMI synchronizing information after a kind of update BIOS is not updated, comprising:
First synchronization unit, for being closed according to DMI field predetermined and the corresponding of FRU field in BIOS start-up course System, by the field value of the synchronous FRU of the present field value of DMI;
Second synchronization unit, for completing in BIOS after update in restarting procedure, according to the DMI word predetermined The corresponding relationship of section and FRU field, by the field value of the synchronous FRU of the present field value of DMI;
EEPROM memory cell is connected, for storing the word of the FRU with first synchronization unit and the second synchronization unit Section and its field value.
Wherein, the method for the field value of the synchronous FRU of the present field value of DMI is walked described in first synchronization unit Suddenly include:
Traverse each field of DMI;
The field value of the corresponding field of the field value of the field of the DMI currently traversed and FRU is subjected to uniformity comparison respectively;
When the corresponding field value of field value and FRU that comparison result is the DMI currently traversed is inconsistent, then correspondence will deserve Before the corresponding field value of the synchronous FRU of the field value of DMI that traverses.
Wherein, by the method and step packet of the field value of the synchronous FRU of the field value of DMI described in second synchronization unit It includes:
Traverse each field of DMI;
The field value of the corresponding field of the field value of the field of the DMI currently traversed and FRU is subjected to uniformity comparison respectively;
When the corresponding field value of field value and FRU that comparison result is the DMI currently traversed is inconsistent, then correspondence will deserve Before the corresponding field value of the synchronous FRU of the field value of DMI that traverses.
Wherein, the EEPROM memory cell is also stored with the mapping table pre-established, and described is pre-defined DMI field and the corresponding relationship of FRU field corresponding be stored in the mapping table.
Compared with the prior art, the advantages of the present invention are as follows:
(1) method that DMI synchronizing information is not updated after update BIOS of the present invention is led in BIOS start-up course Comparison DMI field and FRU field are crossed, realizes DMI field value and FRU field value consistency, and FRU field value is stored in In EEPROM, the operation for remodifying DMI information after updating BIOS is avoided, reduces artificial maintenance management, improves work Make efficiency, save management manpower, compensates for the deficiency of server admin and maintenance.
(2) system that DMI synchronizing information is not updated after update BIOS of the present invention, with the update BIOS The method that DMI synchronizing information is not updated afterwards is corresponding, therefore be not updated with DMI synchronizing information after the update BIOS The all advantages of method, details are not described herein.
It can be seen that compared with prior art, the present invention implementing with substantive distinguishing features outstanding and significant progress Beneficial effect be also obvious.
Detailed description of the invention
The method flow schematic diagram for the method that DMI synchronizing information is not updated after Fig. 1 is update BIOS of the present invention.
The theory structure block diagram signal for the system that DMI synchronizing information is not updated after Fig. 2 is update BIOS of the present invention Figure.
Fig. 3 is the corresponding relationship of the corresponding corresponding relationship for storing the DMI field predetermined and FRU field of the present invention A kind of embodiment of table.
Specific embodiment
To keep technical solution of the present invention and advantage clearer, below in conjunction with attached drawing, to technical solution of the present invention It is clearly and completely described.
A kind of specific embodiment for the method that DMI synchronizing information is not updated after Fig. 1 is update BIOS of the present invention. In the present embodiment, the method that DMI synchronizing information is not updated after update BIOS, including step s1-s2.
It step s1,, will according to the corresponding relationship of DMI field and FRU field predetermined in BIOS start-up course The field value of the synchronous FRU of the present field value of DMI.Wherein the field value of the FRU is stored in EEPROM.
Wherein, the EEPROM is integrated in mainboard BMC (the Baseboard Management of server Controller, baseboard management controller) on.
It should be noted that each field value of FRU involved in the present invention is read from EEPROM, such as the present invention Involved in FRU each field value can by send IPMI order be read from the EEPROM of BMC.
Step s2, after BIOS completes to update in restarting procedure, according to above-mentioned DMI field predetermined and FRU The corresponding relationship of field, by the field value of the synchronous FRU of the present field value of DMI.
Wherein, in the method that DMI synchronizing information is not updated after update BIOS of the present invention, described is preparatory fixed The DMI field of justice and the corresponding relationship of FRU field, are stored in the mapping table pre-established.Wherein this is pre-established Mapping table is stored in the EEPROM.
In the present embodiment, the method and step packet of the field value of the synchronous FRU of each present field value by DMI It includes:
Traverse each field of DMI;
The field value of the corresponding field of the field value of the field of the DMI currently traversed and FRU is subjected to uniformity comparison respectively;
When the corresponding field value of field value and FRU that comparison result is the DMI currently traversed is inconsistent, then correspondence will deserve Before the corresponding field value of the synchronous FRU of the field value of DMI that traverses.
Wherein, each field (including each field name and its corresponding field value) of DMI is stored in server HOST In main system.
It should be noted that each field of DMI involved in the present invention is read from server HOST main system, tool Body can be selected correlation technique any in the prior art and be read out.
In addition, the method not being updated with DMI synchronizing information after above-mentioned update BIOS is correspondingly, the present invention also provides A kind of system for not being updated of DMI synchronizing information after updating BIOS, including the first synchronization unit, the second synchronization unit and EEPROM Storage unit.Wherein: the first synchronization unit is used in BIOS start-up course, according to DMI field predetermined and FRU word The corresponding relationship of section, by the field value of the synchronous FRU of the present field value of DMI.Second synchronization unit, for completing to update in BIOS Afterwards in restarting procedure, according to the corresponding relationship of the DMI field and FRU field predetermined, by the current word of DMI The field value of the synchronous FRU of segment value.EEPROM memory cell, using EEPROM storage chip, with first synchronization unit and Second synchronization unit is connected, for storing the field and its field value of the FRU.
In use, in BIOS start-up course, by the first synchronization unit according to DMI field predetermined and FRU word The corresponding relationship of section, by the field value of the synchronous FRU of the present field value of DMI;After BIOS completes to update in restarting procedure, According to the corresponding relationship of the DMI field and FRU field predetermined, by the field of the synchronous FRU of the present field value of DMI Value.
In the present embodiment, the EEPROM memory cell is also stored with the mapping table pre-established, described The corresponding relationship of DMI field and FRU field predetermined corresponding be stored in the mapping table.Correspondence is described right Answer a kind of embodiment of relation table as shown in Figure 3.Wherein in a table as shown in figure 3, each DMI field predetermined and its In the corresponding corresponding same record row being stored in Fig. 3 of corresponding FRU field.Such as in table shown in Fig. 3 serial number 1 note In record row, there is the Manufacturer field of DMI predetermined opposite with the Product Manufacturer field of FRU It answers;For another example in table shown in Fig. 3 in the record row of serial number 2, the Product Name field of DMI predetermined and FRU's Product Name field is corresponding.Wherein in table shown in Fig. 3: the corresponding DMI field of the record row of serial number 1-5 is DMI System Information relevant field, serial number 6-10 the corresponding DMI field of record row be DMI Base Board The Chassis for recording the corresponding DMI field of row and being DMI of Information relevant field, serial number 11-15 Information relevant field.
In the present embodiment, by the field value of the synchronous FRU of the present field value of DMI described in the first synchronization unit Method and step includes:
Traverse each field of DMI;
The field value of the corresponding field of the field value of the field of the DMI currently traversed and FRU is subjected to uniformity comparison respectively;
When the corresponding field value of field value and FRU that comparison result is the DMI currently traversed is inconsistent, then correspondence will deserve Before the corresponding field value of the synchronous FRU of the field value of DMI that traverses.
Based on first synchronization unit, using the field value of FRU field as baseline, if the word of both DMI and FRU corresponding field Segment value is inconsistent, then FRU and the corresponding field of DMI are worth to the respective field value of the corresponding replacement DMI of inconsistent field value, with Realize that the current field value of DMI is consistent with FRU field value.
In the present embodiment, by the field of the synchronous FRU of the present field value of DMI described in second synchronization unit The method and step of value includes:
Traverse each field of DMI;
The field value of the corresponding field of the field value of the field of the DMI currently traversed and FRU is subjected to uniformity comparison respectively;
When the corresponding field value of field value and FRU that comparison result is the DMI currently traversed is inconsistent, then correspondence will deserve Before the corresponding field value of the synchronous FRU of the field value of DMI that traverses.
It can be seen that based in second synchronization unit, it, can be according to fixed in advance during restarting after BIOS completes to update The DMI field of justice and the corresponding relationship of FRU field, do consistency ratio with the corresponding field value of FRU one by one for the field value of DMI It is right, and have one by one: if comparison result is that the present field value of DMI and the corresponding field value of FRU are consistent, will not modify The field value of DMI;If the corresponding field value of present field value and FRU that comparison result is DMI is inconsistent, the field of FRU is used The corresponding field value of present field value and FRU that the present field value of value replacement DMI, even comparison result are DMI is inconsistent then By the corresponding field value of the synchronous FRU of the present field value of DMI.
To sum up, the present invention is in BIOS start-up course, realized by comparing DMI and FRU with FRU consistency, and And FRU is stored in EEPROM, it avoids and repeats modification DMI information after updating BIOS, reduce artificial maintenance management, make up The deficiency of server admin and maintenance, saves a large amount of manpower, improves work efficiency.It can be seen that the present invention is with wide Application space.
Embodiment of above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned implementation Invention is explained in detail for mode, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are repaired Change or replaces, the range for each embodiment technical solution of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (7)

1. a kind of method that DMI synchronizing information is not updated after update BIOS, which is characterized in that comprising steps of
In BIOS start-up course, according to the corresponding relationship of DMI field and FRU field predetermined, by the present field of DMI It is worth the field value of synchronous FRU;Wherein the field value of the FRU is stored in EEPROM;
After BIOS completes to update in restarting procedure, closed according to above-mentioned DMI field predetermined and the corresponding of FRU field System, by the field value of the synchronous FRU of the present field value of DMI.
2. the method that DMI synchronizing information is not updated after update BIOS according to claim 1, which is characterized in that each institute The method and step for the field value by the synchronous FRU of the present field value of DMI stated includes:
Traverse each field of DMI;
The field value of the corresponding field of the field value of the field of the DMI currently traversed and FRU is subjected to uniformity comparison respectively;
When the corresponding field value of field value and FRU that comparison result is the DMI currently traversed is inconsistent, then correspondence will deserve Before the corresponding field value of the synchronous FRU of the field value of DMI that traverses.
3. the method that DMI synchronizing information is not updated after update BIOS according to claim 1 or 2, which is characterized in that institute The corresponding relationship of the DMI field and FRU field predetermined stated, is stored in the mapping table pre-established.
4. the system that DMI synchronizing information is not updated after a kind of update BIOS characterized by comprising
First synchronization unit, for being closed according to DMI field predetermined and the corresponding of FRU field in BIOS start-up course System, by the field value of the synchronous FRU of the present field value of DMI;
Second synchronization unit, for completing in BIOS after update in restarting procedure, according to the DMI word predetermined The corresponding relationship of section and FRU field, by the field value of the synchronous FRU of the present field value of DMI;
EEPROM memory cell is connected, for storing the word of the FRU with first synchronization unit and the second synchronization unit Section and its field value.
5. the system that DMI synchronizing information is not updated after update BIOS according to claim 4, which is characterized in that described Include: by the method and step of the field value of the synchronous FRU of the present field value of DMI described in first synchronization unit
Traverse each field of DMI;
The field value of the corresponding field of the field value of the field of the DMI currently traversed and FRU is subjected to uniformity comparison respectively;
When the corresponding field value of field value and FRU that comparison result is the DMI currently traversed is inconsistent, then correspondence will deserve Before the corresponding field value of the synchronous FRU of the field value of DMI that traverses.
6. the system that DMI synchronizing information is not updated after update BIOS according to claim 4 or 5, which is characterized in that institute It states described in the second synchronization unit and includes: by the method and step of the field value of the synchronous FRU of the field value of DMI
Traverse each field of DMI;
The field value of the corresponding field of the field value of the field of the DMI currently traversed and FRU is subjected to uniformity comparison respectively;
When the corresponding field value of field value and FRU that comparison result is the DMI currently traversed is inconsistent, then correspondence will deserve Before the corresponding field value of the synchronous FRU of the field value of DMI that traverses.
7. the system that DMI synchronizing information is not updated after update BIOS according to claim 4 or 5, which is characterized in that institute The EEPROM memory cell stated also is stored with the mapping table pre-established, the DMI field predetermined and FRU word The corresponding relationship of section is corresponding to be stored in the mapping table.
CN201811074527.3A 2018-09-14 2018-09-14 A kind of method and system for not being updated of DMI synchronizing information after updating BIOS Pending CN109240725A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811074527.3A CN109240725A (en) 2018-09-14 2018-09-14 A kind of method and system for not being updated of DMI synchronizing information after updating BIOS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811074527.3A CN109240725A (en) 2018-09-14 2018-09-14 A kind of method and system for not being updated of DMI synchronizing information after updating BIOS

Publications (1)

Publication Number Publication Date
CN109240725A true CN109240725A (en) 2019-01-18

Family

ID=65058135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811074527.3A Pending CN109240725A (en) 2018-09-14 2018-09-14 A kind of method and system for not being updated of DMI synchronizing information after updating BIOS

Country Status (1)

Country Link
CN (1) CN109240725A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110147297A (en) * 2019-04-12 2019-08-20 深圳市同泰怡信息技术有限公司 A kind of method and device of mutual backup updating mainboard information
CN114138347A (en) * 2021-11-10 2022-03-04 苏州浪潮智能科技有限公司 On-site replaceable unit information storage method and computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030055846A1 (en) * 2001-09-20 2003-03-20 International Business Machines Corporation Method and system for providing field replaceable units in a personal computer
TW200823756A (en) * 2006-11-23 2008-06-01 Inventec Corp Computer platform embedded product data uniformization handling method and system
CN104317667A (en) * 2014-10-27 2015-01-28 浪潮电子信息产业股份有限公司 Method for synchronizing DMI (desktop management interface) and FRU (field replace unit)
CN106155716A (en) * 2015-03-30 2016-11-23 联想(北京)有限公司 The configuration store method of BIOS and configuration save set
CN106919407A (en) * 2015-12-26 2017-07-04 昆达电脑科技(昆山)有限公司 The method of the embedded product information synchronized update of computer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030055846A1 (en) * 2001-09-20 2003-03-20 International Business Machines Corporation Method and system for providing field replaceable units in a personal computer
TW200823756A (en) * 2006-11-23 2008-06-01 Inventec Corp Computer platform embedded product data uniformization handling method and system
CN104317667A (en) * 2014-10-27 2015-01-28 浪潮电子信息产业股份有限公司 Method for synchronizing DMI (desktop management interface) and FRU (field replace unit)
CN106155716A (en) * 2015-03-30 2016-11-23 联想(北京)有限公司 The configuration store method of BIOS and configuration save set
CN106919407A (en) * 2015-12-26 2017-07-04 昆达电脑科技(昆山)有限公司 The method of the embedded product information synchronized update of computer

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110147297A (en) * 2019-04-12 2019-08-20 深圳市同泰怡信息技术有限公司 A kind of method and device of mutual backup updating mainboard information
CN110147297B (en) * 2019-04-12 2021-07-06 深圳市同泰怡信息技术有限公司 Method and device for mutually backing up and updating mainboard information
CN114138347A (en) * 2021-11-10 2022-03-04 苏州浪潮智能科技有限公司 On-site replaceable unit information storage method and computer-readable storage medium
CN114138347B (en) * 2021-11-10 2024-03-12 苏州浪潮智能科技有限公司 On-site replaceable unit information storage method and computer readable storage medium

Similar Documents

Publication Publication Date Title
EP3477914B1 (en) Data recovery method and device, and cloud storage system
US9372769B2 (en) Server and inspecting method thereof
US10671593B2 (en) Normalization engine to manage configuration management database integrity
US20080065874A1 (en) System and method for dynamic determination of system topology in a multiple building block server system
CN109471770A (en) A kind of method for managing system and device
CN104317667A (en) Method for synchronizing DMI (desktop management interface) and FRU (field replace unit)
WO2020155591A1 (en) Method and device for real time synchronization of bios and bmc power-off policy, terminal and storage medium
CN109240725A (en) A kind of method and system for not being updated of DMI synchronizing information after updating BIOS
WO2022095366A1 (en) Redis-based data reading method and apparatus, device, and readable storage medium
CN104424068A (en) System and method for pressure testing of firmware update
CN109635561A (en) A kind of method, apparatus that BIOS with BMC password setting is synchronous, terminal and storage medium
CN108197139A (en) A kind of processing method and terminal of synchronized update configuration item
CN110532123B (en) Fault transfer method and device of HBase system
CN109522043A (en) A kind of management method of configuration data, device and storage medium
CN108304142A (en) A kind of data managing method and device
US20190391745A1 (en) Dynamic parallelism
US20200192776A1 (en) Server structure, a method of resource aggregation and a method for obtaining sensor data of a server
US10387887B2 (en) Bloom filter driven data synchronization
CN116661943A (en) Pod data volume dynamic mounting method and device under Kubernetes system platform
CN115129249A (en) SAS link topology identification management method, system, terminal and storage medium
DE102021127279A1 (en) CONFIGURATION OF A COMPUTED DRIVE
CN113590033A (en) Information synchronization method and device of super-fusion system
CN112988708A (en) Version updating method and device, computer readable storage medium and processor
CN111241099A (en) Industrial big data storage method and device
CN110489273A (en) A kind of storage backup method, system, terminal and storage medium based on SAN

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: 20190118

RJ01 Rejection of invention patent application after publication