CN117075936A - Board card FRU back brushing method, system, terminal and storage medium - Google Patents

Board card FRU back brushing method, system, terminal and storage medium Download PDF

Info

Publication number
CN117075936A
CN117075936A CN202310942714.3A CN202310942714A CN117075936A CN 117075936 A CN117075936 A CN 117075936A CN 202310942714 A CN202310942714 A CN 202310942714A CN 117075936 A CN117075936 A CN 117075936A
Authority
CN
China
Prior art keywords
fru
board
identity
product name
standard
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
CN202310942714.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.)
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 CN202310942714.3A priority Critical patent/CN117075936A/en
Publication of CN117075936A publication Critical patent/CN117075936A/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention relates to the technical field of servers, and particularly provides a method, a system, a terminal and a storage medium for card FRU back brushing, wherein the method comprises the following steps: acquiring the display state of product name information of an on-site board FRU in a BMC; if the display state is unable to be displayed, writing a prestored standard file into the FRU of the board through IPMI, wherein the standard file comprises standard product name information required to be burnt by the FRU of the board. According to the invention, the FRU of the information of the unfired product name is automatically positioned, and the automatic back-flushing of the information of the product name of the FRU is realized by utilizing the IPMI command, so that an operator is not required to manually burn the information, and the information back-flushing efficiency is improved.

Description

