CN114138347B - On-site replaceable unit information storage method and computer readable storage medium - Google Patents

On-site replaceable unit information storage method and computer readable storage medium Download PDF

Info

Publication number
CN114138347B
CN114138347B CN202111327700.8A CN202111327700A CN114138347B CN 114138347 B CN114138347 B CN 114138347B CN 202111327700 A CN202111327700 A CN 202111327700A CN 114138347 B CN114138347 B CN 114138347B
Authority
CN
China
Prior art keywords
replaceable unit
unit information
field replaceable
operating system
changed
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.)
Active
Application number
CN202111327700.8A
Other languages
Chinese (zh)
Other versions
CN114138347A (en
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202111327700.8A priority Critical patent/CN114138347B/en
Publication of CN114138347A publication Critical patent/CN114138347A/en
Application granted granted Critical
Publication of CN114138347B publication Critical patent/CN114138347B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a field replaceable unit information storage method and a computer readable storage medium, comprising the following steps: calling a desktop management interface preset by an operating system to acquire field replaceable unit information; according to a preset reservation rule, the field replaceable unit information is input into an SMBIOS information structure body in an operating system; the field replaceable unit information structure is obtained from the SMBIOS information structure and stored in a nonvolatile random access memory in the BIOS flash memory. The method has the advantages that the field replaceable unit information storage function of the EEPROM can be physically abandoned, the utilization rate of the storage space of the EEPROM is increased, meanwhile, interaction between the BMC and the EEPROM is not involved in the storage process, dependence on the BMC structure when the server stores the field replaceable unit information is eliminated, the BIOS itself is utilized to input the field replaceable unit information, and the field replaceable unit information is convenient to change and manage.

Description

On-site replaceable unit information storage method and computer readable storage medium
Technical Field
The present invention relates to the field of server design, and in particular, to a field replaceable unit information storage method and a computer readable storage medium.
Background
In the design of the server, the field replaceable unit information (Field Replace Unit data, FRU information) generally comprises information such as manufacturer, product model, product serial number, asset serial number and the like, and provides asset information management for server manufacturers and clients;
in the prior art, the field replaceable unit information is generally stored in an EEPROM (Electrically Erasable Programmable Read Only Memory, charged erasable programmable read-only memory), and the field replaceable unit information is changed and set by the erasing authority of the EEPROM, which is possessed by a server BMC (Baseboard Management Controller ), but the EEPROM can only be initialized and utilized as a general storage space with a special writing component, and has larger wave rate for the structure and circuit design of a server main board and the utilization of the storage space of the EEPROM; meanwhile, the field replaceable unit information is burnt and stored in the EEPROM, the existence and the stability of the BMC structure are excessively depended, and in the structural design of the server without the BMC structure, the burning of the field replaceable unit information can only be manually burnt in a physical hardware mode, and once the field replaceable unit information is changed, the change of the field replaceable unit information of the whole batch of servers is very complicated and difficult.
Therefore, there is a need for a field replaceable unit information storage method that can improve the storage space utilization and is independent of the BMC structure, so as to solve the above technical problems in the prior art.
Disclosure of Invention
In order to solve the deficiencies of the prior art, a primary object of the present invention is to provide a method for storing information of a field replaceable unit and a computer storage medium, so as to solve the above technical problems of the prior art.
To achieve the above object, the present invention provides, in a first aspect, a field replaceable unit information storage method including:
calling a desktop management interface preset by an operating system to acquire field replaceable unit information;
according to a preset reservation rule, the field replaceable unit information is input into an SMBIOS information structure body in the operating system;
the field replaceable unit information structure is obtained from the SMBIOS information structure and stored in a nonvolatile random access memory in BIOS flash.
In some embodiments, the entering the field replaceable unit information into the SMBIOS information structure in the operating system according to a preset retention rule includes:
judging whether the field replaceable unit information is changed or not, and terminating operation when the field replaceable unit information is not changed;
and when the field replaceable unit information is changed, calling the SMBIOS change interface, and inputting the changed field replaceable unit information into an SMBIOS information structure body in the operating system.
In some embodiments, when the field replaceable unit information is changed, the SMBIOS change interface is called, and the changed field replaceable unit information is entered into an SMBIOS information structure in the operating system, including:
when the field replaceable unit information is changed, calling the SMBIOS change interface, and changing the original field replaceable unit information according to a preset desktop management tool;
calling a desktop management interface preset by the operating system to acquire the changed field replaceable unit information;
and according to the preset reservation rule, the changed field replaceable unit information is input into an SMBIOS information structure body in the operating system.
In some embodiments, the entering the field replaceable unit information into the SMBIOS information structure in the operating system according to a preset retention rule includes:
setting the format of the field replaceable unit information according to the preset field replaceable unit information format;
generating a field replaceable unit information structure body according to the field replaceable unit information after the format is set;
the field replaceable unit information structure is entered into a reserved word portion in the SMBIOS information structure.
In some embodiments, the method comprises:
an operating system return interface obtains the field replaceable unit information from the nonvolatile random access memory and displays the field replaceable unit information in the operating system.
In some embodiments, the operating system return interface obtains the field replaceable unit information from the nonvolatile random access memory and displays the field replaceable unit information in the operating system, comprising:
when the field replaceable unit is changed, the operating system return interface acquires the changed field replaceable unit information from the nonvolatile random access memory;
and restarting the operating system, and displaying the changed field replaceable unit information in the restarted operating system.
In some embodiments, the method further comprises:
the nonvolatile random access memory is pre-provided with a memory interface;
the storage interface is used for positioning the nonvolatile random access memory for the field replaceable unit information storage.
In some embodiments, the method further comprises: in the nonvolatile random access memory, the field replaceable unit information is set to an attribute that is not lost after the CMOS is cleared.
In some embodiments, the method further comprises:
after the server is powered off and started, checking the state of the field replaceable unit information in the nonvolatile random access memory to ensure that the field replaceable unit information is stored in the nonvolatile random access memory.
In a second aspect, the present application provides a computer readable storage medium having a computer program stored therein, which when executed by a processor is for implementing a field replaceable unit information storage method.
The beneficial effect that this application realized is:
the application provides a field replaceable unit information storage method, which comprises the steps of calling a desktop management interface preset by an operating system to obtain field replaceable unit information; according to a preset reservation rule, the field replaceable unit information is input into an SMBIOS information structure body in the operating system; the field replaceable unit information structure is obtained from the SMBIOS information structure and stored in a nonvolatile random access memory in BIOS flash. The field replaceable unit information of the EEPROM can be physically abandoned by using a nonvolatile random access memory (Non-Volatile Random Access Memory, nvram) to store the field replaceable unit information, the utilization rate of the storage space of the EEPROM is increased, meanwhile, interaction between the BMC and the EEPROM is not involved in the field replaceable unit information storage process, dependence on the BMC structure when a server stores the field replaceable unit information is eliminated, and the field replaceable unit information is recorded by using a BIOS (Basic Input Output System ) per se, so that the field replaceable unit information can be conveniently changed and managed.
Drawings
For a clearer description of the technical solutions in the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art, wherein:
FIG. 1 is a schematic diagram of a field replaceable unit information storage provided by an embodiment of the present application;
FIG. 2 is a flow chart of a method for storing field replaceable unit information provided by an embodiment of the present application;
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
As noted in the background, the prior art typically burns and stores field replaceable unit information in EEPROMs, and is overly dependent on the presence and stability of the BMC structure. In the structural design of the server without BMC, the burning of the field replaceable unit information can only be manually burnt by a physical hardware mode, and once the field replaceable unit information is changed, the field replaceable unit information of the whole batch of servers is changed very fussy and difficult.
In order to solve the technical problems, the application provides a field replaceable unit information storage method, which is used for acquiring field replaceable unit information by calling a desktop management interface preset by an operating system; according to a preset reservation rule, the field replaceable unit information is input into an SMBIOS information structure body in an operating system; acquiring a field replaceable unit information structure body from the SMBIOS information structure body and storing the field replaceable unit information structure body in a nonvolatile random access memory in a BIOS flash memory; the field replaceable unit information storage function of the EEPROM is abandoned physically, the utilization rate of the storage space of the EEPROM is increased, meanwhile, interaction between the BMC and the EEPROM is not involved in the storage process, dependence on the BMC structure when the server stores the field replaceable unit information is eliminated, and the BIOS itself is utilized to input the field replaceable unit information, so that the field replaceable unit information can be changed and managed conveniently.
Example 1
The method for storing field replaceable unit information disclosed in the present application, specifically, as shown in fig. 1, the process for storing field replaceable unit information by applying the method for storing field replaceable unit information disclosed in the present embodiment includes:
s100, acquiring field replaceable information of all devices on a server;
a desktop management (dm code) interface can be set in the operating system to realize checking and acquiring field replaceable information of all devices; meanwhile, a desktop management tool is arranged in the operating system so as to change the field replaceable unit information under the operating system; the desktop management tool may be a DmiEdit (Dmi editing) tool, which may modify the type information corresponding to the SMBIOS under an operating system such as Linux, windows and Shell, which is not limited herein.
The software of the Dmidecode can acquire information about hardware under a Linux system and the like. The Dmidecode complies with the SMBIOS/DMI standard, and the information output by the Dmidecode includes BIOS, system, motherboard, processor, memory, cache, and the like. DMI (Desktop Management Interface ) is a management system that helps collect computer system information, which must be collected under strict compliance with the SMBIOS specification. SMBIOS (System Management BIOS) is a unified specification that a motherboard or system manufacturer needs to follow to display product management information in a standard format. The computer produced by each motherboard manufacturer or OEM manufacturer writes information into BIOS according to SMBIOS standard when leaving factory. Such information includes BIOS information, system information, processor information, device information, and the like. SMBIOS and DMI are open technical standards drafted by industry guide agency Desktop Management Task Force (DMTF), where DMI designs are applicable to any platform and operating system. DMI plays the role of an interface between management tools and the system layer. It establishes a standard manageable system to facilitate the knowledge of computer manufacturers and users. The major component of DMI is the Management Information Format (MIF) database. This database contains all the information about the computer system and accessories. Through the DMI, a user can obtain serial numbers, computer manufacturers, serial port information, and other system accessory information.
S200, inputting field replaceable unit information into an SMBIOS information structure body;
s210, judging whether the field replaceable unit information is changed, and terminating the operation when the field replaceable unit information is not changed;
checking the existing field replaceable unit information in the BIOS by utilizing a desktop management interface, comparing the field replaceable unit information to be input, and if the field replaceable unit information to be input is the same as the original existing field replaceable unit information in the BIOS, stopping the changing operation without changing the field replaceable unit information in the BIOS;
s211, when the field replaceable unit information is changed, calling the SMBIOS change interface, and inputting the changed field replaceable unit information into an SMBIOS information structure body in the operating system;
if the field replaceable unit information to be input is different from the field replaceable unit information which is originally existed in the BIOS, changing the original field replaceable unit information of the BIOS by utilizing a desktop management tool preset in an operating system, and inputting the changed field replaceable unit information into an SMBIOS information structure body by utilizing a preset reservation rule;
wherein, the reservation rule specifically refers to: because the correct format and field definition of the field replaceable unit information are particularly important for the asset management and back-end operation and maintenance of the client, the format of the field replaceable unit information is set according to the field replaceable unit information format specified by the client; generating a field replaceable unit information structure body according to the field replaceable unit information after the format is set; the field replaceable unit information structure is entered into a reserved word portion in the SMBIOS information structure.
S300, acquiring the field replaceable unit information structure body from the SMBIOS information structure body and storing the field replaceable unit information structure body in a nonvolatile random access memory in a BIOS flash memory.
The nonvolatile random access memory is a partial rated memory space in the BIOS, has the same characteristics as an EEPROM, can be used for storing field replaceable unit information, and has larger redundancy in utilization rate in the memory space in the nonvolatile random access memory;
wherein a storage interface can be provided in the nonvolatile random access memory for locating the nonvolatile random access memory in the BIOS for field replaceable unit information storage; under normal circumstances, the data stored in the nonvolatile random access memory has a failure deletion characteristic after performing an operation of clearing a CMOS (Complementary Metal Oxide Semiconductor ) chip, so the present application sets the storage field replaceable unit information in the BIOS in advance as an attribute that does not change after clearing the CMOS chip. In the computer field, CMOS often refers to a chip that holds basic startup information (e.g., date, time, startup settings, etc.) of a computer.
S400, the operating system return interface acquires the field replaceable unit information from the nonvolatile random access memory, and displays the field replaceable unit information in the operating system.
When the field replaceable unit is changed, the operating system return interface acquires the changed field replaceable unit information from the nonvolatile random access memory; and restarting the operating system, and displaying the changed field replaceable unit information in the restarted operating system.
In addition, after the server is powered off and started, the state of the field replaceable unit information in the nonvolatile random access memory is checked, and if the field replaceable unit information does not exist in the nonvolatile random access memory or the field replaceable unit information stored in the nonvolatile random access memory is inconsistent with the field replaceable unit information displayed in the operating system, the desktop management interface is immediately called to restore the field replaceable unit information so as to ensure that the field replaceable unit information is stored in the nonvolatile random access memory.
In addition, in order to ensure the writing authority of the field replaceable unit information and prevent the occurrence of a security event, the field replaceable unit information storage operation is executed in the operating system if the password verification is successful by setting the storage password verification, and if the password verification is unsuccessful, an alarm message is generated in the operating system to terminate the field replaceable unit information storage operation. Or the initial field replaceable unit information may be set to unalterable content.
It should be added that, in the server hardware structure designed according to the field replaceable unit information storage method provided by the application, the condition of the BMC module does not exist, so that the problem of BMC link conflict does not need to be considered.
In addition, in the hardware structure of the server, if EEPROM storage hardware exists and an I2C (Inter-Integrated Circuit, two-wire serial bus) connection link is arranged between the EEPROM storage hardware and the BIOS, the field replaceable unit information can be stored in the EEPROM storage hardware through the I2C link, so that double field replaceable unit information storage settings are formed, the safety and the restorability of the field replaceable unit information are avoided when a special fault occurs in one storage module, and the hardware design of the server is not required additionally while the safety guarantee of the server is optimized in the BMC-free design scheme.
According to the field replaceable unit information storage method disclosed by the embodiment of the application, the field replaceable unit information storage function of the EEPROM can be abandoned physically, the utilization rate of the storage space of the EEPROM is increased, meanwhile, interaction between the BMC and the EEPROM is not involved in the storage process, dependence on a BMC structure when the server stores the field replaceable unit information is eliminated, the field replaceable unit information is input by using the BIOS, and the field replaceable unit information is changed and managed conveniently.
Example two
Corresponding to the above embodiment, the present application provides a field replaceable unit information storage method, as shown in fig. 2, including:
2100. calling a desktop management interface preset by an operating system to acquire field replaceable unit information;
preferably, the method comprises:
2110. the nonvolatile random access memory is pre-provided with a memory interface;
the storage interface is used for positioning the nonvolatile random access memory for the field replaceable unit information storage.
Preferably, the method comprises:
2120. in the nonvolatile random access memory, the field replaceable unit information is set to an attribute that is not lost after the CMOS is cleared.
2200. According to a preset reservation rule, the field replaceable unit information is input into an SMBIOS information structure body in the operating system;
preferably, the entering the field replaceable unit information into the SMBIOS information structure in the operating system according to a preset reservation rule includes:
2210. judging whether the field replaceable unit information is changed or not, and terminating operation when the field replaceable unit information is not changed;
2211. and when the field replaceable unit information is changed, calling the SMBIOS change interface, and inputting the changed field replaceable unit information into an SMBIOS information structure body in the operating system.
Preferably, when the field replaceable unit information is changed, the SMBIOS change interface is called, and the changed field replaceable unit information is entered into an SMBIOS information structure in the operating system, including:
2220. when the field replaceable unit information is changed, calling the SMBIOS change interface, and changing the original field replaceable unit information according to a preset desktop management tool;
2221. calling a desktop management interface preset by the operating system to acquire the changed field replaceable unit information;
2222. and according to the preset reservation rule, the changed field replaceable unit information is input into an SMBIOS information structure body in the operating system.
Preferably, the entering the field replaceable unit information into the SMBIOS information structure in the operating system according to a preset reservation rule includes:
2230. setting the format of the field replaceable unit information according to the preset field replaceable unit information format;
2231. generating a field replaceable unit information structure body according to the field replaceable unit information after the format is set;
2232. the field replaceable unit information structure is entered into a reserved word portion in the SMBIOS information structure.
2300. The field replaceable unit information structure is obtained from the SMBIOS information structure and stored in a nonvolatile random access memory in BIOS flash.
Preferably, the method comprises:
2310. an operating system return interface obtains the field replaceable unit information from the nonvolatile random access memory and displays the field replaceable unit information in the operating system.
Preferably, the operating system return interface obtains the field replaceable unit information from the nonvolatile random access memory, and displays the field replaceable unit information in the operating system, including:
2320. when the field replaceable unit is changed, the operating system return interface acquires the changed field replaceable unit information from the nonvolatile random access memory;
2321. and restarting the operating system, and displaying the changed field replaceable unit information in the restarted operating system.
Preferably, the method comprises:
2330. after the server is powered off and started, checking the state of the field replaceable unit information in the nonvolatile random access memory to ensure that the field replaceable unit information is stored in the nonvolatile random access memory.
Example III
Corresponding to all the embodiments described above, the embodiments of the present application provide a computer readable storage medium having a computer program stored therein, which when executed by a processor, performs the steps of:
calling a desktop management interface preset by an operating system to acquire field replaceable unit information;
according to a preset reservation rule, the field replaceable unit information is input into an SMBIOS information structure body in the operating system;
the field replaceable unit information structure is obtained from the SMBIOS information structure and stored in a nonvolatile random access memory in BIOS flash.
In some embodiments, the entering the field replaceable unit information into the SMBIOS information structure in the operating system according to a preset retention rule includes:
judging whether the field replaceable unit information is changed or not, and terminating operation when the field replaceable unit information is not changed;
and when the field replaceable unit information is changed, calling the SMBIOS change interface, and inputting the changed field replaceable unit information into an SMBIOS information structure body in the operating system.
In some embodiments, when the field replaceable unit information is changed, the SMBIOS change interface is called, and the changed field replaceable unit information is entered into an SMBIOS information structure in the operating system, including:
when the field replaceable unit information is changed, calling the SMBIOS change interface, and changing the original field replaceable unit information according to a preset desktop management tool;
calling a desktop management interface preset by the operating system to acquire the changed field replaceable unit information;
and according to the preset reservation rule, the changed field replaceable unit information is input into an SMBIOS information structure body in the operating system.
In some embodiments, the entering the field replaceable unit information into the SMBIOS information structure in the operating system according to a preset retention rule includes:
setting the format of the field replaceable unit information according to the preset field replaceable unit information format;
generating a field replaceable unit information structure body according to the field replaceable unit information after the format is set;
the field replaceable unit information structure is entered into a reserved word portion in the SMBIOS information structure.
In some embodiments, the method comprises:
an operating system return interface obtains the field replaceable unit information from the nonvolatile random access memory and displays the field replaceable unit information in the operating system.
In some embodiments, the operating system return interface obtains the field replaceable unit information from the nonvolatile random access memory and displays the field replaceable unit information in the operating system, comprising:
when the field replaceable unit is changed, the operating system return interface acquires the changed field replaceable unit information from the nonvolatile random access memory;
and restarting the operating system, and displaying the changed field replaceable unit information in the restarted operating system.
In some embodiments, the method further comprises:
the nonvolatile random access memory is pre-provided with a memory interface;
the storage interface is used for positioning the nonvolatile random access memory for the field replaceable unit information storage.
In some embodiments, the method further comprises: in the nonvolatile random access memory, the field replaceable unit information is set to an attribute that is not lost after the CMOS is cleared.
In some embodiments, the method further comprises:
after the server is powered off and started, checking the state of the field replaceable unit information in the nonvolatile random access memory to ensure that the field replaceable unit information is stored in the nonvolatile random access memory.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory or other medium used in the various embodiments provided herein can include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (8)

1. A method of field replaceable unit information storage, the method comprising:
calling a desktop management interface preset by an operating system to acquire field replaceable unit information;
according to a preset reservation rule, the field replaceable unit information is input into an SMBIOS information structure body in the operating system; it comprises the following steps: setting the format of the field replaceable unit information according to the preset field replaceable unit information format; generating a field replaceable unit information structure body according to the field replaceable unit information after the format is set; entering the field replaceable unit information structure into a reserved word portion in the SMBIOS information structure;
and acquiring the field replaceable unit information structure body from the SMBIOS information structure body and storing the field replaceable unit information structure body in a nonvolatile random access memory in a BIOS flash memory, wherein the field replaceable unit information is set in the BIOS flash memory to be an unchanged attribute after the CMOS chip is cleared before the field replaceable unit information structure body is stored in the BIOS flash memory, and interaction between the BMC and the EEPROM is not involved in the storage process.
2. The method of claim 1, wherein said entering said field replaceable unit information into an SMBIOS information structure in said operating system according to preset retention rules comprises:
judging whether the field replaceable unit information is changed or not, and terminating operation when the field replaceable unit information is not changed;
and when the field replaceable unit information is changed, calling the SMBIOS change interface, and inputting the changed field replaceable unit information into an SMBIOS information structure body in the operating system.
3. The method according to claim 2, wherein said calling the SMBIOS change interface when the field replaceable unit information is changed, and entering the changed field replaceable unit information into an SMBIOS information structure in the operating system, comprises:
when the field replaceable unit information is changed, calling the SMBIOS change interface, and changing the original field replaceable unit information according to a preset desktop management tool;
calling a desktop management interface preset by the operating system to acquire the changed field replaceable unit information;
and according to the preset reservation rule, the changed field replaceable unit information is input into an SMBIOS information structure body in the operating system.
4. A method according to any one of claims 1-3, characterized in that the method comprises:
an operating system return interface obtains the field replaceable unit information from the nonvolatile random access memory and displays the field replaceable unit information in the operating system.
5. The method of claim 4, wherein the operating system return interface retrieving the field replaceable unit information from the nonvolatile random access memory and displaying the field replaceable unit information in the operating system comprises:
when the field replaceable unit is changed, the operating system return interface acquires the changed field replaceable unit information from the nonvolatile random access memory;
and restarting the operating system, and displaying the changed field replaceable unit information in the restarted operating system.
6. A method according to any one of claims 1-3, wherein the method further comprises:
the nonvolatile random access memory is pre-provided with a memory interface;
the storage interface is used for positioning the nonvolatile random access memory for the field replaceable unit information storage.
7. A method according to any one of claims 1-3, wherein the method further comprises:
after the server is powered off and started, checking the state of the field replaceable unit information in the nonvolatile random access memory to ensure that the field replaceable unit information is stored in the nonvolatile random access memory.
8. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program for implementing the method of any of claims 1-7 when being executed by a processor.
CN202111327700.8A 2021-11-10 2021-11-10 On-site replaceable unit information storage method and computer readable storage medium Active CN114138347B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111327700.8A CN114138347B (en) 2021-11-10 2021-11-10 On-site replaceable unit information storage method and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111327700.8A CN114138347B (en) 2021-11-10 2021-11-10 On-site replaceable unit information storage method and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN114138347A CN114138347A (en) 2022-03-04
CN114138347B true CN114138347B (en) 2024-03-12

Family

ID=80393394

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111327700.8A Active CN114138347B (en) 2021-11-10 2021-11-10 On-site replaceable unit information storage method and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114138347B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6122732A (en) * 1998-10-23 2000-09-19 Compaq Computer Corporation System management interrupt for a desktop management interface/system management basic input output system interface function
CN104317667A (en) * 2014-10-27 2015-01-28 浪潮电子信息产业股份有限公司 Method for synchronizing DMI (desktop management interface) and FRU (field replace unit)
CN107943698A (en) * 2017-11-23 2018-04-20 郑州云海信息技术有限公司 A kind of DMI information and FRU synchronizing informations automated testing method and system
CN109240725A (en) * 2018-09-14 2019-01-18 郑州云海信息技术有限公司 A kind of method and system for not being updated of DMI synchronizing information after updating BIOS
CN112101000A (en) * 2020-09-17 2020-12-18 浪潮电子信息产业股份有限公司 Information consistency test method, device, equipment and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6122732A (en) * 1998-10-23 2000-09-19 Compaq Computer Corporation System management interrupt for a desktop management interface/system management basic input output system interface function
CN104317667A (en) * 2014-10-27 2015-01-28 浪潮电子信息产业股份有限公司 Method for synchronizing DMI (desktop management interface) and FRU (field replace unit)
CN107943698A (en) * 2017-11-23 2018-04-20 郑州云海信息技术有限公司 A kind of DMI information and FRU synchronizing informations automated testing method and system
CN109240725A (en) * 2018-09-14 2019-01-18 郑州云海信息技术有限公司 A kind of method and system for not being updated of DMI synchronizing information after updating BIOS
CN112101000A (en) * 2020-09-17 2020-12-18 浪潮电子信息产业股份有限公司 Information consistency test method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN114138347A (en) 2022-03-04

Similar Documents

Publication Publication Date Title
CN108170495B (en) BIOS upgrading method, system, equipment and computer readable storage medium
JPWO2013103023A1 (en) Information processing apparatus, information processing method, and computer program
TW201224739A (en) System reset
CN110851154B (en) Computer-implemented method, system, and medium for updating read-only memory code
CN113064643B (en) Method, system and medium for instantly-effective modification of BIOS set value
CN111858584A (en) Metadata management method, system and storage medium
CN110209525B (en) Operating system restoration method and device
US7418542B2 (en) Rewritable, nonvolatile memory, electronic device, method of rewriting rewritable, nonvolatile memory, and storage medium having stored thereon rewrite program
CN111651239A (en) Virtual machine cloning method, device, equipment and medium
TW201716999A (en) Method for startup inspection and computer system using the same
WO2020211233A1 (en) Method and device for batch data editing, computer device, and storage medium
CN111176897A (en) Closed BIOS self-repairing method, system, terminal and storage medium
CN114138347B (en) On-site replaceable unit information storage method and computer readable storage medium
CN114020340A (en) Server system and data processing method thereof
US11403113B2 (en) Server with system setting data synchronization function
CN110442400B (en) Browser control method and device
US20080201572A1 (en) Method and system for uniformizing product data embedded in a computer platform
CN113595762B (en) Network card configuration storage method and device
CN114153503A (en) BIOS control method, device and medium
CN108509252B (en) Virtual machine starting device and method and host
CN110908725A (en) Application program starting method and device, electronic equipment and readable medium
CN113448639B (en) Access method, device, equipment and storage medium for user configuration variable area
CN102479131A (en) Test method
CN109996262B (en) AC starting method and device
CN113626088A (en) DC-SCM board control method, system and device supporting mixed board insertion

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