CN114138347A - 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
CN114138347A
CN114138347A CN202111327700.8A CN202111327700A CN114138347A CN 114138347 A CN114138347 A CN 114138347A CN 202111327700 A CN202111327700 A CN 202111327700A CN 114138347 A CN114138347 A CN 114138347A
Authority
CN
China
Prior art keywords
replaceable unit
field replaceable
unit information
operating system
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111327700.8A
Other languages
Chinese (zh)
Other versions
CN114138347B (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

Images

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: calling a desktop management interface preset by an operating system to acquire field replaceable unit information; according to a preset retention rule, recording field replaceable unit information 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 non-volatile random access memory in the BIOS flash memory. The field replaceable unit information storage function of the EEPROM can be physically abandoned, the utilization rate of EEPROM storage space is increased, interaction between the BMC and the EEPROM is not involved in the storage process, the dependence on the BMC structure when the field replaceable unit information is stored by the server is eliminated, the field replaceable unit information is input by the BIOS, 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 invention relates to the field of server design, in particular to a field replaceable unit information storage method and a computer readable storage medium.
Background
In server design, Field replaceable Unit information (FRU information) generally includes information such as manufacturer, product model, product serial number, asset serial number, and the like, and provides asset information management for server manufacturers and customers;
in the prior art, field replaceable unit information is generally stored in an EEPROM (Electrically Erasable Programmable Read Only Memory), and the field replaceable unit information is changed and set by an erasing authority of a server BMC (Baseboard Management Controller) to the EEPROM, but the EEPROM can Only be initialized and utilized as a general storage space having a dedicated writing component, and the structure and circuit design of a server motherboard and the utilization of the storage space of the EEPROM have a large waste rate; meanwhile, the burning and storing of the field replaceable unit information in the EEPROM excessively depends on the existence and stability of the BMC structure, 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 extremely complicated and difficult.
Therefore, a field replaceable unit information storage method that can improve the storage space utilization rate and is independent of the BMC structure is needed to solve the above technical problems in the prior art.
Disclosure of Invention
To solve the above-mentioned problems, it is a primary object of the present invention to provide a field replaceable unit information storage method and a computer storage medium.
In order to achieve the above object, the present invention provides in a first aspect a field replaceable unit information storage method, the method comprising:
calling a desktop management interface preset by an operating system to acquire field replaceable unit information;
according to a preset retention rule, the field replaceable unit information is recorded into an SMBIOS information structure body in the operating system;
and acquiring the field replaceable unit information structural body from the SMBIOS information structural body and storing the field replaceable unit information structural body in a nonvolatile random access memory in a BIOS flash memory.
In some embodiments, the entering the field replaceable unit information into the SMBIOS information structure in the operating system according to the preset retention rule includes:
judging whether the field replaceable unit information is changed or not, and stopping 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 recording the changed field replaceable unit information into an SMBIOS information structure body in the operating system.
In some embodiments, the invoking the SMBIOS change interface when the field replaceable unit information is changed, entering the changed field replaceable unit information into an SMBIOS information structure in the operating system, includes:
when the field replaceable unit information is changed, the SMBIOS changing interface is called, and the original field replaceable unit information is changed 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 retention rule, recording the changed field replaceable unit information 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 the preset retention rule includes:
setting a format of the field replaceable unit information according to a preset field replaceable unit information format;
generating a field replaceable unit information structure according to the field replaceable unit information with the set format;
and recording the field replaceable unit information structure body into a reserved character part in the SMBIOS information structure body.
In some embodiments, the method comprises:
an operating system return interface obtains the field replaceable unit information from the non-volatile random access memory and displays the field replaceable unit information in the operating system.
In some embodiments, the operating system return interface obtaining the field replaceable unit information from the non-volatile random access memory and displaying the field replaceable unit information in the operating system includes:
when the field replaceable unit is changed, the operating system return interface obtains the changed field replaceable unit information from the non-volatile random access memory;
the operating system is restarted and the changed field replaceable unit information is displayed in the restarted operating system.
In some embodiments, the method further comprises:
the nonvolatile random access memory is preset with a memory interface;
the storage interface is used to locate the non-volatile random access memory for storage of the field replaceable unit information.
In some embodiments, the method further comprises: in the non-volatile 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:
and 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 stored therein a computer program for implementing a field replaceable unit information storage method when executed by a processor.
The beneficial effect that this application realized does:
the application provides a method for storing field replaceable unit information, which comprises the steps of calling a desktop management interface preset by an operating system to acquire the field replaceable unit information; according to a preset retention rule, the field replaceable unit information is recorded into an SMBIOS information structure body in the operating system; and acquiring the field replaceable unit information structural body from the SMBIOS information structural body and storing the field replaceable unit information structural body in a nonvolatile random access memory in a BIOS flash memory. By using a Non-Volatile Random Access Memory (Nvram) to store the field replaceable unit information, the field replaceable unit information storage function of the EEPROM can be physically abandoned, the utilization rate of the EEPROM storage space is increased, meanwhile, the interaction between the BMC and the EEPROM is not involved in the field replaceable unit information storage process, the dependence on the BMC structure when the server stores the field replaceable unit information is eliminated, and the field replaceable unit information is entered by using a BIOS (Basic Input Output System) itself, so that the field replaceable unit information is conveniently changed and managed.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without inventive efforts, 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
In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As described in the background, in the prior art, field replaceable unit information is generally burned and stored in an EEPROM, and the existence and stability of a BMC structure are excessively depended on. In the structural design of the server without the BMC, 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.
In order to solve the technical problem, the application provides a method for storing field replaceable unit information, which comprises the steps of calling a desktop management interface preset by an operating system to acquire the field replaceable unit information; according to a preset retention rule, recording field replaceable unit information into an SMBIOS information structure body in an operating system; acquiring a field replaceable unit information structural body from the SMBIOS information structural body and storing the field replaceable unit information structural body in a nonvolatile random access memory in a BIOS flash memory; the field replaceable unit information storage function of the EEPROM is physically abandoned, the utilization rate of the EEPROM storage space is increased, interaction between the BMC and the EEPROM is not involved in the storage process, the dependence on the BMC structure when the field replaceable unit information is stored by the server is eliminated, the field replaceable unit information is input by the BIOS, and the field replaceable unit information is convenient to change and manage.
Example one
Specifically, as shown in fig. 1, the process of storing the field replaceable unit information by applying the method for storing the field replaceable unit information disclosed in this embodiment includes:
s100, acquiring field replaceable information of all equipment on a server;
a desktop management (Dmidcode) interface can be arranged in an operating system to realize the viewing and acquisition of field replaceable information of all devices; meanwhile, a desktop management tool is arranged in the operating system to realize the change of the field replaceable unit information under the operating system; the desktop management tool may be a DmiEdit (Dmi editing) tool or another tool that can modify the type information corresponding to the SMBIOS under the operating systems such as Linux, Windows, and Shell, which is not limited herein.
The software Dmidecode can acquire information about hardware under systems such as Linux. Dmidrecode follows the SMBIOS/DMI standard and outputs information including BIOS, system, motherboard, processor, memory, cache, etc. The DMI (Desktop Management Interface) is a Management system that helps collect information of a computer system, and the collection of DMI information must be performed under the premise of strictly complying 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. Each computer produced by a mainboard manufacturer or an OEM manufacturer writes information into the BIOS according to the SMBIOS standard when the computer leaves a factory. Such information includes BIOS information, system information, processor information, device information, and the like. SMBIOS and DMI are open technical standards drafted by the industry guide agency Desktop Management Task Force (DMTF), where DMI designs are applicable to any platform and operating system. The DMI plays the role of the interface between the management tool and the system layer. It establishes standard manageable system, and is more convenient for computer manufacturers and users to know the system. The main component of DMI is the Management Information Format (MIF) database. This database contains all information about the computer system and accessories. Through DMI, a user can obtain serial numbers, computer manufacturers, serial port information and other system accessory information.
S200, recording field replaceable unit information into an SMBIOS information structure body;
s210, judging whether the information of the field replaceable unit is changed or not, and stopping operation when the information of the field replaceable unit is not changed;
checking the existing field replaceable unit information in the BIOS by using the 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 existing field replaceable unit information in the BIOS, stopping the change operation without changing the field replaceable unit information in the BIOS;
s211, when the field replaceable unit information is changed, calling the SMBIOS changing interface, and recording the changed field replaceable unit information into an SMBIOS information structure body in the operating system;
if the field replaceable unit information needing to be input is different from the original field replaceable unit information of the BIOS, changing the original field replaceable unit information of the BIOS by using a desktop management tool preset in an operating system, and inputting the changed field replaceable unit information into an SMBIOS information structure body by using a preset retention rule;
wherein, the retention rule specifically means: because the correct field replaceable unit information format and field definition are particularly important for asset management and back-end operation and maintenance of a 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 according to the field replaceable unit information with the set format; and recording the field replaceable unit information structure body into a reserved word part in the SMBIOS information structure body.
And S300, acquiring the field replaceable unit information structural body from the SMBIOS information structural body and storing the field replaceable unit information structural body in a nonvolatile random access memory in a BIOS flash memory.
The nonvolatile random access memory is a part of rated storage space in the BIOS, has the same characteristic as the EEPROM, can be used for storing field replaceable unit information, and has larger redundancy in the utilization rate of the storage space in the nonvolatile random access memory;
wherein, a storage interface can be arranged in the nonvolatile random access memory for positioning the nonvolatile random access memory in the BIOS so as to store the information of the field replaceable unit; under normal conditions, the data stored in the nonvolatile random access memory has a characteristic of failure deletion after the operation of clearing a Complementary Metal Oxide Semiconductor (CMOS) chip is executed, so that the present application sets the field replaceable unit information in the BIOS as an attribute that is not changed after the CMOS chip is cleared. In the field of computers, CMOS often refers to a chip that stores basic startup information (such as 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.
Wherein, when the field replaceable unit is modified, the operating system return interface obtains the modified field replaceable unit information from the non-volatile random access memory; the operating system is restarted and the changed field replaceable unit information is displayed 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, 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 called immediately, and the field replaceable unit information is stored again, so that the field replaceable unit information is stored in the nonvolatile random access memory.
In addition, in order to ensure the write-in authority of the field replaceable unit information and prevent the occurrence of safety events, the field replaceable unit information storage operation can be executed in the operating system by setting storage password verification, if the password verification is successful, the field replaceable unit information storage operation is executed, 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 may set the initial field replaceable unit information to unalterable content.
It is to be added that the BMC module does not exist in the server hardware structure designed according to the field replaceable unit information storage method provided by the present application, so that the problem of BMC link collision does not need to be considered.
In addition, in the hardware structure of the server, if the EEPROM storage hardware exists and an I2C (Inter-Integrated Circuit, two-wire serial bus) connection link is provided between the EEPROM storage hardware and the BIOS, the field replaceable unit information may also be stored in the EEPROM storage hardware through the I2C link to form a dual field replaceable unit information storage setting, so as to avoid that when a special fault occurs in one storage module, the safety and recoverability of the field replaceable unit information are ensured, and it is realized that in a BMC-free design scheme, the security of the server is optimized while no additional requirements are made on the hardware design of the server.
The field replaceable unit information storage method disclosed by the embodiment of the application can physically abandon the field replaceable unit information storage function of the EEPROM, increase the utilization rate of EEPROM storage space, simultaneously does not relate to interaction between the BMC and the EEPROM in the storage process, gets rid of the dependence on a BMC structure when the server stores the field replaceable unit information, and inputs the field replaceable unit information by using the BIOS, so that the field replaceable unit information is convenient to change and manage.
Example two
In correspondence with the above-described embodiments, the present application provides a field replaceable unit information storage method, as shown in fig. 2, the method 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 preset with a memory interface;
the storage interface is used to locate the non-volatile random access memory for storage of the field replaceable unit information.
Preferably, the method comprises:
2120. in the non-volatile 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 retention rule, the field replaceable unit information is recorded into an SMBIOS information structure body in the operating system;
preferably, the recording of the field replaceable unit information into the SMBIOS information structure in the operating system according to a preset retention rule includes:
2210. judging whether the field replaceable unit information is changed or not, and stopping 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 recording 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, the SMBIOS changing interface is called, and the original field replaceable unit information is changed 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 retention rule, recording the changed field replaceable unit information into an SMBIOS information structure body in the operating system.
Preferably, the recording the field replaceable unit information into the SMBIOS information structure in the operating system according to the preset retention rule includes:
2230. setting a format of the field replaceable unit information according to a preset field replaceable unit information format;
2231. generating a field replaceable unit information structure according to the field replaceable unit information with the set format;
2232. and recording the field replaceable unit information structure body into a reserved character part in the SMBIOS information structure body.
2300. And acquiring the field replaceable unit information structural body from the SMBIOS information structural body and storing the field replaceable unit information structural body in a nonvolatile random access memory in a BIOS flash memory.
Preferably, the method comprises:
2310. an operating system return interface obtains the field replaceable unit information from the non-volatile random access memory and displays the field replaceable unit information in the operating system.
Preferably, the operating system return interface obtaining the field replaceable unit information from the non-volatile random access memory and displaying the field replaceable unit information in the operating system includes:
2320. when the field replaceable unit is changed, the operating system return interface obtains the changed field replaceable unit information from the non-volatile random access memory;
2321. the operating system is restarted and the changed field replaceable unit information is displayed in the restarted operating system.
Preferably, the method comprises:
2330. and 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
In correspondence with all the above embodiments, the present application provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps:
calling a desktop management interface preset by an operating system to acquire field replaceable unit information;
according to a preset retention rule, the field replaceable unit information is recorded into an SMBIOS information structure body in the operating system;
and acquiring the field replaceable unit information structural body from the SMBIOS information structural body and storing the field replaceable unit information structural body in a nonvolatile random access memory in a BIOS flash memory.
In some embodiments, the entering the field replaceable unit information into the SMBIOS information structure in the operating system according to the preset retention rule includes:
judging whether the field replaceable unit information is changed or not, and stopping 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 recording the changed field replaceable unit information into an SMBIOS information structure body in the operating system.
In some embodiments, the invoking the SMBIOS change interface when the field replaceable unit information is changed, entering the changed field replaceable unit information into an SMBIOS information structure in the operating system, includes:
when the field replaceable unit information is changed, the SMBIOS changing interface is called, and the original field replaceable unit information is changed 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 retention rule, recording the changed field replaceable unit information 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 the preset retention rule includes:
setting a format of the field replaceable unit information according to a preset field replaceable unit information format;
generating a field replaceable unit information structure according to the field replaceable unit information with the set format;
and recording the field replaceable unit information structure body into a reserved character part in the SMBIOS information structure body.
In some embodiments, the method comprises:
an operating system return interface obtains the field replaceable unit information from the non-volatile random access memory and displays the field replaceable unit information in the operating system.
In some embodiments, the operating system return interface obtaining the field replaceable unit information from the non-volatile random access memory and displaying the field replaceable unit information in the operating system includes:
when the field replaceable unit is changed, the operating system return interface obtains the changed field replaceable unit information from the non-volatile random access memory;
the operating system is restarted and the changed field replaceable unit information is displayed in the restarted operating system.
In some embodiments, the method further comprises:
the nonvolatile random access memory is preset with a memory interface;
the storage interface is used to locate the non-volatile random access memory for storage of the field replaceable unit information.
In some embodiments, the method further comprises: in the non-volatile 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:
and 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.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory or other media used in the embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile 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), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
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. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments 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 changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A field replaceable unit information storage method, the method comprising:
calling a desktop management interface preset by an operating system to acquire field replaceable unit information;
according to a preset retention rule, the field replaceable unit information is recorded into an SMBIOS information structure body in the operating system;
and acquiring the field replaceable unit information structural body from the SMBIOS information structural body and storing the field replaceable unit information structural body in a nonvolatile random access memory in a BIOS flash memory.
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 stopping 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 recording the changed field replaceable unit information into an SMBIOS information structure body in the operating system.
3. The method of claim 2, wherein said invoking said SMBIOS change interface when said field replaceable unit information is changed, entering said changed field replaceable unit information into an SMBIOS information structure in said operating system, comprises:
when the field replaceable unit information is changed, the SMBIOS changing interface is called, and the original field replaceable unit information is changed 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 retention rule, recording the changed field replaceable unit information into an SMBIOS information structure body in the operating system.
4. The method of claim 1, said entering the field replaceable unit information into an SMBIOS information structure in the operating system according to preset retention rules, comprising:
setting a format of the field replaceable unit information according to a preset field replaceable unit information format;
generating a field replaceable unit information structure according to the field replaceable unit information with the set format;
and recording the field replaceable unit information structure body into a reserved character part in the SMBIOS information structure body.
5. The method according to any one of claims 1 to 4, characterized in that the method comprises:
an operating system return interface obtains the field replaceable unit information from the non-volatile random access memory and displays the field replaceable unit information in the operating system.
6. The method of claim 5, wherein the operating system return interface obtaining the field replaceable unit information from the non-volatile 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 obtains the changed field replaceable unit information from the non-volatile random access memory;
the operating system is restarted and the changed field replaceable unit information is displayed in the restarted operating system.
7. The method according to any one of claims 1-4, further comprising:
the nonvolatile random access memory is preset with a memory interface;
the storage interface is used to locate the non-volatile random access memory for storage of the field replaceable unit information.
8. The method according to any one of claims 1-4, further comprising:
in the non-volatile random access memory, the field replaceable unit information is set to an attribute that is not lost after the CMOS is cleared.
9. The method according to any one of claims 1-4, further comprising:
and 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.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, is adapted to carry out the method of any one of claims 1 to 9.
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 true CN114138347A (en) 2022-03-04
CN114138347B 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
CN114138347B (en) 2024-03-12

Similar Documents

Publication Publication Date Title
WO2019140828A1 (en) Electronic apparatus, method for querying logs in distributed system, and storage medium
US11544223B2 (en) Write operation verification method and apparatus
CN110659256B (en) Multi-computer room synchronization method, computing device and computer storage medium
CN111858584A (en) Metadata management method, system and storage medium
CN111654453A (en) Form data offline caching method and device, terminal and storage medium
CN112256492A (en) Block device backup method, device and storage medium
WO2020211233A1 (en) Method and device for batch data editing, computer device, and storage medium
CN113064643A (en) Method, system and medium for instantly-effective modification of BIOS set value
CN111651239A (en) Virtual machine cloning method, device, equipment and medium
CN116340053A (en) Log processing method, device, computer equipment and medium for system crash
WO2019169771A1 (en) Electronic device, access instruction information acquisition method and storage medium
CN108304222A (en) Apparatus management/control system and method
CN110442400B (en) Browser control method and device
CN113792274A (en) Information management method, management system and storage medium
CN108228611B (en) Document information copying method and device
CN110472215B (en) Bid file generation method, device, equipment and medium
CN114138347A (en) On-site replaceable unit information storage method and computer-readable storage medium
CN115408203A (en) Hardware configuration detection method, device and medium
CN113704177B (en) Storage method, system and related components of server firmware upgrade file
CN113595762B (en) Network card configuration storage method and device
CN115793924A (en) Method, device and equipment for maintaining bank front-end dynamic menu
CN108509252B (en) Virtual machine starting device and method and host
JP3008856B2 (en) How to approve connection at docking station
CN110908725B (en) Application program starting method and device, electronic equipment and readable medium
CN111079192B (en) Webpage content self-protection method and server

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