Server configuration information display method and device, computer equipment and storage medium
The server configuration information is generated and written by the bill of materials system, combined with the reading and comparison functions of the substrate management controller, the problem of insufficient configuration matrix coverage in the prior art is solved, and automatic identification and accurate display of server external devices are realized.
Patent Information
- Application Number
- CN202411729970.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-03-21
AI Technical Summary
In the prior art, the preset configuration matrix cannot cover all configuration combinations supported by the server, resulting in some configuration combinations not being accurately identified and displayed.
The order information configured by the current server is obtained through the bill of materials system, the silk screen information of each external device is generated, and written to the storage area. The substrate management controller is used to read the silk screen information and the in-place information, and when the comparison is passed, the information is stored in the target register, and the silk screen information is displayed in the power-on state through the BIOS.
It realizes automatic identification and accurate display of server external devices, solves the problem of insufficient configuration matrix coverage, and improves the reliability and stability of the system.
Smart Images

Figure CN119669008A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of servers, and in particular to a method and device for displaying server configuration information, a computer device and a storage medium. Background Art
[0002] With the rapid development of the Internet and artificial intelligence, the number of configurations supported by servers is becoming increasingly higher, which requires that servers of the same model need to support multiple different configurations.
[0003] In the related art, since the difference in configuration is mainly reflected in the model and quantity of external devices, the server usually identifies the external devices connected through the high-speed serial computer expansion bus (Peripheral Component Interconnect Express, PCIE) through the Basic Input Output System (BIOS), compares the external devices with the preset configuration matrix to determine whether the external devices are the configuration supported by the server, and then assigns a silk screen to the external device, and displays the silk screen information of the external device on the execution interface of the BIOS, so that the user can determine the current server configuration based on the silk screen information of the external device.
[0004] However, the preset configuration matrix is manually set according to the configuration combinations known to the server, and cannot cover all the configuration combinations supported by the server, resulting in that some configuration combinations supported by the server cannot be accurately identified and displayed. Summary of the invention
[0005] In view of this, the present invention provides a method for displaying server configuration information to solve the problem that the preset configuration matrix in the related art is artificially set according to the known configuration combinations of the server, and cannot cover all configuration combinations supported by the server, resulting in some configuration combinations supported by the server cannot be accurately identified and displayed.
[0006] In a first aspect, the present invention provides a method for displaying server configuration information, the method comprising:
[0007] Using the baseboard management controller to read the silk screen information of each external device in the first storage area, wherein the bill of materials system obtains the order information of the current server configuration, generates the silk screen information of each external device in the current server configuration based on the order information, and writes the silk screen information of each external device into the first storage area;
[0008] Use the baseboard management controller to obtain the presence information of each external device currently configured on the server;
[0009] Using a substrate management controller to compare the silk screen information with the in-situ information;
[0010] If the comparison is passed, the silk-screen information is stored in the target register, so that when the server is turned on, the silk-screen information in the target register is obtained by using the basic input and output system, and the silk-screen information is displayed on the interface of the basic input and output system.
[0011] The server configuration information display method provided in this embodiment obtains the order information of the current server configuration through the bill of materials system, generates the silk screen information of each external device in the current server configuration based on the order information, writes the silk screen information of each external device into the first storage area, uses the baseboard management controller to read the silk screen information of each external device in the first storage area, and obtains the in-place information of each external device in the current server configuration, compares the silk screen information with the in-place information, and stores the silk screen information to the target register when the comparison passes, so that when the server is turned on, the silk screen information in the target register is obtained by using the basic input and output system, and the silk screen information is displayed on the interface of the basic input and output system, thereby realizing automatic recognition and accurate display of the server's external devices, that is, the server configuration.
[0012] In an optional implementation, the using the baseboard management controller to obtain the in-place information of each external device currently configured on the server includes:
[0013] Get the detection pin levels of each external device currently configured on the server;
[0014] Based on the detection pin level of each external device, the presence information of each external device is determined.
[0015] The server configuration information display method provided in this embodiment obtains the detection pin level of each external device currently configured on the server, and determines the presence information of each external device based on the detection pin level of each external device, thereby improving the reliability and stability of the system.
[0016] In an optional implementation, the comparing the silk screen information with the in-situ information by using a substrate management controller includes:
[0017] For any external device, when the silk-screen information of the external device exists and the in-place information representation of the external device is not in-place, determining that the comparison between the silk-screen information and the in-place information of the external device fails;
[0018] If the silk-screen information of the external device exists and the in-place information of the external device indicates that the device is in-place, determining that the comparison between the silk-screen information and the in-place information of the external device passes;
[0019] When the silk-screen information of the external device does not exist and the presence information of the external device indicates that the external device is in place, it is determined that the comparison between the silk-screen information and the presence information of the external device fails.
[0020] The server configuration information display method provided in this embodiment compares the silk-screen information and the in-place information of the external device. When the silk-screen information and the in-place information of the external device are compared, the silk-screen information is displayed on the interface of the basic input / output system, thereby realizing accurate identification and display of the server configuration.
[0021] In an optional embodiment, the method further includes:
[0022] If the comparison between the silk-screen information and the in-situ information of any external device fails, an error log is generated so that the user can determine whether there is an error in the current server configuration according to the error log.
[0023] The server configuration information display method provided in this embodiment generates an error log when the comparison between the silk-screen information and the in-situ information of any external device fails, thereby helping the user to quickly confirm whether there is an error in the current server configuration and improving maintenance efficiency.
[0024] In an optional embodiment, the method further includes:
[0025] If the comparison passes, the baseboard management controller is used to write the silk screen information and the in-place information into the second storage area of the external display screen, so that the external display screen obtains and displays the silk screen information and in-place information in the second storage area according to a preset time period.
[0026] The server configuration information display method provided in this embodiment obtains and displays the silk-screen information and in-place information in the second storage area on an external display screen according to a preset time period, so that users can visually understand the configuration information of the server and the status information of the external device, facilitate rapid fault location, and improve operation and maintenance efficiency.
[0027] In an optional embodiment, the method further includes:
[0028] In the event that the external device fails, device failure information is obtained, and the baseboard management controller is used to write the device failure information into a second storage area of the external display screen, so that the external display screen obtains and displays the device failure information in the second storage area according to a preset time period.
[0029] The server configuration information display method provided in this embodiment obtains and displays the device fault information in the second storage area on an external display screen according to a preset time period, so as to facilitate timely discovery and processing of various device abnormalities and improve operation and maintenance efficiency.
[0030] In an optional implementation, the using the baseboard management controller to write the device fault information into a second storage area of an external display screen so that the external display screen acquires and displays the device fault information in the second storage area according to a preset time period includes:
[0031] Utilizing the baseboard management controller to analyze the device fault information to obtain the fault type of the external device;
[0032] Determine the fault code corresponding to the fault type of the external device based on the corresponding relationship table between the fault type and the fault code;
[0033] The baseboard management controller is used to write the fault code of the external device into the second storage area of the external display screen, so that the external display screen obtains and displays the fault code of the external device in the second storage area according to a preset time period.
[0034] The server configuration information display method provided in this embodiment utilizes the baseboard management controller to parse the device fault information, obtains the fault type of the external device, and then obtains the fault code corresponding to the fault type, and uses an external display screen to display the fault code of the external device, so as to facilitate operation and maintenance personnel to visually understand the abnormal information of the external device and improve R&D and operation and maintenance efficiency.
[0035] In a second aspect, the present invention provides a server configuration information display device, the device comprising:
[0036] A first reading module is used to read the silk screen information of each external device in the first storage area by using the baseboard management controller, wherein the bill of materials system obtains the order information of the current server configuration, generates the silk screen information of each external device in the current server configuration based on the order information, and writes the silk screen information of each external device into the first storage area;
[0037] A first acquisition module is used to acquire the presence information of each external device currently configured on the server by using the baseboard management controller;
[0038] A comparison module, used for comparing the silk-screen information with the in-situ information using a substrate management controller;
[0039] The first display module is used to store the silk-screen information in the target register when the comparison passes, so as to obtain the silk-screen information in the target register by using the basic input-output system when the server is turned on, and display the silk-screen information on the interface of the basic input-output system.
[0040] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, computer instructions are stored in the memory, and the processor executes the server configuration information display method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0041] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the server configuration information display method of the first aspect or any corresponding embodiment thereof.
[0042] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the server configuration information display method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the related technologies, the drawings required for use in the specific embodiments or the related technical descriptions will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0044] Figure 1 is a flow chart of a method for displaying server configuration information according to an embodiment of the present invention;
[0045] Figure 2 is a schematic diagram of a comprehensive BOM with silk-screen information of various external devices according to an embodiment of the present invention;
[0046] Figure 3 is a structural block diagram of a method for displaying server configuration information according to an embodiment of the present invention;
[0047] Figure 4 is a flow chart of another method for displaying server configuration information according to an embodiment of the present invention;
[0048] Figure 5 is a schematic diagram of a display interface of an external display screen according to an embodiment of the present invention;
[0049] Figure 6is a structural block diagram of a server configuration information display device according to an embodiment of the present invention;
[0050] Figure 7 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0052] With the rapid advancement of the Internet and artificial intelligence technologies, the demand for the server market has expanded rapidly. This growth is accompanied by the diversified demands of diversified business models for server hardware configurations. In order to meet the diverse business needs of customers, effectively control R&D and production costs, and shorten product launch cycles, server manufacturers need to launch server products that can adapt to a variety of configurations. Generally, the diversity of server configurations is mainly reflected in the different types and quantities of external devices that can be connected. When the same model of server is connected to a variety of external devices, this places higher demands on the server's ability to identify, allocate, and manage hardware resources as well as software.
[0053] In the related art, the server usually uses BIOS to identify the current server configuration, that is, to identify the external devices connected through PCIE, and allocate bandwidth to the external devices. BIOS will assign a unique silk screen logo to each external device identified, and display the silk screen information of these external devices on the execution interface of BIOS. At the same time, BIOS will also send the silk screen information of these external devices to the baseboard management controller (Baseboard Management Controller, referred to as: BMC). BMC displays the physical location information and silk screen information of the external devices in the device list interface of its WEB (webpage) interface. BMC matches the hardware and software based on the physical location information and silk screen information of the external devices.
[0054] The way BIOS identifies the current server configuration mainly depends on the combination of hardware pull-up and pull-down signals after the external device is connected. According to the combination of hardware pull-up and pull-down signals, the external devices in place are determined, and the external devices in place are compared with the preset configuration matrix. If the preset configuration matrix includes the configurations corresponding to these external devices in place, it is determined that the server supports the configurations corresponding to these external devices in place, and silk screen logos are assigned to these external devices.
[0055] The preset configuration matrix is set manually based on the known configuration combinations of the server. In order to accurately identify the configurations supported by the server, it is necessary to accurately sort out all possible configurations during the overall system design so that the BIOS can accurately display the silkscreen information of the current configuration. It should be noted that each server model corresponds to a preset configuration matrix.
[0056] However, there are hundreds of configuration combinations for a server model. It is actually difficult to automatically identify all configurations and accurately display the silkscreen information of external devices. In other words, the preset configuration matrix cannot cover all configuration combinations supported by the server, resulting in some configuration combinations supported by the server being unable to be accurately identified and displayed.
[0057] An embodiment of the present invention provides a method for displaying server configuration information, which obtains order information of the current server configuration through a bill of materials system, generates silk screen information of each external device in the current server configuration based on the order information, writes the silk screen information of each external device into a first storage area, uses a baseboard management controller to read the silk screen information of each external device in the first storage area, obtains in-place information of each external device in the current server configuration, compares the silk screen information with the in-place information, and stores the silk screen information in a target register when the comparison passes, so that when the server is powered on, a basic input / output system is used to obtain the silk screen information in the target register, and the silk screen information is displayed on the interface of the basic input / output system to achieve the effect of automatically identifying and accurately displaying the external devices of the server.
[0058] According to an embodiment of the present invention, an embodiment of a method for displaying server configuration information is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0059] In this embodiment, a method for displaying server configuration information is provided, which can be used for a server, a central processing unit, etc. Figure 1 is a flow chart of a method for displaying server configuration information according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0060] Step S101: using a baseboard management controller to read the silk screen information of each external device in a first storage area.
[0061] The bill of materials system obtains order information of the current server configuration, generates silk screen information of each external device in the current server configuration based on the order information, and writes the silk screen information of each external device into the first storage area.
[0062] When pre-producing the server corresponding to the server configuration according to the new order information issued by the customer, the sales or pre-sales personnel enter the new order information issued by the customer into the bill of materials system. The bill of materials system obtains the new order information issued by the customer.
[0063] After obtaining the order information, the Bill of Materials (BOM) system analyzes the order information and outputs a comprehensive BOM with the silk-screen information of each external device.
[0064] For example, Figure 2 is a schematic diagram of a comprehensive BOM with silk-screen information of each external device according to an embodiment of the present invention. After the order information is input into the BOM system, the following is obtained: Figure 2 The comprehensive BOM is shown.
[0065] Understandably, Figure 2 This is only an example and is not intended to be limiting. The BOM content will be adjusted accordingly based on actual conditions.
[0066] It should be noted that the silk-screen information includes a silk-screen logo. As mentioned above, each external device corresponds to a unique silk-screen logo.
[0067] Figure 3 is a structural block diagram of a method for displaying server configuration information according to an embodiment of the present invention. Figure 3 As shown in the figure, after the BOM system generates a comprehensive BOM with silk-screen information of each external device, the comprehensive BOM is sent to the diagnostic test system (diag) at the production end. The server motherboard is equipped with an electrically erasable programmable read only memory (EEPROM). When the server is assembled and produced according to the order information, the Diag system flashes the comprehensive BOM into the EEPROM on the motherboard through the management network port. Among them, the Diag system can be understood as a host computer.
[0068] It is understandable that the first storage area is the EEPROM on the server mainboard. The BMC reads the comprehensive BOM in the EEPROM on the mainboard to obtain the silkscreen information of each external device.
[0069] It should be noted that the Diag system is connected to the management network port through the Intelligent Platform Management Interface (IPMI) or the Redfish management standard.
[0070] Step S102: using a baseboard management controller to obtain the presence information of each external device currently configured on the server.
[0071] After the server is assembled according to the order information, the BMC of the server is used to obtain the in-place information of each external device currently configured in the server.
[0072] like Figure 3 As shown, the central processing unit CPU of the server obtains the presence information of multiple external devices (such as external devices 0, 1, 2, ...) connected to components such as the backplane, Riser card, PCIe slot (slot), and sends the presence information of the multiple external devices to the BMC of the server.
[0073] Step S103: using the substrate management controller to compare the silk screen information with the in-situ information.
[0074] After the in-place information and silk-screen information of each external device are obtained, the silk-screen information and the in-place information of each external device are compared using the BMC.
[0075] Step S104, when the comparison passes, the silk screen information is stored in the target register, so that when the server is turned on, the silk screen information in the target register is obtained by using the basic input and output system, and the silk screen information is displayed on the interface of the basic input and output system.
[0076] Among them, when the silkscreen information and in-place information of all external devices are compared and passed, the silkscreen information of the external devices is stored in the target register of the BMC, so that when the server is turned on, the BIOS obtains the silkscreen information from the target register and displays the silkscreen information on the execution interface of the BIOS. Users can enter the execution interface of the BIOS to view the configuration information, that is, the silkscreen information of the external devices, when the server is turned on.
[0077] It is understandable that the user can also enter the operating system when the server is turned on and view the configuration information of the server under the operating system.
[0078] It should be noted that the BIOS can also allocate corresponding bandwidth to each external device according to the silkscreen information of each external device.
[0079] If the comparison is passed, the BMC displays the physical location information and the silkscreen information of each external device in the device list interface of the BMC WEB interface, so as to make a software and hardware correspondence based on the physical location information and the silkscreen information of the external device.
[0080] It is understandable that the BMC device list interface can also display other information in the comprehensive BOM. Users can view the device information of the server through the BMC's WEB interface.
[0081] The server configuration information display method provided in this embodiment obtains the order information of the current server configuration through the bill of materials system, generates the silk screen information of each external device in the current server configuration based on the order information, writes the silk screen information of each external device into the first storage area, uses the baseboard management controller to read the silk screen information of each external device in the first storage area, and obtains the in-place information of each external device in the current server configuration, compares the silk screen information with the in-place information, and stores the silk screen information to the target register when the comparison passes, so that when the server is turned on, the silk screen information in the target register is obtained by using the basic input and output system, and the silk screen information is displayed on the interface of the basic input and output system, thereby realizing the automatic identification and accurate display of the server's external devices, i.e., the server configuration, and the bandwidth allocation of the external devices.
[0082] In this embodiment, a method for displaying server configuration information is provided, which can be used for a server, a central processing unit, etc. Figure 4 is a flow chart of a method for displaying server configuration information according to an embodiment of the present invention. Figure 4 As shown, the process includes the following steps:
[0083] Step S401: using a baseboard management controller to read the silk screen information of each external device in a first storage area.
[0084] The bill of materials system obtains the order information of the current server configuration, generates the silk screen information of each external device in the current server configuration based on the order information, and writes the silk screen information of each external device into the first storage area. Figure 1 Step S101 of the illustrated embodiment will not be described in detail here.
[0085] Step S402: using a baseboard management controller to obtain the presence information of each external device currently configured on the server.
[0086] Specifically, the above step S402 includes:
[0087] Step S4021, obtaining the detection pin level of each external device currently configured on the server.
[0088] Among them, on the server motherboard, each external device slot has one or more dedicated detection pins, which are connected to a pull-up resistor or a pull-down resistor to ensure that the pins are in a known level state when the external device is not in place.
[0089] In order to obtain the presence information of each external device, the detection pin level of each external device is firstly obtained.
[0090] Step S4022: determining the presence information of each external device based on the detection pin level of each external device.
[0091] After the detection pin level of each external device is acquired, the presence information of each external device is determined according to the detection pin level.
[0092] Exemplarily, for any external device, when the level of the detection pin of the external device is high, that is, a pull-up signal, it is determined that the external device is in place.
[0093] When the detection pin level of the external device is at a low level, that is, a pull-down signal, it is determined that the external device is not in place.
[0094] It is understandable that it can also be set to determine that the external device is in place when the detection pin level of the external device is low, that is, the pull-down signal is in place, and determine that the external device is not in place when the detection pin level of the external device is high, that is, the pull-up signal is in place.
[0095] The relationship between the detection pin level and the in-position information is determined according to actual conditions, and no specific limitation is made here.
[0096] Step S403: using the substrate management controller to compare the silk screen information with the in-place information.
[0097] Specifically, the above step S403 includes:
[0098] Step S4031 : for any external device, if the silk screen information of the external device exists and the in-place information representation of the external device is not in-place, it is determined that the comparison between the silk screen information and the in-place information of the external device fails.
[0099] Among them, after obtaining the in-place information and silk-screen information of each external device, the in-place information is compared with the silk-screen information. For any external device, if the silk-screen information of the external device exists, but the in-place information indicates that it is not in place, it means that the current server may not support this configuration, or there may be an installation error. In this case, it is determined that the comparison between the silk-screen information and the in-place information of the external device has failed.
[0100] Step S4032: if the silk screen information of the external device exists and the in-place information of the external device indicates that the external device is in-place, determine whether the comparison between the silk screen information of the external device and the in-place information is successful.
[0101] If the silkscreen information of the external device exists, the in-place information indicates that it is in place, indicating that the current server supports this configuration and is installed correctly, and it is determined that the comparison between the silkscreen information and the in-place information of the external device is passed.
[0102] Step S4033: when the silk screen information of the external device does not exist and the presence information of the external device indicates that the external device is in place, it is determined that the comparison between the silk screen information and the presence information of the external device fails.
[0103] Among them, if the silk screen information of the external device does not exist, the in-place information indicates that it is in place, which means that the silk screen information of the external device generated by the BOM system may be wrong, or there may be errors in the installation of the server, and it is determined that the comparison between the silk screen information and the in-place information of the external device has failed.
[0104] Step S404: if the comparison is successful, the silk screen information is stored in the target register, so that when the server is turned on, the silk screen information in the target register is obtained by using the basic input and output system, and the silk screen information is displayed on the interface of the basic input and output system. Figure 1 Step S104 of the illustrated embodiment will not be described in detail here.
[0105] The server configuration information display method provided in this embodiment obtains the detection pin level of each external device currently configured on the server, and determines the presence information of each external device based on the detection pin level of each external device, thereby improving the reliability and stability of the system.
[0106] By comparing the silk-screen information and the in-place information of the external device, if the silk-screen information and the in-place information of the external device are compared and passed, the silk-screen information is displayed on the interface of the basic input and output system, thereby realizing accurate identification and display of the server configuration.
[0107] In some optional implementations, the server configuration information display method further includes:
[0108] Step a1: if the comparison between the silk-screen information and the in-situ information of any external device fails, an error log is generated, so that the user can determine whether there is an error in the current server configuration according to the error log.
[0109] Among them, the silk screen information and the in-place information of each external device are compared. If the comparison between the silk screen information and the in-place information of at least one external device fails, an error log is generated and an alarm is issued, so that the user, i.e., the operation and maintenance personnel, can determine the errors in the current server configuration based on the error log and perform error handling.
[0110] The server configuration information display method provided in this embodiment generates an error log when the comparison between the silk-screen information and the in-situ information of any external device fails, thereby helping the user to quickly confirm whether there is an error in the current server configuration and improving maintenance efficiency.
[0111] In some optional implementations, the server configuration information display method further includes:
[0112] Step b1, if the comparison passes, use the baseboard management controller to write the silk screen information and the in-situ information into the second storage area of the external display screen, so that the external display screen obtains and displays the silk screen information and the in-situ information in the second storage area according to a preset time period.
[0113] Among them, Figure 3 As shown, the server is equipped with a low-power ink display screen, which can be fixed on the ear of the server case or made into a pull-out structure and set on one side of the server case. The ink display screen is connected to the internal integrated circuit bus (Inter-Integrated Circuit, referred to as: I2C) connector of the server motherboard through a cable, i.e. a connector. The ink display screen has its own battery or is powered by the server motherboard (Power), and has a built-in controller and EEPROM chip. It can be understood that the external display screen is the ink display screen.
[0114] The server BMC writes the silk-screen information and the in-place information of each external device into the second storage area of the external display screen for storage. The second storage area is the EEPROM of the external display screen.
[0115] The controller of the external display screen reads and displays the silk screen information and the in-place information of each external device in the second storage area in a preset time period. It is understandable that the external display screen is refreshed according to the preset time period.
[0116] The preset time period is set by the technician and is not specifically limited here.
[0117] It should be noted that the user can view the configuration information of the server, such as the presence information and silk-screen information of the external device, through the external display screen when the server is not turned on.
[0118] The server configuration information display method provided in this embodiment stores the silk-screen information and in-place information sent by the BMC through an external display screen, and displays the silk-screen information and in-place information in the second storage area on the external display screen according to a preset time period, so as to facilitate R&D and operation and maintenance personnel to visually understand the configuration information of the server and the status information of the external device, facilitate and quickly locate faults, and improve R&D and operation and maintenance efficiency.
[0119] In some optional implementations, the server configuration information display method further includes:
[0120] Step c1, when an external device fails, obtain device failure information, and use the baseboard management controller to write the device failure information into the second storage area of the external display screen, so that the external display screen obtains and displays the device failure information in the second storage area according to a preset time period.
[0121] Among them, when an external device fails, the server central processing unit (CPU) obtains device failure information and uses the BMC to write the device failure information into the second storage area of the external display screen, so that the external display screen obtains and displays the device failure information in the second storage area according to a preset time period.
[0122] The server configuration information display method provided in this embodiment stores the device fault information sent by the BMC through an external display screen, and displays the device fault information in the second storage area on the external display screen according to a preset time period, so as to facilitate R&D and operation and maintenance personnel to promptly discover and handle various equipment abnormalities and improve operation and maintenance efficiency.
[0123] In some optional implementations, the above step c1 includes:
[0124] Step c11: parse the device fault information using the baseboard management controller to obtain the fault type of the external device.
[0125] After the device fault information is obtained, the BMC is used to parse the setting fault information to obtain the fault type of the external device.
[0126] Step c12: determining the fault code corresponding to the fault type of the external device based on the corresponding relationship table between the fault type and the fault code.
[0127] Different fault codes are preset for different fault types, and the fault codes may be two-digit codes.
[0128] After the fault type of the external device is obtained, the fault code corresponding to the fault type is determined using the corresponding relationship table between the fault type and the fault code.
[0129] It should be noted that the correspondence table between fault types and fault codes is pre-set by technical personnel.
[0130] Step c13, using the baseboard management controller to write the fault code of the external device into the second storage area of the external display screen, so that the external display screen acquires and displays the fault code of the external device in the second storage area according to a preset time period.
[0131] After obtaining the fault code of the external device, the BMC writes the fault code of the external device into the second storage area of the external display screen, and the external display screen obtains and displays the fault code of the external device in the second storage area according to a preset time period.
[0132] For example, Figure 5 is a schematic diagram of a display interface of an external display screen according to an embodiment of the present invention. Figure 5 As shown in the figure, the display interface of the external display screen displays the silkscreen information of the external device, where the Front Panel is the silkscreen information display of the front window external device, and the Rear Panel is the silkscreen information display of the rear window external device. F_HDD0 refers to the hard disk "0" of the front window. It is displayed as in place, and not displayed as not in place. The other front window external devices are similar to the description, and will not be repeated here.
[0133] R_NVME0 refers to the non-volatile memory No. 0 in the rear window, R_PCIe0 refers to the PCIe device No. 0 in the rear window, and PSU0 refers to the power supply unit No. 0 in the rear window. The descriptions of other external devices are similar and will not be repeated here.
[0134] Figure 5 The "88" in the display is the fault code. Different fault types are preset with different fault codes. The fault code is determined by the BMC after analyzing the fault type of the external device and stored in the EEPROM of the display. The display controller reads the information in the EEPROM and then controls the screen to display it. If there is no fault or the fault is restored, it will not be displayed.
[0135] Understandably, Figure 5 The display interface content will be adjusted accordingly according to different BOMs. Figure 5 The display interface is merely an example and is not intended to be limiting.
[0136] The server configuration information display method provided in this embodiment uses a baseboard management controller to parse the device fault information, obtains the fault type of the external device, and then obtains the fault code corresponding to the fault type, and uses an external display screen to display the fault code of the external device, so as to facilitate operation and maintenance personnel to visually understand the abnormal information of the external device, quickly locate the fault, and improve R&D and operation and maintenance efficiency.
[0137] In some optional implementations, the above step c1 includes:
[0138] Step d1, using sensors to monitor and collect performance data of each external device in real time.
[0139] Among them, various types of sensors are deployed in key parts of each external device, such as power modules, processors, memory, interfaces, etc., so as to use the deployed sensors to monitor and collect performance data of various performance indicators of the external devices in real time.
[0140] Step d2, for any external device, when the performance data of the external device exceeds the corresponding performance threshold, it is determined that the external device has a fault, and the device fault information is obtained. The baseboard management controller is used to write the device fault information into the second storage area of the external display screen, so that the external display screen obtains and displays the device fault information in the second storage area according to a preset time period.
[0141] For different external devices, technicians pre-set different performance thresholds. The device fault information may include the fault type, fault time, affected components, etc.
[0142] The server configuration information display method provided in this embodiment uses sensors to monitor and collect performance data of each external device in real time, sets reasonable performance thresholds, and can accurately determine whether an external device has a fault, obtain detailed fault information, and display it on an external display screen, thereby helping operation and maintenance personnel to quickly locate equipment problems and improve maintenance efficiency and response speed.
[0143] In this embodiment, a server configuration information display device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0144] This embodiment provides a server configuration information display device, such as Figure 6 As shown, including:
[0145] The first reading module 601 is used to use the baseboard management controller to read the silk screen information of each external device in the first storage area, wherein the bill of materials system obtains the order information of the current server configuration, generates the silk screen information of each external device in the current server configuration based on the order information, and writes the silk screen information of each external device into the first storage area.
[0146] The first acquisition module 602 is used to acquire the presence information of each external device currently configured in the server by using the baseboard management controller.
[0147] The comparison module 603 is used to compare the silk screen information and the in-situ information using the substrate management controller.
[0148] The first display module 604 is used to store the silk-screen information to the target register when the comparison passes, so as to obtain the silk-screen information in the target register by using the basic input and output system when the server is turned on, and display the silk-screen information on the interface of the basic input and output system.
[0149] In some optional implementations, the first acquisition module 602 includes:
[0150] The first acquisition unit is used to acquire the detection pin level of each external device currently configured in the server.
[0151] The first determining unit is used to determine the presence information of each external device based on the detection pin level of each external device.
[0152] In some optional implementations, the comparison module 603 includes:
[0153] The second determining unit is used to determine, for any external device, that the comparison between the silk-screen information and the in-place information of the external device fails when the silk-screen information of the external device exists and the in-place information representation of the external device is not in-place.
[0154] The third determining unit is configured to determine that the comparison between the silk-screen information of the external device and the in-place information is passed when the silk-screen information of the external device exists and the in-place information representation of the external device is in-place.
[0155] The fourth determining unit is used to determine that the comparison between the silk-screen information of the external device and the in-place information fails when the silk-screen information of the external device does not exist and the in-place information representation of the external device is in-place.
[0156] In some optional implementations, the server configuration information display device includes:
[0157] The generation module is used to generate an error log when the comparison between the silk screen information and the in-situ information of any external device fails, so that the user can determine whether there is an error in the current server configuration according to the error log.
[0158] In some optional implementations, the server configuration information display device includes:
[0159] The second display module is used to write the silk-screen information and the in-situ information into the second storage area of the external display screen by using the baseboard management controller when the comparison passes, so that the external display screen can obtain and display the silk-screen information and the in-situ information in the second storage area according to a preset time period.
[0160] In some optional implementations, the server configuration information display device includes:
[0161] The third display module is used to obtain device fault information when an external device fails, and use the baseboard management controller to write the device fault information into the second storage area of the external display screen, so that the external display screen obtains and displays the device fault information in the second storage area according to a preset time period.
[0162] In some optional implementations, the third display module includes:
[0163] The second acquisition unit is used to analyze the device fault information by using the baseboard management controller to obtain the fault type of the external device.
[0164] The fifth determining unit is used to determine the fault code corresponding to the fault type of the external device based on the corresponding relationship table between the fault type and the fault code.
[0165] The display unit is used to write the fault code of the external device into the second storage area of the external display screen by using the baseboard management controller, so that the external display screen obtains and displays the fault code of the external device in the second storage area according to a preset time period.
[0166] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0167] The server configuration information display device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0168] The embodiment of the present invention also provides a computer device having the above Figure 6 The server configuration information is shown in the display device.
[0169] See also Figure 7 , Figure 7 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 7As shown, the computer device includes: one or more processors 701, memory 702, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Each component utilizes different buses to communicate with each other, and can be installed on a common mainboard or installed in other ways as required. The processor can process the instructions executed in the computer device, including instructions stored in the memory or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides part of the necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 7 A processor 701 is taken as an example.
[0170] The processor 701 may be a central processing unit, a network processor or a combination thereof. The processor 701 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable logic gate array, a general purpose array logic or any combination thereof.
[0171] The memory 702 stores instructions executable by at least one processor 701, so that the at least one processor 701 executes the method shown in the above embodiment.
[0172] The memory 702 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 702 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 702 may optionally include a memory remotely arranged relative to the processor 701, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0173] The memory 702 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 702 may also include a combination of the above types of memory.
[0174] The computer device also includes a communication interface 703, which is used for the computer device to communicate with other devices or a communication network.
[0175] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0176] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of computer program instructions in computer-readable media includes, but is not limited to, source files, executable files, installation package files, etc., and accordingly, the way in which computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0177] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A method for displaying server configuration information, characterized in that: The method comprises: Using the baseboard management controller to read the silk screen information of each external device in the first storage area, wherein the bill of materials system obtains the order information of the current server configuration, generates the silk screen information of each external device in the current server configuration based on the order information, and writes the silk screen information of each external device into the first storage area; Use the baseboard management controller to obtain the presence information of each external device currently configured on the server; Using a substrate management controller to compare the silk screen information with the in-situ information; If the comparison is passed, the silk-screen information is stored in the target register, so that when the server is turned on, the silk-screen information in the target register is obtained by using the basic input and output system, and the silk-screen information is displayed on the interface of the basic input and output system.
2. The method according to claim 1, characterized in that The method of using the baseboard management controller to obtain the in-place information of each external device currently configured on the server includes: Get the detection pin levels of each external device currently configured on the server; Based on the detection pin level of each external device, the presence information of each external device is determined.
3. The method according to claim 1, characterized in that The using the substrate management controller to compare the silk screen information with the in-situ information includes: For any external device, when the silk-screen information of the external device exists and the in-place information representation of the external device is not in-place, determining that the comparison between the silk-screen information and the in-place information of the external device fails; If the silk-screen information of the external device exists and the in-place information of the external device indicates that the device is in-place, determining that the comparison between the silk-screen information and the in-place information of the external device passes; When the silk-screen information of the external device does not exist and the presence information of the external device indicates that the external device is in place, it is determined that the comparison between the silk-screen information and the presence information of the external device fails.
4. The method according to claim 1, characterized in that: The method further comprises: If the comparison between the silk-screen information and the in-situ information of any external device fails, an error log is generated so that the user can determine whether there is an error in the current server configuration according to the error log.
5. The method according to claim 1, characterized in that: The method further comprises: If the comparison passes, the baseboard management controller is used to write the silk screen information and the in-place information into the second storage area of the external display screen, so that the external display screen obtains and displays the silk screen information and in-place information in the second storage area according to a preset time period.
6. The method according to claim 1, characterized in that The method further comprises: In the event that the external device fails, device failure information is obtained, and the baseboard management controller is used to write the device failure information into a second storage area of the external display screen, so that the external display screen obtains and displays the device failure information in the second storage area according to a preset time period.
7. The method according to claim 6, characterized in that The method of using the baseboard management controller to write the device fault information into a second storage area of the external display screen so that the external display screen acquires and displays the device fault information in the second storage area according to a preset time period includes: Utilizing the baseboard management controller to analyze the device fault information, and obtain the fault type of the external device; Determine the fault code corresponding to the fault type of the external device based on the corresponding relationship table between the fault type and the fault code; The baseboard management controller is used to write the fault code of the external device into the second storage area of the external display screen, so that the external display screen obtains and displays the fault code of the external device in the second storage area according to a preset time period.
8. A server configuration information display device, characterized in that: The device comprises: A first reading module is used to read the silk screen information of each external device in the first storage area by using the baseboard management controller, wherein the bill of materials system obtains the order information of the current server configuration, generates the silk screen information of each external device in the current server configuration based on the order information, and writes the silk screen information of each external device into the first storage area; A first acquisition module is used to acquire the presence information of each external device currently configured on the server by using the baseboard management controller; A comparison module, used for comparing the silk-screen information with the in-situ information using a substrate management controller; The first display module is used to store the silk-screen information in the target register when the comparison passes, so as to obtain the silk-screen information in the target register by using the basic input-output system when the server is turned on, and display the silk-screen information on the interface of the basic input-output system.
9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the server configuration information display method according to any one of claims 1 to 7 by executing the computer instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the server configuration information display method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Easy-to-apply server configuration automatic testing method
CN105868041A
Server configuration management system and method, computer equipment and storage medium
CN118657579A
Cited By
Data processing method and device, electronic equipment, storage medium and program product
CN120523665A
Configuration method of server starting interface and electronic equipment
CN120743384A
A method for configuring a server startup interface and an electronic device.
CN120743384B