Board card FRU back brushing method, system, terminal and storage medium
Technical Field
The invention relates to the technical field of servers, in particular to a method, a system, a terminal and a storage medium for card FRU back brushing.
Background
In the server field, the PN (product Name) of the board card is entered through the FRU (Field Replaceable Unit ). When the server gives a fault alarm, the user can repair or replace the corresponding components on site according to PN.
The BMC (Baseboard ManagementController, substrate controller) is a control unit of the server with independent power supply and independent I/O interface, and can monitor and position components, sensors, boards and the like of the server. The FRU ID of the board card is that the BMC sets the ID of the type of the component according to the maximum support number of the platform item, the ID of the main board is defaulted to 0, the ID of the back board is defaulted to 9-12, the ID of the power supply is 30-34, and the ID of the riser is 40-43. The mainboard I2C interface corresponds to the I2C of the board card, performs in-place identification, and can normally display FRU information corresponding to the board card.
The FRU information of the board card is burned on line when the board is printed by a board printing factory, after normal burning, the BMC can normally identify the FRU information of the display board card through the I2C in-place information, and can smoothly carry out contrast test to the factory, but due to various reasons, the FRU of the board card is not burned by the board printing factory when the board is printed, the factory production is tested, abnormality occurs, and the test cannot be continuously executed. If thousands of machines occur, one person is required to refresh the FRU, resulting in a great deal of waste of manpower and material resources.
Disclosure of Invention
Aiming at the problems that the process of brushing product name information of a board FRU is too tedious, time-consuming and labor-consuming in the prior art, the invention provides a board FRU brushing method, a system, a terminal and a storage medium, so as to solve the technical problems.
In a first aspect, the present invention provides a card FRU brushing method, including:
acquiring the display state of product name information of an on-site board FRU in a BMC;
if the display state is unable to be displayed, writing a prestored standard file into the FRU of the board through IPMI, wherein the standard file comprises standard product name information required to be burnt by the FRU of the board.
In an optional implementation manner, acquiring the display state of the product name information of the on-site board card FRU in the BMC includes:
identifying the in-place state of the board FRU;
acquiring an identity ID of an on-site board FRU;
and calling the product name information corresponding to the identity ID, and recording a calling result.
In an alternative embodiment, identifying the in-place status of the board card includes:
based on a board card where the FRU is located, an identity ID is allocated to the FRU in advance;
identifying the in-place state of the FRU through an I2C link, and storing the identification ID of the identified FRU into an identification list;
consistency comparison is carried out on the identification list and a pre-stored standard list, wherein the standard list stores the identity IDs of all FRUs;
outputting the difference identity ID of the identification list and the standard list as an unidentified FRU;
the identity IDs in the identification list are output as identified FRUs.
In an alternative embodiment, after outputting the differential identity ID of the identification list and the standard list as an unrecognized FRU, the method further comprises:
accessing a corresponding board card through an I2C link corresponding to an unidentified FRU to acquire the communication state of the I2C link;
if the I2C communication state is a communication state, generating log abnormal error reporting information for the unidentified FRU;
and if the I2C communication state is in a disconnection state, ending the judging operation.
In an alternative embodiment, the step of retrieving the product name information corresponding to the ID and recording the retrieval result includes:
extracting cache data from a preset cache address of the display data in the BMC;
inquiring the identity ID from the cache data by utilizing a keyword inquiring technology, and extracting display data containing the identity ID;
if the display data is successfully extracted, judging that FRU corresponding to the identity ID is normal;
if the extraction of the display data fails, determining that the FRU corresponding to the identity ID is an abnormal FRU, wherein the product name information of the abnormal FRU cannot be displayed in the display state of the BMC.
In an alternative embodiment, if the display status is unable to be displayed, writing the pre-stored standard file into the board FRU through IPMI includes:
based on the type and model of the board card to which the FRU belongs, standard product name information required by a product information burning process is called from an MES system, and the standard product name information is packaged into a standard file, wherein the file format of the standard file is adapted to the FRU;
establishing a mapping between an identity ID of the FRU and a standard file, and storing the mapping as a structural body;
the method comprises the steps of calling a mapping corresponding to an identity ID of a target FRU from a structural body, and extracting a standard file from the mapping, wherein the target FRU is an FRU which can not be displayed in a BMC (baseboard management controller) according to stored product name information;
and writing the standard file into the target FRU.
In an alternative embodiment, writing the standard file to the target FRU includes:
presetting a brushing script, wherein an IPMI data writing instruction is configured in the brushing script, and FRU with a display state incapable of being displayed is used as a condition for triggering the IPMI data writing instruction;
the address of a target FRU is called from a pre-stored FRU address list, and the address of the target FRU is configured as the target address of the IPMI data writing instruction;
configuring a standard file of the target FRU as the data content of the IPMI data writing instruction;
and inputting the identity ID of the target FRU as a trigger variable into the refreshing script to trigger the refreshing script to write the standard file into the target FRU.
In a second aspect, the present invention provides a card FRU swipe system, comprising:
the state acquisition module is used for acquiring the display state of the product name information of the on-site board FRU in the BMC;
and the information back brushing module is used for writing a prestored standard file into the FRU of the board card through the IPMI if the display state is incapable of being displayed, wherein the standard file comprises standard product name information required to be burnt by the FRU of the board card.
In an alternative embodiment, the status acquisition module includes:
the state identification unit is used for identifying the in-place state of the board FRU;
the identity acquisition unit is used for acquiring the identity ID of the on-site board FRU;
and the information calling unit is used for calling the product name information corresponding to the identity ID and recording the calling result.
In an alternative embodiment, the state recognition unit comprises:
the ID allocation subunit is used for allocating an identity ID for the FRU in advance based on the board card where the FRU is located;
an ID storing subunit, configured to identify an in-place status of the FRU through the I2C link, and store an ID of the identified FRU to an identification list;
the list comparison subunit is used for carrying out consistency comparison on the identification list and a pre-stored standard list, wherein the standard list stores the identity IDs of all FRUs;
a first output subunit, configured to output, as an unrecognized FRU, a difference identity ID of the identification list and the standard list;
and a second output subunit for outputting the identity IDs in the identification list as identified FRUs.
In an alternative embodiment, the system further comprises:
the link state acquisition module is used for accessing the corresponding board card through the I2C link corresponding to the unidentified FRU so as to acquire the communication state of the I2C link;
the log error reporting module is used for generating log abnormal error reporting information for the unidentified FRU if the I2C communication state is a communication state;
and the abnormality neglecting module is used for ending the judging operation if the I2C communication state is in a disconnection state.
In an alternative embodiment, the information retrieval unit comprises:
a cache extraction subunit, configured to extract cache data from a preset cache address of the display data in the BMC;
a keyword query subunit, configured to query the identity ID from the cached data by using a keyword query technique, and extract display data that includes the identity ID;
a normal judging subunit, configured to judge that the FRU corresponding to the identity ID is normal if the display data is successfully extracted;
and the abnormality judging subunit is used for judging that the FRU corresponding to the identity ID is an abnormal FRU if the display data extraction fails, and the product name information of the abnormal FRU cannot be displayed in the display state of the BMC.
In an alternative embodiment, the information back-flushing module includes:
the file packaging unit is used for calling standard product name information required by a product information burning process from an MES system based on the type and the model of the board card to which the FRU belongs, and packaging the standard product name information into a standard file, wherein the file format of the standard file is matched with the FRU;
the mapping storage unit is used for establishing the mapping between the identity ID of the FRU and the standard file and storing the mapping as a structural body;
the file extraction unit is used for extracting a mapping corresponding to the identity ID of a target FRU from the structural body and extracting a standard file from the mapping, wherein the target FRU is an FRU which can not be displayed in the BMC by the stored product name information;
and the file writing unit is used for writing the standard file into the target FRU.
In an alternative embodiment, the file writing unit includes:
a script setting subunit, configured to preset a brushing script, where an IPMI write data instruction is configured in the brushing script, and an FRU with a display state that cannot be displayed is used as a condition for triggering the IPMI write data instruction;
a first configuration subunit, configured to call an address of a target FRU from a pre-stored FRU address list, and configure the address of the target FRU as a target address of the IPMI write data instruction;
a second configuration subunit, configured to configure the standard file of the target FRU as the data content of the IPMI write data instruction;
and the script triggering subunit is used for inputting the identity ID of the target FRU as a triggering variable into the refreshing script so as to trigger the refreshing script to write the standard file into the target FRU.
In a third aspect, a terminal is provided, including:
a processor, a memory, wherein,
the memory is used for storing a computer program,
the processor is configured to call and run the computer program from the memory, so that the terminal performs the method of the terminal as described above.
In a fourth aspect, there is provided a computer storage medium having instructions stored therein which, when run on a computer, cause the computer to perform the method of the above aspects.
The method, the system, the terminal and the storage medium for swiping the FRU of the board card have the beneficial effects that the display state of the product name information of the FRU of the board card in the BMC is obtained; and writing a pre-stored standard file into the FRU of the board card through the IPMI for the FRU with the display state incapable of being displayed, wherein the standard file comprises standard product name information required to be burnt by the FRU of the board card. According to the invention, the FRU of the information of the unfired product name is automatically positioned, and the automatic back-flushing of the information of the product name of the FRU is realized by utilizing the IPMI command, so that an operator is not required to manually burn the information, and the information back-flushing efficiency is improved.
When the display state of the FRU is obtained, the present invention firstly identifies the in-place state of the FRU of the board card, then invokes the present display data from the cache of the BMC, and matches the display data with the FRU in the in-place state, thereby obtaining the display state.
According to the invention, the automatic brushing script is configured, the IPMI data writing instruction is packaged, the variable parameter is set, the obtained actual parameter is input into the corresponding position of the variable parameter, and the triggering condition is set, so that the automatic brushing of the FRU information is realized.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic flow chart of a method of one embodiment of the invention.
Fig. 2 is another schematic flow chart of a method of one embodiment of the invention.
FIG. 3 is a schematic block diagram of a system of one embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the technical solution of the present invention better understood by those skilled in the art, the technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
The following explains key terms appearing in the present invention.
BMC, execution server remote management controller, english name Baseboard Management controller. The method can perform firmware upgrade, check machine equipment and other operations on the machine in a state that the machine is not started. Fully implementing IPMI functionality in a BMC requires a powerful 16-bit or 32-bit microcontroller and RAM for data storage, flash memory for non-volatile data storage, and firmware to provide basic remote manageability in terms of secure remote reboot, secure re-power-up, LAN alerting, and system health monitoring. In addition to the basic IPMI and system operation monitoring functions, the mBMC can also enable BIOS flash element selection and protection by storing the previous BIOS using one of the 2 flash memories. For example, when the system fails to boot after a remote BIOS upgrade, the remote administrator may switch back to the previously-working BIOS image to boot the system. Once BIOS is upgraded, the BIOS image can be locked, so as to effectively prevent virus from invading it.
The I2C bus is a simple, bi-directional two-wire synchronous serial bus developed by Philips corporation. It requires only two wires to transfer information between devices connected to the bus. The master device is used to initiate the bus transfer of data and generate a clock to open the transfer device, where any addressed device is considered a slave device. If the host computer is to send data to the slave device, the host computer firstly addresses the slave device, then actively sends the data to the slave device, and finally the host computer terminates the data transmission; if the host is to receive data from the slave, the slave is addressed by the master first, then the host receives data sent by the slave, and finally the host terminates the receiving process. In this case, the host is responsible for generating the timing clock and terminating the data transfer.
A CPU central processing unit (central processing unit, abbreviated as CPU) is used as an operation and control core of the computer system, and is a final execution module for information processing and program running.
IPMI (Intelligent platform management interface), abbreviation for Intelligent Platform Management Interface. An industry standard is adopted for peripheral devices of an enterprise system of an Intel architecture. IPMI is also an open free standard that users can use without paying additional fees. IPMI can span different operating systems, firmware and hardware platforms, and can intelligently monitor, control and automatically report back the operation status of a large number of servers so as to reduce the cost of the server system. The core of IPMI is a dedicated chip/controller (called a server processor or Baseboard Management Controller (BMC)) that does not rely on the server's processor, BIOS or operating system to operate, but rather is a proxy-free management subsystem that operates solely within the system, so long as there is both BMC and IPMI firmware that can start to operate, and BMC is typically a separate board card that is installed on the server motherboard, as well as the server motherboard that provides support for IPMI. The good autonomy of IPMI overcomes the limitations of the conventional os-based management methods, such as the operation system still being able to perform operations such as power on/off, information extraction, etc. without responding or loading. In operation, all IPMI functions are completed by sending commands to the BMC, which uses instructions specified in the IPMI specification, and the BMC receives and records event messages in the system event log, maintaining a record of sensor data describing the sensor conditions in the system. The Serial Over LAN (SOL) feature of IPMI new is useful when remote access to the system is required. The SOL changes the local serial port transport direction during the IPMI session to provide remote access to emergency management services, wi-windows specific management consoles, or L inux serial consoles. The BMC does this by redirecting information sent to the serial port over the LAN, providing a vendor independent, standard way to remotely view the boot, operating system loader, or emergency management console to diagnose and repair failures.
The card FRU back flushing method provided by the embodiment of the invention is executed by the computer equipment, and correspondingly, the card FRU back flushing system runs in the computer equipment.
FIG. 1 is a schematic flow chart of a method of one embodiment of the invention. The execution body in fig. 1 may be a board FRU brushing system. The order of the steps in the flow chart may be changed and some may be omitted according to different needs.
As shown in fig. 1, the method includes:
step 110, obtaining the display state of the product name information of the on-site board FRU in the BMC;
and 120, if the display state is unable to be displayed, writing a pre-stored standard file into the board FRU through the IPMI, wherein the standard file comprises standard product name information required to be burnt by the FRU of the board.
In order to facilitate understanding of the present invention, the following describes the method for brushing the board card FRU according to the principles of the method for brushing the board card FRU according to the present invention, in combination with the process of information brushing the FRU in the embodiment.
Specifically, referring to fig. 2, the board card FRU brushing method includes:
s1, acquiring the display state of the product name information of the on-site board FRU in the BMC.
S101, identifying the in-place state of the board FRU.
Based on a board card where the FRU is located, an identity ID is allocated to the FRU in advance; identifying the in-place state of the FRU through an I2C link, and storing the identification ID of the identified FRU into an identification list; consistency comparison is carried out on the identification list and a pre-stored standard list, and the standard list stores the identity IDs of all FRUs; outputting the difference identity ID of the identification list and the standard list as an unidentified FRU; the identity IDs in the identification list are output as identified FRUs.
After the difference identity ID of the identification list and the standard list is output as an unidentified FRU, accessing the corresponding board card through an I2C link corresponding to the unidentified FRU to acquire the communication state of the I2C link; if the I2C communication state is a communication state, generating log abnormal error reporting information for the unidentified FRU; if the I2C communication state is the disconnection state, ending the judging operation.
S102, acquiring the identity ID of the on-site board FRU.
And acquiring the identity IDs in the identification list, wherein the identity IDs are the identity IDs of the on-board card FRU.
S103, calling the product name information corresponding to the identity ID, and recording a calling result.
Extracting cache data from a preset cache address of the display data in the BMC; inquiring the identity ID from the cache data by utilizing a keyword inquiring technology, and extracting display data containing the identity ID; if the display data is successfully extracted, judging that the FRU corresponding to the identity ID is normal; if the extraction of the display data fails, determining that the FRU corresponding to the identity ID is an abnormal FRU, wherein the product name information of the abnormal FRU cannot be displayed in the display state of the BMC.
When the server is powered on and started, the BMC judges whether the server is in place or not through I2C according to the defined FRU ID after the BMC is started, and if the server is out of place, whether an I2C hardware link is on or not is judged again, when the server is on, the BMC logs are abnormally reported to be wrong, and if the server is not on the right, the BMC is ended; when the I2C judges that the information is in place, the information of the FRU is acquired according to the ID, and when the FRU can be normally displayed, the process is finished.
And S2, if the display state is incapable of being displayed, writing a prestored standard file into the FRU of the board through IPMI, wherein the standard file comprises standard product name information required to be burnt by the FRU of the board.
S201, based on the type and the model of a board card to which the FRU belongs, standard product name information required by a product information burning process is called from an MES system, and the standard product name information is packaged into a standard file, wherein the file format of the standard file is matched with the FRU; establishing a mapping between an identity ID of the FRU and a standard file, and storing the mapping as a structural body; and retrieving a mapping corresponding to the identity ID of a target FRU from the structural body, and extracting a standard file from the mapping, wherein the target FRU is an FRU which can not be displayed in the BMC by the stored product name information.
For example, product name information of a main board and product name information of a RAID board are pre-configured, and then are respectively packaged into a standard file 1 and a standard file 2 in a bin format, the ID of a FRU of the main board is A1, the ID of the FRU of the RAID board is A2, and the mapping is established as follows: A1-Standard File 1, A2-Standard File 2. Saving the map in the form of a structure result enables fast access of the map.
S202, writing the standard file into the target FRU: presetting a brushing script, wherein an IPMI data writing instruction is configured in the brushing script, and FRU with a display state incapable of being displayed is used as a condition for triggering the IPMI data writing instruction; the address of a target FRU is called from a pre-stored FRU address list, and the address of the target FRU is configured as the target address of the IPMI data writing instruction; configuring a standard file of the target FRU as the data content of the IPMI data writing instruction; and inputting the identity ID of the target FRU as a trigger variable into the refreshing script to trigger the refreshing script to write the standard file into the target FRU.
Wherein an IPMI write data instruction, such as ipmitool-I lanplus-hmyserver. Example. Com-P mypass fru set.
When FRU information is not obtained through the ID, the FRU is written in through the FRUbin file, and if the FRU cannot be written in, the BMC log is abnormally reported to be wrong. The normal back-flushing can be performed through the FRUbin file normally, and the board card FRU can display normally, and then the process is finished.
In some embodiments, the board FRU back flush system 300 may include a plurality of functional modules comprised of computer program segments. The computer programs of the various program segments in the card FRU swiping system 300 may be stored in a memory of a computer device and executed by at least one processor to perform the functions of card FRU swiping (described in detail with respect to fig. 1).
In this embodiment, the board card FRU brushing system 300 may be divided into a plurality of functional modules according to the functions performed by the board card FRU brushing system, as shown in fig. 3. The functional module may include: a state acquisition module 310 and an information back-flushing module 320. The module referred to in the present invention refers to a series of computer program segments capable of being executed by at least one processor and of performing a fixed function, stored in a memory. In the present embodiment, the functions of the respective modules will be described in detail in the following embodiments.
The state acquisition module is used for acquiring the display state of the product name information of the on-site board FRU in the BMC;
and the information back brushing module is used for writing a prestored standard file into the FRU of the board card through the IPMI if the display state is incapable of being displayed, wherein the standard file comprises standard product name information required to be burnt by the FRU of the board card.
Optionally, as an embodiment of the present invention, the state obtaining module includes:
the state identification unit is used for identifying the in-place state of the board FRU;
the identity acquisition unit is used for acquiring the identity ID of the on-site board FRU;
and the information calling unit is used for calling the product name information corresponding to the identity ID and recording the calling result.
Alternatively, as an embodiment of the present invention, the state recognition unit includes:
the ID allocation subunit is used for allocating an identity ID for the FRU in advance based on the board card where the FRU is located;
an ID storing subunit, configured to identify an in-place status of the FRU through the I2C link, and store an ID of the identified FRU to an identification list;
the list comparison subunit is used for carrying out consistency comparison on the identification list and a pre-stored standard list, wherein the standard list stores the identity IDs of all FRUs;
a first output subunit, configured to output, as an unrecognized FRU, a difference identity ID of the identification list and the standard list;
and a second output subunit for outputting the identity IDs in the identification list as identified FRUs.
Optionally, as an embodiment of the present invention, the system further includes:
the link state acquisition module is used for accessing the corresponding board card through the I2C link corresponding to the unidentified FRU so as to acquire the communication state of the I2C link;
the log error reporting module is used for generating log abnormal error reporting information for the unidentified FRU if the I2C communication state is a communication state;
and the abnormality neglecting module is used for ending the judging operation if the I2C communication state is in a disconnection state.
Alternatively, as one embodiment of the present invention, the information retrieving unit includes:
a cache extraction subunit, configured to extract cache data from a preset cache address of the display data in the BMC;
a keyword query subunit, configured to query the identity ID from the cached data by using a keyword query technique, and extract display data that includes the identity ID;
a normal judging subunit, configured to judge that the FRU corresponding to the identity ID is normal if the display data is successfully extracted;
and the abnormality judging subunit is used for judging that the FRU corresponding to the identity ID is an abnormal FRU if the display data extraction fails, and the product name information of the abnormal FRU cannot be displayed in the display state of the BMC.
Optionally, as an embodiment of the present invention, the information brushing module includes:
the file packaging unit is used for calling standard product name information required by a product information burning process from an MES system based on the type and the model of the board card to which the FRU belongs, and packaging the standard product name information into a standard file, wherein the file format of the standard file is matched with the FRU;
the mapping storage unit is used for establishing the mapping between the identity ID of the FRU and the standard file and storing the mapping as a structural body;
the file extraction unit is used for extracting a mapping corresponding to the identity ID of a target FRU from the structural body and extracting a standard file from the mapping, wherein the target FRU is an FRU which can not be displayed in the BMC by the stored product name information;
and the file writing unit is used for writing the standard file into the target FRU.
Optionally, as an embodiment of the present invention, the file writing unit includes:
a script setting subunit, configured to preset a brushing script, where an IPMI write data instruction is configured in the brushing script, and an FRU with a display state that cannot be displayed is used as a condition for triggering the IPMI write data instruction;
a first configuration subunit, configured to call an address of a target FRU from a pre-stored FRU address list, and configure the address of the target FRU as a target address of the IPMI write data instruction;
a second configuration subunit, configured to configure the standard file of the target FRU as the data content of the IPMI write data instruction;
and the script triggering subunit is used for inputting the identity ID of the target FRU as a triggering variable into the refreshing script so as to trigger the refreshing script to write the standard file into the target FRU.
Fig. 4 is a schematic structural diagram of a terminal 400 according to an embodiment of the present invention, where the terminal 400 may be used to execute the board card FRU swiping method according to the embodiment of the present invention.
The terminal 400 may include: processor 410, memory 420, and communication module 430. The components may communicate via one or more buses, and it will be appreciated by those skilled in the art that the configuration of the server as shown in the drawings is not limiting of the invention, as it may be a bus-like structure, a star-like structure, or include more or fewer components than shown, or may be a combination of certain components or a different arrangement of components.
The memory 420 may be used to store instructions for execution by the processor 410, and the memory 420 may be implemented by any type of volatile or nonvolatile memory terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk. The execution of the instructions in memory 420, when executed by processor 410, enables terminal 400 to perform some or all of the steps in the method embodiments described below.
The processor 410 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by running or executing software programs and/or modules stored in the memory 420, and invoking data stored in the memory. The processor may be comprised of an integrated circuit (Integrated Circuit, simply referred to as an IC), for example, a single packaged IC, or may be comprised of a plurality of packaged ICs connected to the same function or different functions. For example, the processor 410 may include only a central processing unit (Central Processing Unit, simply CPU). In the embodiment of the invention, the CPU can be a single operation core or can comprise multiple operation cores.
And a communication module 430, configured to establish a communication channel, so that the storage terminal can communicate with other terminals. Receiving user data sent by other terminals or sending the user data to other terminals.
The present invention also provides a computer storage medium in which a program may be stored, which program may include some or all of the steps in the embodiments provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a random-access memory (random access memory, RAM), or the like.
Therefore, the invention obtains the display state of the product name information of the on-site board FRU in the BMC; and writing a pre-stored standard file into the FRU of the board card through the IPMI for the FRU with the display state incapable of being displayed, wherein the standard file comprises standard product name information required to be burnt by the FRU of the board card. The invention realizes the automatic positioning of the FRU of the information of the unfired product name, and realizes the automatic back-flushing of the information of the product name of the FRU by utilizing the IPMI command, thus the mode does not need an operator to manually burn the information, the information back-flushing efficiency is improved, and the technical effects achieved by the embodiment can be seen from the description above and are not repeated here.
It will be apparent to those skilled in the art that the techniques of embodiments of the present invention may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solution in the embodiments of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium such as a U-disc, a mobile hard disc, a Read-only Memory (ROM), a random access Memory (RAM, random Ac ce s s Memory), a magnetic disk or an optical disk, etc. various media capable of storing program codes, including several instructions for causing a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, etc.) to execute all or part of the steps of the method described in the embodiments of the present invention.
The same or similar parts between the various embodiments in this specification are referred to each other. In particular, for the terminal embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and reference should be made to the description in the method embodiment for relevant points.
In the several embodiments provided by the present invention, it should be understood that the disclosed systems and methods may be implemented in other ways. For example, the system embodiments described above are merely illustrative, e.g., the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple modules or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with respect to each other may be through some interface, indirect coupling or communication connection of systems or modules, electrical, mechanical, or other form.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module.
Although the present invention has been described in detail by way of preferred embodiments with reference to the accompanying drawings, the present invention is not limited thereto. Various equivalent modifications and substitutions may be made in the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and it is intended that all such modifications and substitutions be within the scope of the present invention/be within the scope of the present invention as defined by the appended claims. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. The board FRU back brushing method is characterized by comprising the following steps of:
acquiring the display state of product name information of an on-site board FRU in a BMC;
if the display state is unable to be displayed, writing a prestored standard file into the FRU of the board through IPMI, wherein the standard file comprises standard product name information required to be burnt by the FRU of the board.
2. The method of claim 1, wherein obtaining the display status of the product name information of the in-place board FRU at the BMC comprises:
identifying the in-place state of the board FRU;
acquiring an identity ID of an on-site board FRU;
and calling the product name information corresponding to the identity ID, and recording a calling result.
3. The method of claim 2, wherein identifying the in-place status of the board card comprises:
based on a board card where the FRU is located, an identity ID is allocated to the FRU in advance;
identifying the in-place state of the FRU through an I2C link, and storing the identification ID of the identified FRU into an identification list;
consistency comparison is carried out on the identification list and a pre-stored standard list, wherein the standard list stores the identity IDs of all FRUs;
outputting the difference identity ID of the identification list and the standard list as an unidentified FRU;
the identity IDs in the identification list are output as identified FRUs.
4. The method of claim 3, wherein after outputting the differential identity IDs of the identification list and the standard list as unrecognized FRUs, the method further comprises:
accessing a corresponding board card through an I2C link corresponding to an unidentified FRU to acquire the communication state of the I2C link;
if the I2C communication state is a communication state, generating log abnormal error reporting information for the unidentified FRU;
and if the I2C communication state is in a disconnection state, ending the judging operation.
5. The method of claim 2, wherein retrieving the product name information corresponding to the identity ID and recording the retrieval result comprises:
extracting cache data from a preset cache address of the display data in the BMC;
inquiring the identity ID from the cache data by utilizing a keyword inquiring technology, and extracting display data containing the identity ID;
if the display data is successfully extracted, judging that FRU corresponding to the identity ID is normal;
if the extraction of the display data fails, determining that the FRU corresponding to the identity ID is an abnormal FRU, wherein the product name information of the abnormal FRU cannot be displayed in the display state of the BMC.
6. The method of claim 1 or 5, wherein writing the pre-stored standard file into the board FRU through IPMI if the display status is unable to be displayed, comprises:
based on the type and model of the board card to which the FRU belongs, standard product name information required by a product information burning process is called from an MES system, and the standard product name information is packaged into a standard file, wherein the file format of the standard file is adapted to the FRU;
establishing a mapping between an identity ID of the FRU and a standard file, and storing the mapping as a structural body;
the method comprises the steps of calling a mapping corresponding to an identity ID of a target FRU from a structural body, and extracting a standard file from the mapping, wherein the target FRU is an FRU which can not be displayed in a BMC (baseboard management controller) according to stored product name information;
and writing the standard file into the target FRU.
7. The method of claim 6, wherein writing the standard file to the target FRU comprises:
presetting a brushing script, wherein an IPMI data writing instruction is configured in the brushing script, and FRU with a display state incapable of being displayed is used as a condition for triggering the IPMI data writing instruction;
the address of a target FRU is called from a pre-stored FRU address list, and the address of the target FRU is configured as the target address of the IPMI data writing instruction;
configuring a standard file of the target FRU as the data content of the IPMI data writing instruction;
and inputting the identity ID of the target FRU as a trigger variable into the refreshing script to trigger the refreshing script to write the standard file into the target FRU.
8. The utility model provides a board FRU system of brushing back which characterized in that includes:
the state acquisition module is used for acquiring the display state of the product name information of the on-site board FRU in the BMC;
and the information back brushing module is used for writing a prestored standard file into the FRU of the board card through the IPMI if the display state is incapable of being displayed, wherein the standard file comprises standard product name information required to be burnt by the FRU of the board card.
9. A terminal, comprising:
the memory is used for storing a card FRU back-flushing program;
and the processor is used for realizing the steps of the board FRU brushing method as set forth in any one of claims 1-7 when the board FRU brushing program is executed.
10. A computer readable storage medium storing a computer program, characterized in that the readable storage medium stores a board card FRU swiping program, which when executed by a processor, implements the steps of the board card FRU swiping method according to any of claims 1-7.
CN202310942714.3A 2023-07-28 2023-07-28 Board card FRU back brushing method, system, terminal and storage medium Pending CN117075936A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310942714.3A CN117075936A (en) 2023-07-28 2023-07-28 Board card FRU back brushing method, system, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310942714.3A CN117075936A (en) 2023-07-28 2023-07-28 Board card FRU back brushing method, system, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN117075936A true CN117075936A (en) 2023-11-17

Family

ID=88701408

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310942714.3A Pending CN117075936A (en) 2023-07-28 2023-07-28 Board card FRU back brushing method, system, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN117075936A (en)

Similar Documents

Publication Publication Date Title
CN106648958B (en) Basic input output system replys management system and its method and program product
CN101373433A (en) Method for updating BIOS and computer and system using the same
CN110879712A (en) Cloud data center physical host installation method and related device
CN106547645B (en) Method for automatically restoring image file and server system
CN114116280B (en) Interactive BMC self-recovery method, system, terminal and storage medium
CN114003445B (en) BMC I2C monitoring function test method, system, terminal and storage medium
CN107070747A (en) A kind of method of the automatic test network interface card network connection stability under network card binding pattern
CN111506331A (en) Server BMC refreshing method, system, terminal and storage medium
CN111078305A (en) Information acquisition method and device, server and information management system
CN110096882B (en) Safety measurement method in equipment operation process
CN115098342A (en) System log collection method, system, terminal and storage medium
CN111352662A (en) Server starting sequence control method, system, terminal and storage medium
CN116627729A (en) External connection cable, external connection cable in-place detection device, startup self-checking method and system
CN117075936A (en) Board card FRU back brushing method, system, terminal and storage medium
CN115168146A (en) Anomaly detection method and device
CN114253573A (en) PCIe device firmware batch upgrading method, system, terminal and storage medium
CN109783031B (en) Method, device, terminal and storage medium for checking drive letter and slot number of RAID card
CN113835762B (en) Method and system for updating default configuration of hard disk backboard
CN113835631B (en) Residual platform configuration data deleting method, system, terminal and storage medium
CN114385379B (en) Method, system, terminal and storage medium for detecting on-board information refreshing
CN114115955B (en) Method, system, terminal and storage medium for upgrading FPGA firmware of server resource box
CN111327722B (en) Conflict detection method, system, terminal and storage medium for static IP and dynamic IP
CN116204383A (en) BMC-based serial port information monitoring method, system, terminal and storage medium
CN109120422B (en) Remote server system capable of obtaining hardware information and management method thereof
CN114675733A (en) Method, system, terminal and storage medium for resetting functional chip by BMC (baseboard management controller)

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