Port slot screen printing information updating method and device, computer equipment and storage medium

By forming a port slot silk screen comparison table in the server and automatically updating the basic input and output firmware, the problem of the need to develop a separate firmware version due to the port slot function adjustment is solved, and automatic updates are realized and cost is reduced.

CN119961276APending Publication Date: 2025-05-09INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202510061992.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-15
Publication Date
2025-05-09

AI Technical Summary

Technical Problem

When the function of the port slot on the server chassis needs to be adjusted according to the actual usage, the basic input and output firmware needs to be modified in the silk screen information of the port slot function, resulting in the high cost of developing the adapted basic input and output firmware version separately.

Method used

By obtaining the port slot number according to the port slot position, collecting silk screen information of the corresponding functions of the port slot, forming a port slot silk screen comparison table, and updating the basic input and output firmware based on the table, automatically storing and sending silk screen information that meets the preset conditions.

Benefits of technology

It realizes that the silkscreen information of the server can be automatically updated without the need to develop new basic input and output firmware, reducing development costs and improving efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119961276A_ABST
    Figure CN119961276A_ABST
Patent Text Reader

Abstract

The invention relates to a port slot screen printing information updating method and device, computer equipment and a storage medium. According to the method, the port slot position number can be obtained according to the port slot position, the silk-screen information of the corresponding function of the port slot is collected, the silk-screen information is distributed to the port slot position number to form the port slot silk-screen comparison table, and then the silk-screen information, corresponding to the port slot position number and meeting the preset condition, in the port slot silk-screen comparison table is verified and recognized. According to the method, the screen printing information meeting the preset conditions is stored in the basic input and output firmware, the screen printing information in the basic input and output firmware can be automatically updated, new basic input and output firmware does not need to be developed, convenience and rapidness are achieved, and the cost for independently developing adaptive basic input and output firmware versions is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of server firmware, and in particular to a method, device, computer equipment and storage medium for updating silkscreen information of a port slot. Background Art

[0002] Silk screen printing, also known as screen printing, is a technology that uses a silk screen as a base plate and uses a photosensitive platemaking method to make a silk screen printing plate with images and text for printing. Server equipment has a variety of port slots. The functions of each port slot need to be printed on the chassis. The basic input and output firmware needs to be developed to adapt to the silk screen information of the port slot function printed on the chassis. The function of the port slot on the server chassis can be adjusted based on actual usage. Due to the personalized needs of customers or the different configurations of the front and rear windows of the chassis, there is often a problem that the preset silk screen information is inconsistent with the existing basic input and output firmware. The silk screen information of the port slot function needs to be modified on the basic input and output firmware. Therefore, due to the inconsistent silk screen information or customized needs, each new configuration model or customized customer with different silk screen formats needs to develop a separate adapted basic input and output firmware version. The topology of the basic input and output firmware version is complex, the implementation cost is high, and it is not easy to manage and maintain. Summary of the invention

[0003] Based on this, a port slot silk screen information updating method, device, computer equipment and storage medium are provided to solve the technical problem that when the function of the port slot on the server chassis is adjusted based on actual usage, it is necessary to modify the silk screen information of the port slot function in the basic input and output firmware, resulting in high cost for separately developing an adapted basic input and output firmware version.

[0004] On the one hand, a method for updating port slot silk screen information is provided, the method comprising:

[0005] Acquire the port slot number according to the port slot position, collect the silk screen information of the port slot corresponding function, and assign the silk screen information to the port slot number to form a port slot silk screen comparison table;

[0006] Acquire component asset information corresponding to the port slot based on the port slot number, extract available silk screen data of the port slot from the asset information of the port slot, and verify whether the silk screen information corresponding to the port slot number in the port slot silk screen comparison table meets a preset condition according to the available silk screen data corresponding to the port slot number;

[0007] In response to the silk-screen information corresponding to the port slot number in the port slot silk-screen comparison table meeting a preset condition, the silk-screen information corresponding to the port slot number in the port slot silk-screen comparison table is stored in the basic input and output firmware, otherwise it is prompted that the silk-screen information corresponding to the port slot number in the port slot silk-screen comparison table has failed to be verified;

[0008] The silk screen information corresponding to the port slot number in the port slot silk screen comparison table stored in the basic input and output firmware is sent to the port slot corresponding to the port slot number.

[0009] In one embodiment, obtaining the port slot number according to the port slot position, collecting the silk screen information of the corresponding function of the port slot, and assigning the silk screen information to the port slot number to form a port slot silk screen comparison table includes:

[0010] Constructing a blank port slot silk-screen comparison table according to the port slot number obtained from the port slot position, wherein the blank port slot silk-screen comparison table includes the port slot number and a silk-screen information box corresponding to the port slot number and data to be filled;

[0011] Monitor and obtain the exchange data uploaded by the silk screen information setting tool, wherein the exchange data structure includes component asset information and silk screen information of the port slot;

[0012] The silk-screen information corresponding to the port slot number is acquired according to the exchange data, and the silk-screen information is filled into the silk-screen information box corresponding to the port slot number to form a port slot silk-screen comparison table.

[0013] In one embodiment, the monitoring and obtaining of exchange data uploaded by the silk screen information setting tool includes:

[0014] Obtain the silk screen name filled in by the silk screen information setting tool according to the port slot function, and generate exchange data according to the silk screen name and the component asset information of the corresponding port slot;

[0015] Setting a communication mode for the controller to obtain the exchange data uploaded by the silk screen information setting tool, and detecting whether the controller and the silk screen information setting tool communicate normally;

[0016] In response to the controller communicating normally with the silk screen information setting tool, the exchange data uploaded by the silk screen information setting tool is acquired; otherwise, it is prompted that the controller and the silk screen information setting tool cannot communicate.

[0017] In one embodiment, the obtaining of component asset information corresponding to the port slot based on the port slot number, extracting available silk screen data of the port slot from the asset information of the port slot, and verifying whether the silk screen information corresponding to the port slot number in the port slot silk screen comparison table meets a preset condition according to the available silk screen data corresponding to the port slot number includes:

[0018] In response to the controller receiving the port slot silk-screen comparison table, obtaining the port slot number and silk-screen information of the target port slot in the port slot silk-screen comparison table;

[0019] Obtaining component asset information of the target port slot through basic input and output firmware, and extracting available silk screen data of the target port slot from the asset information of the target port slot;

[0020] Determine whether the silk screen information of the target port slot in the port slot silk screen comparison table is one of the available silk screen data;

[0021] In response to the silk screen information of the target port slot in the port slot silk screen comparison table being one of the available silk screen data, determining that the silk screen information of the target port slot meets a preset condition, and modifying the mark bit of the target port slot in the port slot silk screen comparison table to indicate that there is already qualified silk screen information, and sending the silk screen information of the target port slot to the basic input and output firmware;

[0022] In response to the silk screen information of the target port slot in the port slot silk screen comparison table not being one of the available silk screen data, it is determined that the silk screen information of the target port slot does not meet the preset conditions, and a silk screen information filling error of the target port slot is fed back to the silk screen information setting tool.

[0023] In one embodiment, sending the silk screen information corresponding to the port slot number in the port slot silk screen comparison table stored in the basic input and output firmware to the port slot corresponding to the port slot number comprises:

[0024] Determine whether there is a port slot silk screen comparison table in the basic input and output firmware;

[0025] In response to the presence of a port slot silkscreen comparison table in the basic input / output firmware, detecting whether corresponding silkscreen information exists for the port slot number in the port slot silkscreen comparison table;

[0026] In response to the existence of corresponding silk-screen information for the port slot number in the port slot silk-screen comparison table, sending the silk-screen information corresponding to the port slot number to the port slot corresponding to the port slot number;

[0027] In response to the port slot number in the port slot silk-screen comparison table not having corresponding silk-screen information, initiating a silk-screen information request for obtaining the port slot number in the port slot silk-screen comparison table to the controller;

[0028] In response to the absence of a port slot silkscreen comparison table in the basic input and output firmware, obtaining component asset information of the port slot, creating a port slot silkscreen comparison table based on the component asset information of the port slot, and initiating a silkscreen information request to the controller to obtain the port slot position number in the port slot silkscreen comparison table;

[0029] Determine whether there is reply information from the controller, and in response to the existence of reply information from the controller, store the silkscreen information in the reply information in the port slot silkscreen comparison table of the basic input and output firmware, otherwise continue to wait for the reply information from the controller.

[0030] In one embodiment, the method further comprises:

[0031] The silkscreen information of the port slot of each device is summarized into the server asset information through the basic input and output firmware, and the server asset information is transmitted to the controller.

[0032] In one embodiment, aggregating the silkscreen information of the port slot of each device into the server asset information through the basic input and output firmware includes:

[0033] In the server asset information, the devices are classified and stored according to the silkscreen information of the port slots, and the silkscreen information of the port slots of each type of device is set as the device type number;

[0034] In response to the silkscreen information of the port slot of the newly added device in the server asset information, determining whether the silkscreen information of the port slot of the newly added device has a corresponding device type number;

[0035] In response to the silkscreen information of the port slot of the newly added device having a corresponding device type number, the corresponding device type number is recorded for the newly added device;

[0036] In response to the silkscreen information of the port slot of the newly added device not having a corresponding device type number, a new device type number is added to the server asset information, and the silkscreen information of the port slot of the newly added device is saved as the newly added device type number.

[0037] On the other hand, a device for updating port slot silk screen information is provided, the device comprising:

[0038] A silk screen information output processing module, used for obtaining the port slot number according to the port slot position, collecting the silk screen information of the port slot corresponding function, and allocating the silk screen information to the port slot number to form a port slot silk screen comparison table;

[0039] A silk screen information judgment module is used to obtain the component asset information of the corresponding port slot based on the port slot number, extract the available silk screen data of the port slot from the asset information of the port slot, and verify whether the silk screen information corresponding to the port slot number in the port slot silk screen comparison table meets the preset conditions according to the available silk screen data corresponding to the port slot number;

[0040] A compliance silk screen information management module, for storing the silk screen information corresponding to the port slot number in the port slot silk screen comparison table in the basic input and output firmware in response to the silk screen information corresponding to the port slot number in the port slot silk screen comparison table meeting a preset condition, otherwise prompting that the silk screen information corresponding to the port slot number in the port slot silk screen comparison table fails to be verified;

[0041] The silk screen information sending module is used to send the silk screen information corresponding to the port slot number in the port slot silk screen comparison table stored in the basic input and output firmware to the port slot corresponding to the port slot number.

[0042] In another aspect, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are implemented:

[0043] Acquire the port slot number according to the port slot position, collect the silk screen information of the port slot corresponding function, and assign the silk screen information to the port slot number to form a port slot silk screen comparison table;

[0044] Acquire component asset information corresponding to the port slot based on the port slot number, extract available silk screen data of the port slot from the asset information of the port slot, and verify whether the silk screen information corresponding to the port slot number in the port slot silk screen comparison table meets a preset condition according to the available silk screen data corresponding to the port slot number;

[0045] In response to the silk-screen information corresponding to the port slot number in the port slot silk-screen comparison table meeting a preset condition, the silk-screen information corresponding to the port slot number in the port slot silk-screen comparison table is stored in the basic input and output firmware, otherwise it is prompted that the silk-screen information corresponding to the port slot number in the port slot silk-screen comparison table has failed to be verified;

[0046] The silk screen information corresponding to the port slot number in the port slot silk screen comparison table stored in the basic input and output firmware is sent to the port slot corresponding to the port slot number.

[0047] In another aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0048] Acquire the port slot number according to the port slot position, collect the silk screen information of the port slot corresponding function, and assign the silk screen information to the port slot number to form a port slot silk screen comparison table;

[0049] Acquire component asset information corresponding to the port slot based on the port slot number, extract available silk screen data of the port slot from the asset information of the port slot, and verify whether the silk screen information corresponding to the port slot number in the port slot silk screen comparison table meets a preset condition according to the available silk screen data corresponding to the port slot number;

[0050] In response to the silk-screen information corresponding to the port slot number in the port slot silk-screen comparison table meeting a preset condition, the silk-screen information corresponding to the port slot number in the port slot silk-screen comparison table is stored in the basic input and output firmware, otherwise it is prompted that the silk-screen information corresponding to the port slot number in the port slot silk-screen comparison table has failed to be verified;

[0051] The silk screen information corresponding to the port slot number in the port slot silk screen comparison table stored in the basic input and output firmware is sent to the port slot corresponding to the port slot number.

[0052] The above-mentioned port slot silk screen information updating method, device, computer equipment and storage medium obtain the port slot number according to the port slot position, collect the silk screen information of the corresponding function of the port slot, assign the silk screen information to the port slot number to form a port slot silk screen comparison table, and then verify and identify the silk screen information that meets the preset conditions corresponding to the port slot number in the port slot silk screen comparison table, and store the silk screen information that meets the preset conditions in the basic input and output firmware. The silk screen information in the basic input and output firmware (BIOS) can be automatically updated without the need to develop a new basic input and output firmware, which is convenient and fast, and reduces the cost of separately developing an adapted basic input and output firmware version. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0054] Figure 1 This is an application environment diagram of a method for updating port slot silk screen information in one embodiment of the present application;

[0055] Figure 2 This is a flow chart of a method for updating port slot silk screen information in one embodiment of the present application;

[0056] Figure 3 This is a structural schematic diagram of a slot interface on a silk-screen information setting tool in one embodiment of the present application;

[0057] Figure 4 A schematic diagram of the working procedure of the silk screen information setting tool in one embodiment of the present application;

[0058] Figure 5 This is a flowchart of the working procedure of the controller in one embodiment of the present application;

[0059] Figure 6 A flowchart of a basic input and output firmware working procedure in one embodiment of the present application;

[0060] Figure 7 This is a structural block diagram of a device for updating port slot silk screen information in one embodiment of the present application;

[0061] Figure 8 This is a diagram of the internal structure of a computer device in one embodiment of the present application. DETAILED DESCRIPTION

[0062] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0063] As mentioned in the background technology, the silk screen printing process is also called the screen printing process. It is a technology that uses a silk screen as a base and uses a photosensitive platemaking method to make a silk screen printing plate with images for printing. This process includes five basic elements: silk screen printing plate, scraper, ink, printing table and substrate. The mesh holes of the image part on the silk screen printing plate can pass the ink, while the non-image part cannot pass the ink, so as to achieve printing. During the printing process, the ink is squeezed onto the substrate through the mesh holes of the image part of the silk screen printing plate after a certain pressure is applied by the scraper.

[0064] The silk screen printing process has the characteristics of strong adaptability, simple process, high production efficiency and low cost, and is particularly suitable for mass production. It is widely used in printing various materials, including but not limited to paper printing. In addition, silk screen printing also has important applications in PCB (printed circuit board) manufacturing, by printing text information such as circuit points, components and circuit symbols on the PCB board to facilitate the installation, maintenance and identification of the circuit.

[0065] Silkscreen information plays a key role in the design, production and maintenance of PCIe devices. Silkscreen, that is, the identification information printed on the device, is crucial for device identification, location and troubleshooting. The relationship between device identification and silkscreen information: The method for updating PCIe silkscreen information in SMBIOS (System Management BIOS) includes allocating SLOT IDs to the PCIe port slots of the motherboard, creating a port slot silkscreen table, and updating the collected PCIe silkscreen information to the corresponding table in SMBIOS. This method helps BIOS engineers to simply and conveniently update PCIe silkscreen information according to hardware design, thereby realizing the identification and location of PCIe devices.

[0066] Relationship between error location and silk screen information: Silk screen information also plays an important role in the error location method of PCIe devices. By pre-acquiring and sending the attribute information of the PCIe device and the corresponding silk screen identification to the BMC (Baseboard Management Controller), the BMC can establish a corresponding relationship between the attribute information and the silk screen identification. When an error occurs in a PCIe device, by obtaining the identification data of the Root Bridge, the PCIe device, and the PCI Bridges at all levels between the two, and sending it to the BMC, the BMC records the error log based on these identification data, thereby realizing the error location of the PCIe device. This method is not only applicable to directly connected PCIe devices, but also can locate errors of PCIe devices transferred through the Switch, which is convenient for the maintenance of PCIe devices. In summary, silk screen information plays a key role in the design, production and maintenance of PCIe devices. It not only helps to identify and locate the equipment, but also plays an important role in error location and troubleshooting.

[0067] PCIe has made fundamental changes in bus structure, which are mainly reflected in two aspects: first, it changes from parallel bus to serial bus; second, it adopts point-to-point interconnection. The bus connecting the devices under the bridge in the original parallel bus structure is changed into a link. A link can contain one or more channels. Each channel consists of two pairs of differential signal lines to form a dual-simplex serial transmission channel. There are no dedicated data, address, control and clock lines. Various transactions on the bus are organized into information packets for transmission. Another feature of PCIe that breaks through the traditional bus is the point-to-point interconnection method. Each device is connected by an independent link and has exclusive bandwidth. This is an effective solution to improve the transmission rate. The PCIe bus structure regards a link as a bus, thereby maintaining compatibility with the traditional PCI bus in terms of address space, configuration mechanism and software. A PCIe device occupies a bus (link), so in a PCIe-based computer, there are many bridges and buses. Traditional PCI devices can also run on the PCIe platform. Through the PCIe to PCI (or PCI-X) bridge, the PCI (or PCI-X) bus can be brought out. Traditional PCI devices can be integrated into the PCI Express structure by hanging on such a bus. The 11th generation Intel Core CPU and motherboard added support for PCIe4.0, and now, the 12th generation platform provides PCIe 5.0 and is fully backward compatible with 4.0 and 3.0 devices. The 12th generation Intel Core CPU provides up to 16 CPU PCIe 5.0 channels and up to 4 CPU PCIe 4.0 channels, while the 11th generation Intel Core CPU (such as the Intel Core i9-11900K) provides up to 20 CPU PCIe 4.0 channels.

[0068] To develop the BIOS firmware to adapt to the chassis silk screen, the following work needs to be done: Currently, since the slot number of each PCIe device is assigned by the BIOS, it is generally arranged in order from CPU0PE1~PE4CPU1PE1~PE4, CPU2PE1~PE4, CPU3PE1~PE4. If CPU0PE1 has two X8 devices, the port slot numbers of these two devices are 0 and 1. If CPU0PE2 has an X16 device, its port slot number is 2, and so on. In addition, the physical position of each PCIe device and the corresponding relationship between the CPUPE port used by the device are not fixed, which is related to the specific riser card and slimline wiring method, so the physical position arrangement and the port slot number assigned to the device are not corresponding. BIOS firmware engineers need to manually establish a comparison relationship table between the silk screen (each physical port slot) and the port slot number (and each device) of the current model, import it into the asset information list function module in the firmware, and pass the asset information with the device silk screen to the BMC, display it on the BMC web management interface, and realize the accurate correspondence between each device and the port slot silk screen.

[0069] For different server models and different configurations of the same model, there will be differences in the slot silk screen information on the front and rear window panels of the server. Before producing a configuration of each model, the structural design engineer and hardware engineer will extract the server slot and silk screen comparison information of the model shipped configuration and manually fill it into the slot silk screen comparison table, and pass it to the server firmware development engineer. The firmware development engineer writes the slot silk screen comparison table into the BIOS code when developing the BIOS of the configured server. The firmware development engineer needs to publish the BIOS firmware version corresponding to the slot silk screen comparison table for each configuration of each model. And perform a power-on test to verify whether it is imported correctly. Then transfer the version, submit it to the version release system, and send it to the test verification department. After the test passes, it will finally be sent to the production line for production use. The above manual transfer of silk screen information, manual development of firmware BIOS version, and system transfer of firmware version take about 5 to 7 days. Therefore, redeveloping the firmware just because of the difference in silk screen information is a very inefficient server R&D and production behavior. There is an urgent need for automated tools to update silk screen information.

[0070] To solve the above problems, the present invention creatively proposes a method for updating the port slot silk screen information, which can be applied to Figure 1In the application environment shown. The silk screen information setting tool 101 communicates with the server 102 through a network. The silk screen information setting tool 101 can be implemented by various personal computers, laptops, smart phones, tablet computers and portable wearable devices, and the server 102 can be implemented by an independent server or a server cluster composed of multiple servers. The server 102 is provided with a controller (BMC) and a basic input and output firmware (BIOS). The silk screen information corresponding to the function of the input port slot of the silk screen information setting tool 101 is input, and the controller (BMC) verifies the silk screen information corresponding to the function of the input port slot of the silk screen information setting tool 101. The basic input and output firmware (BIOS) stores the verified silk screen information, and can automatically update the silk screen information in the basic input and output firmware (BIOS), without the need to develop a new basic input and output firmware, which is convenient and fast.

[0071] In one embodiment, Figure 2 As shown, a method for updating the silk screen information of a port slot is provided, and the method is applied to Figure 1 Taking the server 102 in the example as an example, the following steps are included:

[0072] Step S1, obtaining the port slot number according to the port slot position, collecting the silk screen information of the port slot corresponding function, and assigning the silk screen information to the port slot number to form a port slot silk screen comparison table;

[0073] Step S2, obtaining the component asset information of the corresponding port slot based on the port slot number, extracting the available silk screen data of the port slot from the asset information of the port slot, and verifying whether the silk screen information corresponding to the port slot number in the port slot silk screen comparison table meets the preset conditions according to the available silk screen data corresponding to the port slot number;

[0074] Step S3, in response to the silk screen information corresponding to the port slot number in the port slot silk screen comparison table meeting the preset condition, the silk screen information corresponding to the port slot number in the port slot silk screen comparison table is stored in the basic input and output firmware, otherwise it is prompted that the silk screen information corresponding to the port slot number in the port slot silk screen comparison table has failed to be verified;

[0075] Step S4, sending the silk screen information corresponding to the port slot number in the port slot silk screen comparison table stored in the basic input and output firmware to the port slot corresponding to the port slot number.

[0076] Among them, by obtaining the port slot number according to the port slot position, collecting the silk screen information of the corresponding function of the port slot, allocating the silk screen information to the port slot number to form a port slot silk screen comparison table, and then verifying and identifying the silk screen information that meets the preset conditions corresponding to the port slot number in the port slot silk screen comparison table, storing the silk screen information that meets the preset conditions in the basic input and output firmware, the silk screen information in the basic input and output firmware (BIOS) can be automatically updated without the need to develop new basic input and output firmware, which is convenient and fast, and reduces the cost of separately developing an adapted basic input and output firmware version.

[0077] Preferably, the silk-screen information of the port slot of the device is displayed on an electronic screen or printed based on the silk-screen information corresponding to the port slot number.

[0078] In this embodiment, the port slot number is obtained according to the port slot position, the silk screen information of the corresponding function of the port slot is collected, and the silk screen information is assigned to the port slot number to form a port slot silk screen comparison table including:

[0079] A blank port slot silk screen comparison table is constructed according to the port slot number obtained from the port slot position, wherein the blank port slot silk screen comparison table includes the port slot number and a silk screen information box corresponding to the port slot number and data to be filled in;

[0080] Monitor and obtain the exchange data uploaded by the silk screen information setting tool. The exchange data structure includes the component asset information and silk screen information of the port slot;

[0081] The silk-screen information of the corresponding port slot number is obtained according to the exchange data, and the silk-screen information is filled into the silk-screen information box corresponding to the port slot number to form a port slot silk-screen comparison table.

[0082] like Figure 3 As shown, Figure 3 The interface displays a layout structure of the server back window, in which the slot number and GPU0~3 are editable. The user fills in the corresponding interface position with the slot number assigned to the PCIe device and the silkscreen of its actual slot location.

[0083] There is a button on the silkscreen information setting tool. Clicking it will generate silkscreen information. The silkscreen information is defined by structured definition as a slot silkscreen description that can be mapped to space. For example, "Slot number: 1, silkscreen: "GPU1", position: (1, 1)" The position coordinates can correspond to the position of the tool interface, such as the horizontal coordinate of the x-axis and the vertical coordinate of the y-axis. Set the slot position (x, y) in the lower left corner of the interface to (0, 0). The silkscreen information setting tool also has three input parameters used in the command line (BMC management network IP and BMC user name and password), which is convenient for entering relevant parameters in the automated production environment. For example, SilkNameUpdateTool.exe-ip 192.168.3.5-U admin-Ppassword-Check TRUE exe file tool name-ip BMC management network IP-UP BMC user name and password-Check parameter sets whether to extract and verify the BIOS silkscreen information of the silkscreen information setting tool. After the silkscreen information setting tool is called, it will send structured silkscreen information to the server BMC of the specified IP. After the silkscreen information setting tool sends data to the BMC, the silkscreen information setting tool will send the ipmitool mc chassis reset command to the BMC to restart the server for the first time. The BIOS will automatically obtain the available silkscreen data from the BMC during the startup process.

[0084] In this embodiment, monitoring and obtaining the exchange data uploaded by the silk screen information setting tool includes:

[0085] Get the silk screen name filled in by the silk screen information setting tool according to the port slot function, and generate exchange data according to the silk screen name and the component asset information of the corresponding port slot;

[0086] Set the communication method for the controller to obtain the exchange data uploaded by the silk screen information setting tool, and check whether the controller and the silk screen information setting tool communicate normally;

[0087] In response to the controller communicating normally with the silk screen information setting tool, the exchange data uploaded by the silk screen information setting tool is obtained, otherwise it is prompted that the controller and the silk screen information setting tool cannot communicate.

[0088] like Figure 4 As shown in the figure, the working procedure of the silk screen information setting tool is as follows: after setting the silk screen, the tool will generate exchange data, and the tool supports communication with the BMC. It can call the specified BMC interface through the Redfish,HTTP protocol, and transmit the generated exchange data to the BMC. After the BMC receives and verifies the data, it sends the data to the BIOS by calling the specified interface of the BIOS during the boot post process through the redfish communication method.

[0089] The exchanged data is preferably JSON data. JSON data is Json, which can convert a set of data represented in a JavaScript object into a string. Then, the string can be easily passed between functions, or the string can be passed from the tool software to the BMC in an asynchronous application.

[0090] Silk screen printing can be represented by JSON data, {"Silk screen printing":["Model":"aaaa","Batch information":"bbbb","Manufacturer":"cccc"]}, and a silk screen printing comparison table can be generated in the above format.

[0091] Redfish protocol: Redfish can use post main or Linux environment to send URL. The returned data is presented as a string in jason format according to the redfish specification. The BMC of the entire computer room can be monitored and controlled in batches through scripts.

[0092] In this embodiment, the component asset information of the corresponding port slot is obtained based on the port slot number, the available silk screen data of the port slot is extracted from the asset information of the port slot, and the silk screen information corresponding to the port slot number in the port slot silk screen comparison table is verified according to the available silk screen data corresponding to the port slot number to see whether it meets the preset conditions, including:

[0093] In response to the controller receiving the port slot silk screen comparison table, obtaining the port slot number and silk screen information of the target port slot in the port slot silk screen comparison table;

[0094] Obtaining component asset information of the target port slot through basic input and output firmware, and extracting available silk screen data of the target port slot from the asset information of the target port slot;

[0095] Determine whether the silk screen information of the target port slot in the port slot silk screen comparison table is one of the available silk screen data;

[0096] In response to the silk screen information of the target port slot in the port slot silk screen comparison table being one of the available silk screen data, it is determined that the silk screen information of the target port slot meets the preset condition, and the mark bit of the target port slot in the port slot silk screen comparison table is modified to have qualified silk screen information, and the silk screen information of the target port slot is sent to the basic input and output firmware;

[0097] In response to the silk screen information of the target port slot in the port slot silk screen comparison table not being one of the available silk screen data, it is determined that the silk screen information of the target port slot does not meet the preset conditions, and a silk screen information filling error of the target port slot is fed back to the silk screen information setting tool.

[0098] Among them, the action sent by the silk screen information setting tool is to update the silk screen comparison table in the BIOS; after the release, the silk screen in the firmware will correspond to the actual silk screen configuration of the server; the work of the tool extraction and reading is to obtain the silk screen comparison table, which can be automatically compared with the data entered by the user on the interface after extraction, so as to achieve the effect of using the tool for automatic silk screen verification and inspection. If the -Check parameter is TRUE, the available silk screen data can be sent. After the server restarts once, the tool will restart the server again. During the startup process, the BIOS will send the server component asset information to the BMC for management of web page presentation. Then the tool uses the RESTful interface GET request to obtain the server component asset information of the server BMC web management page from the BMC, and extracts the available silk screen data from the asset information and compares it with the available silk screen data on the tool interface. If it is correct, it will be tested by silk screen extraction and comparison. If the comparison is abnormal, the tool will pop up an error window and prompt the abnormal silk screen information.

[0099] like Figure 5 As shown in the figure, the working procedure of the controller is: after receiving the data, the data is checked for legitimacy. If it is found that the received data does not comply with the regulations, the tool software is fed back with data errors; after the data check is completed, it is stored in the BMC system and the mark bit is modified. This mark bit represents that the BMC already has silk screen information; when the BIOS is started and the impi command is used to obtain the silk screen information from the BMC, the BMC checks the mark bit and finds that it has been modified, and feeds back the SMBIOS with silk screen information, and feeds back the silk screen information to the BIOS in the form of a redfish interface.

[0100] The impi command is: ipmi is a standard protocol suitable for bmc, and developers can interact with BMC through ipmi.

[0101] When working, all IPMI functions are completed by sending commands to the BMC. The commands use the instructions specified in the IPMI specification. The BMC receives and records the silkscreen information in the system event log and maintains the available silkscreen data records that describe the silkscreen information status in the system.

[0102] The RESTful interface PUT request transmits the silkscreen information from structured data to the interface specified by the BMC. For example, for the interface https: / / 192.168.3.5 / main / asset / silk, the BMC REST backend will set up such a service @RequestMapping (value = " / asset / silk", method = RequestMethod.PUT); after receiving the PUT request, the BMC will store the received silkscreen information from structured data into the cache and wait for the next BIOS startup to obtain it.

[0103] RESTful interface GET request, get the server component asset information of the server BMC web management page to the tool side, for example: interface https: / / 192.168.3.5 / main / asset / info. The BMC REST background will set up such a service @RequestMapping (value = " / asset / info", method = RequestMethod.GET); after receiving the GET request, the BMC will package all the data of the asset information page and return it to the requester.

[0104] In this embodiment, sending the silk screen information corresponding to the port slot number in the port slot silk screen comparison table stored in the basic input and output firmware to the port slot corresponding to the port slot number includes:

[0105] Determine whether there is a port slot silkscreen comparison table in the basic input and output firmware;

[0106] In response to the presence of a port slot silk screen comparison table in the basic input and output firmware, detecting whether there is corresponding silk screen information for the port slot number in the port slot silk screen comparison table;

[0107] In response to the existence of corresponding silk screen information for the port slot number in the port slot silk screen comparison table, the silk screen information corresponding to the port slot number is sent to the port slot corresponding to the port slot number;

[0108] In response to the port slot number in the port slot silk screen comparison table not having corresponding silk screen information, initiating a silk screen information request to obtain the port slot number in the port slot silk screen comparison table to the controller;

[0109] In response to the absence of a port slot silkscreen comparison table in the basic input and output firmware, obtaining component asset information of the port slot, creating a port slot silkscreen comparison table based on the component asset information of the port slot, and initiating a silkscreen information request to the controller to obtain the port slot position number in the port slot silkscreen comparison table;

[0110] Determine whether there is reply information from the controller, and in response to the existence of reply information from the controller, store the silkscreen information in the reply information in the port slot silkscreen comparison table of the basic input and output firmware, otherwise continue to wait for the reply information from the controller.

[0111] like Figure 6As shown, the working procedure of the basic input and output firmware is as follows: if there is no slot silk screen information during the first boot process of BIOS, a comparison table between the device slot number and the temporary silk screen is established; during the boot process of BIOS, the ipmi interface is used to initiate a silk screen request to the BMC. If a response is obtained from the BMC, the redfish interface is used to request the silk screen data, and the json silk screen data stored by the BMC is placed in the temporary storage area after the redfish interface receives it; the BIOS updates the silk screen to each corresponding slot according to the comparison relationship between the slot number and the silk screen in the silk screen data in the temporary storage area; in the asset information transmission module, the silk screen information of each device is filled in all the asset information of the server machine constructed by the BIOS, and sent to the BMC; the silk screen signal of the BIOS is started, and the BMC mounts the asset information file as a virtual file system on the USB communicating with the HostCPU, and in response to the completion of the basic initialization operation of the BIOS, the LinuxBoot function is loaded and the server asset information is collected, and the collected server asset information is written into the file directory of the virtual file system, and in response to the feedback that the collection of the server asset information has been completed by the BMC, the BMC sends the virtual file system to the HostCPU.

[0112] In this embodiment, the method for updating the port slot silk screen information further includes:

[0113] The silkscreen information of the port slot of each device is summarized into the server asset information through the basic input and output firmware, and the server asset information is transmitted to the controller.

[0114] In this embodiment, the silkscreen information of the port slot of each device is aggregated into the server asset information through the basic input and output firmware, including:

[0115] In the server asset information, the devices are classified and stored according to the silkscreen information of the port slots, and the silkscreen information of the port slots of each type of device is set as the device type number;

[0116] In response to the silkscreen information of the port slot of the newly added device in the server asset information, determining whether the silkscreen information of the port slot of the newly added device has a corresponding device type number;

[0117] In response to the silkscreen information of the port slot of the newly added device having a corresponding device type number, the corresponding device type number is recorded for the newly added device;

[0118] In response to the silkscreen information of the port slot of the newly added device not having a corresponding device type number, the device type number is added to the server asset information, and the silkscreen information of the port slot of the newly added device is saved as the newly added device type number.

[0119] This application facilitates centralized management of various configurations by storing the silkscreen information of various port slots in the form of device type numbers.

[0120] It is understandable that by pre-making a port slot silk screen table in the BIOS firmware to record the unified standard information of the PCIe card and the chassis, the system uniformly identifies that there is a PCIe device inserted into the PCIe slot. Even if there is no PCIe device inserted, bandwidth will still be allocated. This uniformly configured identification method wastes resources and affects the operating efficiency of the server.

[0121] Therefore, in this embodiment, the port slot silk screen information update method further includes:

[0122] Get the port slot silkscreen comparison table stored in the basic input and output firmware;

[0123] Determine whether there is silk-screen information in the port slot corresponding to each port slot number in the port slot silk-screen comparison table stored in the basic input and output firmware;

[0124] In response to the existence of silk screen information in the target port slot number of the port slot silk screen comparison table stored in the basic input and output firmware, it is determined whether the mark bit of the port slot corresponding to the target port slot number has qualified silk screen information, and if so, the port slot corresponding to the target port slot number is powered on, otherwise, the port slot corresponding to the target port slot number is powered off;

[0125] In response to the absence of silk screen information for the target port slot number in the port slot silk screen comparison table stored in the basic input / output firmware, the port slot corresponding to the target port slot number is powered off.

[0126] In this case, by supplying power to the port slots that are set to meet the preset silk-screen information and cutting off power to the other port slots, redundant bandwidth can be avoided, the bandwidth of the port slots that are set to meet the preset silk-screen information can be improved, resource waste can be avoided, and the operation efficiency of the server can be improved.

[0127] In the above-mentioned port slot silk screen information updating method, the port slot number is obtained according to the port slot position, the silk screen information of the corresponding function of the port slot is collected, the silk screen information is assigned to the port slot number to form a port slot silk screen comparison table, and then the silk screen information corresponding to the port slot number in the port slot silk screen comparison table that meets the preset conditions is verified and identified, and the silk screen information that meets the preset conditions is stored in the basic input and output firmware. The silk screen information in the basic input and output firmware (BIOS) can be automatically updated without the need to develop new basic input and output firmware, which is convenient and fast, and reduces the cost of separately developing an adapted basic input and output firmware version.

[0128] In one embodiment, Figure 7 As shown, a port slot silk screen information updating device 10 is provided, comprising: a silk screen information output processing module 1, a silk screen information judgment module 2, a compliance silk screen information management module 3, and a silk screen information sending module 4.

[0129] The silk screen information output processing module 1 is used to obtain the port slot number according to the port slot position, collect the silk screen information of the port slot corresponding function, and assign the silk screen information to the port slot number to form a port slot silk screen comparison table.

[0130] The silk screen information judgment module 2 is used to obtain the component asset information of the corresponding port slot based on the port slot number, extract the available silk screen data of the port slot from the asset information of the port slot, and verify whether the silk screen information corresponding to the port slot number in the port slot silk screen comparison table meets the preset conditions according to the available silk screen data corresponding to the port slot number.

[0131] The compliance silk screen information management module 3 is used to store the silk screen information corresponding to the port slot number in the port slot silk screen comparison table in the basic input and output firmware in response to the silk screen information corresponding to the port slot number in the port slot silk screen comparison table meeting the preset conditions, otherwise it will prompt that the silk screen information verification corresponding to the port slot number in the port slot silk screen comparison table has failed.

[0132] The silk screen information sending module 4 is used to send the silk screen information corresponding to the port slot number in the port slot silk screen comparison table stored in the basic input and output firmware to the port slot corresponding to the port slot number.

[0133] In this embodiment, the port slot number is obtained according to the port slot position, the silk screen information of the corresponding function of the port slot is collected, and the silk screen information is assigned to the port slot number to form a port slot silk screen comparison table including:

[0134] A blank port slot silk screen comparison table is constructed according to the port slot number obtained from the port slot position, wherein the blank port slot silk screen comparison table includes the port slot number and a silk screen information box corresponding to the port slot number and data to be filled in;

[0135] Monitor and obtain the exchange data uploaded by the silk screen information setting tool. The exchange data structure includes the component asset information and silk screen information of the port slot;

[0136] The silk-screen information of the corresponding port slot number is obtained according to the exchange data, and the silk-screen information is filled into the silk-screen information box corresponding to the port slot number to form a port slot silk-screen comparison table.

[0137] In this embodiment, monitoring and obtaining the exchange data uploaded by the silk screen information setting tool includes:

[0138] Get the silk screen name filled in by the silk screen information setting tool according to the port slot function, and generate exchange data according to the silk screen name and the component asset information of the corresponding port slot;

[0139] Set the communication method for the controller to obtain the exchange data uploaded by the silk screen information setting tool, and check whether the controller and the silk screen information setting tool communicate normally;

[0140] In response to the controller communicating normally with the silk screen information setting tool, the exchange data uploaded by the silk screen information setting tool is obtained, otherwise it is prompted that the controller and the silk screen information setting tool cannot communicate.

[0141] In this embodiment, the component asset information of the corresponding port slot is obtained based on the port slot number, the available silk screen data of the port slot is extracted from the asset information of the port slot, and the silk screen information corresponding to the port slot number in the port slot silk screen comparison table is verified according to the available silk screen data corresponding to the port slot number to see whether it meets the preset conditions, including:

[0142] In response to the controller receiving the port slot silk screen comparison table, obtaining the port slot number and silk screen information of the target port slot in the port slot silk screen comparison table;

[0143] Obtaining component asset information of the target port slot through basic input and output firmware, and extracting available silk screen data of the target port slot from the asset information of the target port slot;

[0144] Determine whether the silk screen information of the target port slot in the port slot silk screen comparison table is one of the available silk screen data;

[0145] In response to the silk screen information of the target port slot in the port slot silk screen comparison table being one of the available silk screen data, it is determined that the silk screen information of the target port slot meets the preset condition, and the mark bit of the target port slot in the port slot silk screen comparison table is modified to have qualified silk screen information, and the silk screen information of the target port slot is sent to the basic input and output firmware;

[0146] In response to the silk screen information of the target port slot in the port slot silk screen comparison table not being one of the available silk screen data, it is determined that the silk screen information of the target port slot does not meet the preset conditions, and a silk screen information filling error of the target port slot is fed back to the silk screen information setting tool.

[0147] In this embodiment, sending the silk screen information corresponding to the port slot number in the port slot silk screen comparison table stored in the basic input and output firmware to the port slot corresponding to the port slot number includes:

[0148] Determine whether there is a port slot silkscreen comparison table in the basic input and output firmware;

[0149] In response to the presence of a port slot silk screen comparison table in the basic input and output firmware, detecting whether there is corresponding silk screen information for the port slot number in the port slot silk screen comparison table;

[0150] In response to the existence of corresponding silk screen information for the port slot number in the port slot silk screen comparison table, the silk screen information corresponding to the port slot number is sent to the port slot corresponding to the port slot number;

[0151] In response to the port slot number in the port slot silk screen comparison table not having corresponding silk screen information, initiating a silk screen information request to obtain the port slot number in the port slot silk screen comparison table to the controller;

[0152] In response to the absence of a port slot silkscreen comparison table in the basic input and output firmware, obtaining component asset information of the port slot, creating a port slot silkscreen comparison table based on the component asset information of the port slot, and initiating a silkscreen information request to the controller to obtain the port slot position number in the port slot silkscreen comparison table;

[0153] Determine whether there is reply information from the controller, and in response to the existence of reply information from the controller, store the silkscreen information in the reply information in the port slot silkscreen comparison table of the basic input and output firmware, otherwise continue to wait for the reply information from the controller.

[0154] In this embodiment, if Figure 7 As shown, a port slot silk screen information updating device 10 is provided, which also includes: a server asset information management module 5.

[0155] The server asset information management module 5 is used to aggregate the silkscreen information of the port slot of each device into the server asset information through the basic input and output firmware, and transmit the server asset information to the controller.

[0156] In this embodiment, the silkscreen information of the port slot of each device is aggregated into the server asset information through the basic input and output firmware, including:

[0157] In the server asset information, the devices are classified and stored according to the silkscreen information of the port slots, and the silkscreen information of the port slots of each type of device is set as the device type number;

[0158] In response to the silkscreen information of the port slot of the newly added device in the server asset information, determining whether the silkscreen information of the port slot of the newly added device has a corresponding device type number;

[0159] In response to the silkscreen information of the port slot of the newly added device having a corresponding device type number, the corresponding device type number is recorded for the newly added device;

[0160] In response to the silkscreen information of the port slot of the newly added device not having a corresponding device type number, the device type number is added to the server asset information, and the silkscreen information of the port slot of the newly added device is saved as the newly added device type number.

[0161] In the above-mentioned port slot silk screen information updating device, the port slot number is obtained according to the port slot position, the silk screen information of the corresponding function of the port slot is collected, the silk screen information is assigned to the port slot number to form a port slot silk screen comparison table, and then the silk screen information corresponding to the port slot number in the port slot silk screen comparison table is verified and identified to meet the preset conditions, and the silk screen information meeting the preset conditions is stored in the basic input and output firmware. The silk screen information in the basic input and output firmware (BIOS) can be automatically updated without the need to develop new basic input and output firmware, which is convenient and fast, and reduces the cost of separately developing an adapted basic input and output firmware version.

[0162] The specific definition of the port slot silk screen information update device can be found in the definition of the port slot silk screen information update method mentioned above, which will not be repeated here. Each module in the above-mentioned port slot silk screen information update device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0163] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0164] Obtain the port slot number according to the port slot position, collect the silk screen information of the port slot corresponding function, and assign the silk screen information to the port slot number to form a port slot silk screen comparison table;

[0165] Obtain component asset information corresponding to the port slot based on the port slot number, extract available silk screen data of the port slot from the asset information of the port slot, and verify whether the silk screen information corresponding to the port slot number in the port slot silk screen comparison table meets the preset conditions according to the available silk screen data corresponding to the port slot number;

[0166] In response to the silk screen information corresponding to the port slot number in the port slot silk screen comparison table meeting the preset condition, the silk screen information corresponding to the port slot number in the port slot silk screen comparison table is stored in the basic input and output firmware, otherwise it is prompted that the silk screen information corresponding to the port slot number in the port slot silk screen comparison table has failed to be verified;

[0167] The silk screen information corresponding to the port slot number in the port slot silk screen comparison table stored in the basic input and output firmware is sent to the port slot corresponding to the port slot number.

[0168] In one embodiment, the computer program further implements the following steps when executed by a processor:

[0169] The port slot number is obtained according to the port slot position, the silk screen information of the corresponding function of the port slot is collected, and the silk screen information is assigned to the port slot number to form a port slot silk screen comparison table including:

[0170] A blank port slot silk screen comparison table is constructed according to the port slot number obtained from the port slot position, wherein the blank port slot silk screen comparison table includes the port slot number and a silk screen information box corresponding to the port slot number and data to be filled in;

[0171] Monitor and obtain the exchange data uploaded by the silk screen information setting tool. The exchange data structure includes the component asset information and silk screen information of the port slot;

[0172] The silk-screen information of the corresponding port slot number is obtained according to the exchange data, and the silk-screen information is filled into the silk-screen information box corresponding to the port slot number to form a port slot silk-screen comparison table.

[0173] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0174] The exchange data uploaded by the monitoring and acquisition silk screen information setting tool includes:

[0175] Get the silk screen name filled in by the silk screen information setting tool according to the port slot function, and generate exchange data according to the silk screen name and the component asset information of the corresponding port slot;

[0176] Set the communication method for the controller to obtain the exchange data uploaded by the silk screen information setting tool, and check whether the controller and the silk screen information setting tool communicate normally;

[0177] In response to the controller communicating normally with the silk screen information setting tool, the exchange data uploaded by the silk screen information setting tool is obtained, otherwise it is prompted that the controller and the silk screen information setting tool cannot communicate.

[0178] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0179] Obtaining component asset information corresponding to the port slot based on the port slot number, extracting available silk screen data of the port slot from the asset information of the port slot, and verifying whether the silk screen information corresponding to the port slot number in the port slot silk screen comparison table meets preset conditions according to the available silk screen data corresponding to the port slot number:

[0180] In response to the controller receiving the port slot silk screen comparison table, obtaining the port slot number and silk screen information of the target port slot in the port slot silk screen comparison table;

[0181] Obtaining component asset information of the target port slot through basic input and output firmware, and extracting available silk screen data of the target port slot from the asset information of the target port slot;

[0182] Determine whether the silk screen information of the target port slot in the port slot silk screen comparison table is one of the available silk screen data;

[0183] In response to the silk screen information of the target port slot in the port slot silk screen comparison table being one of the available silk screen data, it is determined that the silk screen information of the target port slot meets the preset condition, and the mark bit of the target port slot in the port slot silk screen comparison table is modified to have qualified silk screen information, and the silk screen information of the target port slot is sent to the basic input and output firmware;

[0184] In response to the silk screen information of the target port slot in the port slot silk screen comparison table not being one of the available silk screen data, it is determined that the silk screen information of the target port slot does not meet the preset conditions, and a silk screen information filling error of the target port slot is fed back to the silk screen information setting tool.

[0185] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0186] Sending the silk screen information corresponding to the port slot number in the port slot silk screen comparison table stored in the basic input and output firmware to the port slot corresponding to the port slot number includes:

[0187] Determine whether there is a port slot silkscreen comparison table in the basic input and output firmware;

[0188] In response to the presence of a port slot silk screen comparison table in the basic input and output firmware, detecting whether there is corresponding silk screen information for the port slot number in the port slot silk screen comparison table;

[0189] In response to the existence of corresponding silk screen information for the port slot number in the port slot silk screen comparison table, the silk screen information corresponding to the port slot number is sent to the port slot corresponding to the port slot number;

[0190] In response to the port slot number in the port slot silk screen comparison table not having corresponding silk screen information, initiating a silk screen information request to obtain the port slot number in the port slot silk screen comparison table to the controller;

[0191] In response to the absence of a port slot silkscreen comparison table in the basic input and output firmware, obtaining component asset information of the port slot, creating a port slot silkscreen comparison table based on the component asset information of the port slot, and initiating a silkscreen information request to the controller to obtain the port slot position number in the port slot silkscreen comparison table;

[0192] Determine whether there is reply information from the controller, and in response to the existence of reply information from the controller, store the silkscreen information in the reply information in the port slot silkscreen comparison table of the basic input and output firmware, otherwise continue to wait for the reply information from the controller.

[0193] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0194] The silkscreen information of the port slot of each device is summarized into the server asset information through the basic input and output firmware, and the server asset information is transmitted to the controller.

[0195] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0196] The silkscreen information of each device's port slot is summarized into the server asset information through the basic input and output firmware, including:

[0197] In the server asset information, the devices are classified and stored according to the silkscreen information of the port slots, and the silkscreen information of the port slots of each type of device is set as the device type number;

[0198] In response to the silkscreen information of the port slot of the newly added device in the server asset information, determining whether the silkscreen information of the port slot of the newly added device has a corresponding device type number;

[0199] In response to the silkscreen information of the port slot of the newly added device having a corresponding device type number, the corresponding device type number is recorded for the newly added device;

[0200] In response to the silkscreen information of the port slot of the newly added device not having a corresponding device type number, the device type number is added to the server asset information, and the silkscreen information of the port slot of the newly added device is saved as the newly added device type number.

[0201] For the specific limitations on the steps implemented when the computer program is executed by the processor, please refer to the limitations on the method for updating the port slot silk screen information above, which will not be repeated here.

[0202] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 8 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store port slot silk screen information update data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a port slot silk screen information update method is implemented.

[0203] Those skilled in the art will understand that Figure 8The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0204] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:

[0205] Obtain the port slot number according to the port slot position, collect the silk screen information of the port slot corresponding function, and assign the silk screen information to the port slot number to form a port slot silk screen comparison table;

[0206] Obtain component asset information corresponding to the port slot based on the port slot number, extract available silk screen data of the port slot from the asset information of the port slot, and verify whether the silk screen information corresponding to the port slot number in the port slot silk screen comparison table meets the preset conditions according to the available silk screen data corresponding to the port slot number;

[0207] In response to the silk screen information corresponding to the port slot number in the port slot silk screen comparison table meeting the preset condition, the silk screen information corresponding to the port slot number in the port slot silk screen comparison table is stored in the basic input and output firmware, otherwise it is prompted that the silk screen information corresponding to the port slot number in the port slot silk screen comparison table has failed to be verified;

[0208] The silk screen information corresponding to the port slot number in the port slot silk screen comparison table stored in the basic input and output firmware is sent to the port slot corresponding to the port slot number.

[0209] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0210] The port slot number is obtained according to the port slot position, the silk screen information of the corresponding function of the port slot is collected, and the silk screen information is assigned to the port slot number to form a port slot silk screen comparison table including:

[0211] A blank port slot silk screen comparison table is constructed according to the port slot number obtained from the port slot position, wherein the blank port slot silk screen comparison table includes the port slot number and a silk screen information box corresponding to the port slot number and data to be filled in;

[0212] Monitor and obtain the exchange data uploaded by the silk screen information setting tool. The exchange data structure includes the component asset information and silk screen information of the port slot;

[0213] The silk-screen information of the corresponding port slot number is obtained according to the exchange data, and the silk-screen information is filled into the silk-screen information box corresponding to the port slot number to form a port slot silk-screen comparison table.

[0214] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0215] The exchange data uploaded by the monitoring and acquisition silk screen information setting tool includes:

[0216] Get the silk screen name filled in by the silk screen information setting tool according to the port slot function, and generate exchange data according to the silk screen name and the component asset information of the corresponding port slot;

[0217] Set the communication method for the controller to obtain the exchange data uploaded by the silk screen information setting tool, and check whether the controller and the silk screen information setting tool communicate normally;

[0218] In response to the controller communicating normally with the silk screen information setting tool, the exchange data uploaded by the silk screen information setting tool is obtained, otherwise it is prompted that the controller and the silk screen information setting tool cannot communicate.

[0219] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0220] Obtaining component asset information corresponding to the port slot based on the port slot number, extracting available silk screen data of the port slot from the asset information of the port slot, and verifying whether the silk screen information corresponding to the port slot number in the port slot silk screen comparison table meets preset conditions according to the available silk screen data corresponding to the port slot number:

[0221] In response to the controller receiving the port slot silk screen comparison table, obtaining the port slot number and silk screen information of the target port slot in the port slot silk screen comparison table;

[0222] Obtaining component asset information of the target port slot through basic input and output firmware, and extracting available silk screen data of the target port slot from the asset information of the target port slot;

[0223] Determine whether the silk screen information of the target port slot in the port slot silk screen comparison table is one of the available silk screen data;

[0224] In response to the silk screen information of the target port slot in the port slot silk screen comparison table being one of the available silk screen data, it is determined that the silk screen information of the target port slot meets the preset condition, and the mark bit of the target port slot in the port slot silk screen comparison table is modified to have qualified silk screen information, and the silk screen information of the target port slot is sent to the basic input and output firmware;

[0225] In response to the silk screen information of the target port slot in the port slot silk screen comparison table not being one of the available silk screen data, it is determined that the silk screen information of the target port slot does not meet the preset conditions, and a silk screen information filling error of the target port slot is fed back to the silk screen information setting tool.

[0226] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0227] Sending the silk screen information corresponding to the port slot number in the port slot silk screen comparison table stored in the basic input and output firmware to the port slot corresponding to the port slot number includes:

[0228] Determine whether there is a port slot silkscreen comparison table in the basic input and output firmware;

[0229] In response to the presence of a port slot silk screen comparison table in the basic input and output firmware, detecting whether there is corresponding silk screen information for the port slot number in the port slot silk screen comparison table;

[0230] In response to the existence of corresponding silk screen information for the port slot number in the port slot silk screen comparison table, the silk screen information corresponding to the port slot number is sent to the port slot corresponding to the port slot number;

[0231] In response to the port slot number in the port slot silk screen comparison table not having corresponding silk screen information, initiating a silk screen information request to obtain the port slot number in the port slot silk screen comparison table to the controller;

[0232] In response to the absence of a port slot silkscreen comparison table in the basic input and output firmware, obtaining component asset information of the port slot, creating a port slot silkscreen comparison table based on the component asset information of the port slot, and initiating a silkscreen information request to the controller to obtain the port slot position number in the port slot silkscreen comparison table;

[0233] Determine whether there is reply information from the controller, and in response to the existence of reply information from the controller, store the silkscreen information in the reply information in the port slot silkscreen comparison table of the basic input and output firmware, otherwise continue to wait for the reply information from the controller.

[0234] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0235] The silkscreen information of the port slot of each device is summarized into the server asset information through the basic input and output firmware, and the server asset information is transmitted to the controller.

[0236] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0237] The silkscreen information of each device's port slot is summarized into the server asset information through the basic input and output firmware, including:

[0238] In the server asset information, the devices are classified and stored according to the silkscreen information of the port slots, and the silkscreen information of the port slots of each type of device is set as the device type number;

[0239] In response to the silkscreen information of the port slot of the newly added device in the server asset information, determining whether the silkscreen information of the port slot of the newly added device has a corresponding device type number;

[0240] In response to the silkscreen information of the port slot of the newly added device having a corresponding device type number, the corresponding device type number is recorded for the newly added device;

[0241] In response to the silkscreen information of the port slot of the newly added device not having a corresponding device type number, the device type number is added to the server asset information, and the silkscreen information of the port slot of the newly added device is saved as the newly added device type number.

[0242] For the specific limitations on the steps implemented when the processor executes a computer program, please refer to the limitations on the method for updating the port slot silk screen information above, which will not be repeated here.

[0243] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0244] Obtain the port slot number according to the port slot position, collect the silk screen information of the port slot corresponding function, and assign the silk screen information to the port slot number to form a port slot silk screen comparison table;

[0245] Obtain component asset information corresponding to the port slot based on the port slot number, extract available silk screen data of the port slot from the asset information of the port slot, and verify whether the silk screen information corresponding to the port slot number in the port slot silk screen comparison table meets the preset conditions according to the available silk screen data corresponding to the port slot number;

[0246] In response to the silk screen information corresponding to the port slot number in the port slot silk screen comparison table meeting the preset condition, the silk screen information corresponding to the port slot number in the port slot silk screen comparison table is stored in the basic input and output firmware, otherwise it is prompted that the silk screen information corresponding to the port slot number in the port slot silk screen comparison table has failed to be verified;

[0247] The silk screen information corresponding to the port slot number in the port slot silk screen comparison table stored in the basic input and output firmware is sent to the port slot corresponding to the port slot number.

[0248] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0249] The port slot number is obtained according to the port slot position, the silk screen information of the corresponding function of the port slot is collected, and the silk screen information is assigned to the port slot number to form a port slot silk screen comparison table including:

[0250] A blank port slot silk screen comparison table is constructed according to the port slot number obtained from the port slot position, wherein the blank port slot silk screen comparison table includes the port slot number and a silk screen information box corresponding to the port slot number and data to be filled in;

[0251] Monitor and obtain the exchange data uploaded by the silk screen information setting tool. The exchange data structure includes the component asset information and silk screen information of the port slot;

[0252] The silk-screen information of the corresponding port slot number is obtained according to the exchange data, and the silk-screen information is filled into the silk-screen information box corresponding to the port slot number to form a port slot silk-screen comparison table.

[0253] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0254] The exchange data uploaded by the monitoring and acquisition silk screen information setting tool includes:

[0255] Get the silk screen name filled in by the silk screen information setting tool according to the port slot function, and generate exchange data according to the silk screen name and the component asset information of the corresponding port slot;

[0256] Set the communication method for the controller to obtain the exchange data uploaded by the silk screen information setting tool, and check whether the controller and the silk screen information setting tool communicate normally;

[0257] In response to the controller communicating normally with the silk screen information setting tool, the exchange data uploaded by the silk screen information setting tool is obtained, otherwise it is prompted that the controller and the silk screen information setting tool cannot communicate.

[0258] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0259] Obtaining component asset information corresponding to the port slot based on the port slot number, extracting available silk screen data of the port slot from the asset information of the port slot, and verifying whether the silk screen information corresponding to the port slot number in the port slot silk screen comparison table meets preset conditions according to the available silk screen data corresponding to the port slot number:

[0260] In response to the controller receiving the port slot silk screen comparison table, obtaining the port slot number and silk screen information of the target port slot in the port slot silk screen comparison table;

[0261] Obtaining component asset information of the target port slot through basic input and output firmware, and extracting available silk screen data of the target port slot from the asset information of the target port slot;

[0262] Determine whether the silk screen information of the target port slot in the port slot silk screen comparison table is one of the available silk screen data;

[0263] In response to the silk screen information of the target port slot in the port slot silk screen comparison table being one of the available silk screen data, it is determined that the silk screen information of the target port slot meets the preset condition, and the mark bit of the target port slot in the port slot silk screen comparison table is modified to have qualified silk screen information, and the silk screen information of the target port slot is sent to the basic input and output firmware;

[0264] In response to the silk screen information of the target port slot in the port slot silk screen comparison table not being one of the available silk screen data, it is determined that the silk screen information of the target port slot does not meet the preset conditions, and a silk screen information filling error of the target port slot is fed back to the silk screen information setting tool.

[0265] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0266] Sending the silk screen information corresponding to the port slot number in the port slot silk screen comparison table stored in the basic input and output firmware to the port slot corresponding to the port slot number includes:

[0267] Determine whether there is a port slot silkscreen comparison table in the basic input and output firmware;

[0268] In response to the presence of a port slot silk screen comparison table in the basic input and output firmware, detecting whether there is corresponding silk screen information for the port slot number in the port slot silk screen comparison table;

[0269] In response to the existence of corresponding silk screen information for the port slot number in the port slot silk screen comparison table, the silk screen information corresponding to the port slot number is sent to the port slot corresponding to the port slot number;

[0270] In response to the port slot number in the port slot silk screen comparison table not having corresponding silk screen information, initiating a silk screen information request to obtain the port slot number in the port slot silk screen comparison table to the controller;

[0271] In response to the absence of a port slot silkscreen comparison table in the basic input and output firmware, obtaining component asset information of the port slot, creating a port slot silkscreen comparison table based on the component asset information of the port slot, and initiating a silkscreen information request to the controller to obtain the port slot position number in the port slot silkscreen comparison table;

[0272] Determine whether there is reply information from the controller, and in response to the existence of reply information from the controller, store the silkscreen information in the reply information in the port slot silkscreen comparison table of the basic input and output firmware, otherwise continue to wait for the reply information from the controller.

[0273] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0274] The silkscreen information of the port slot of each device is summarized into the server asset information through the basic input and output firmware, and the server asset information is transmitted to the controller.

[0275] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0276] The silkscreen information of each device's port slot is summarized into the server asset information through the basic input and output firmware, including:

[0277] In the server asset information, the devices are classified and stored according to the silkscreen information of the port slots, and the silkscreen information of the port slots of each type of device is set as the device type number;

[0278] In response to the silkscreen information of the port slot of the newly added device in the server asset information, determining whether the silkscreen information of the port slot of the newly added device has a corresponding device type number;

[0279] In response to the silkscreen information of the port slot of the newly added device having a corresponding device type number, the corresponding device type number is recorded for the newly added device;

[0280] In response to the silkscreen information of the port slot of the newly added device not having a corresponding device type number, the device type number is added to the server asset information, and the silkscreen information of the port slot of the newly added device is saved as the newly added device type number.

[0281] For the specific limitations on the steps implemented when the computer program is executed by the processor, please refer to the limitations on the method for updating the port slot silk screen information above, which will not be repeated here.

[0282] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0283] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0284] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A method for updating port slot silk screen information, characterized in that: include: Acquire the port slot number according to the port slot position, collect the silk screen information of the port slot corresponding function, and assign the silk screen information to the port slot number to form a port slot silk screen comparison table; Acquire component asset information corresponding to the port slot based on the port slot number, extract available silk screen data of the port slot from the asset information of the port slot, and verify whether the silk screen information corresponding to the port slot number in the port slot silk screen comparison table meets a preset condition according to the available silk screen data corresponding to the port slot number; In response to the silk-screen information corresponding to the port slot number in the port slot silk-screen comparison table meeting a preset condition, the silk-screen information corresponding to the port slot number in the port slot silk-screen comparison table is stored in the basic input and output firmware, otherwise it is prompted that the silk-screen information corresponding to the port slot number in the port slot silk-screen comparison table has failed to be verified; The silk screen information corresponding to the port slot number in the port slot silk screen comparison table stored in the basic input and output firmware is sent to the port slot corresponding to the port slot number.

2. The method for updating the port slot silk screen information according to claim 1, characterized in that: The obtaining of the port slot number according to the port slot position, collecting the silk screen information of the port slot corresponding function, and assigning the silk screen information to the port slot number to form a port slot silk screen comparison table includes: Constructing a blank port slot silk-screen comparison table according to the port slot number obtained from the port slot position, wherein the blank port slot silk-screen comparison table includes the port slot number and a silk-screen information box corresponding to the port slot number and data to be filled; Monitor and obtain the exchange data uploaded by the silk screen information setting tool, wherein the exchange data structure includes component asset information and silk screen information of the port slot; The silk-screen information corresponding to the port slot number is acquired according to the exchange data, and the silk-screen information is filled into the silk-screen information box corresponding to the port slot number to form a port slot silk-screen comparison table.

3. The method for updating the port slot silk screen information according to claim 2, characterized in that: The exchange data uploaded by the monitoring and obtaining silk screen information setting tool includes: Obtain the silk screen name filled in by the silk screen information setting tool according to the port slot function, and generate exchange data according to the silk screen name and the component asset information of the corresponding port slot; Setting a communication mode for the controller to obtain the exchange data uploaded by the silk screen information setting tool, and detecting whether the controller and the silk screen information setting tool communicate normally; In response to the controller communicating normally with the silk screen information setting tool, the exchange data uploaded by the silk screen information setting tool is acquired; otherwise, it is prompted that the controller and the silk screen information setting tool cannot communicate.

4. The method for updating the port slot silk screen information according to claim 3, characterized in that: The acquiring of component asset information corresponding to the port slot based on the port slot number, extracting available silk screen data of the port slot from the asset information of the port slot, and verifying whether the silk screen information corresponding to the port slot number in the port slot silk screen comparison table meets a preset condition according to the available silk screen data corresponding to the port slot number includes: In response to the controller receiving the port slot silk-screen comparison table, obtaining the port slot number and silk-screen information of the target port slot in the port slot silk-screen comparison table; Obtaining component asset information of the target port slot through basic input and output firmware, and extracting available silk screen data of the target port slot from the asset information of the target port slot; Determine whether the silk screen information of the target port slot in the port slot silk screen comparison table is one of the available silk screen data; In response to the silk screen information of the target port slot in the port slot silk screen comparison table being one of the available silk screen data, determining that the silk screen information of the target port slot meets a preset condition, and modifying the mark bit of the target port slot in the port slot silk screen comparison table to indicate that there is already qualified silk screen information, and sending the silk screen information of the target port slot to the basic input and output firmware; In response to the silk screen information of the target port slot in the port slot silk screen comparison table not being one of the available silk screen data, it is determined that the silk screen information of the target port slot does not meet the preset conditions, and a silk screen information filling error of the target port slot is fed back to the silk screen information setting tool.

5. The method for updating the port slot silk screen information according to claim 1, characterized in that: The sending of the silk screen information corresponding to the port slot number in the port slot silk screen comparison table stored in the basic input and output firmware to the port slot corresponding to the port slot number comprises: Determine whether there is a port slot silk screen comparison table in the basic input and output firmware; In response to the presence of a port slot silkscreen comparison table in the basic input / output firmware, detecting whether the port slot number in the port slot silkscreen comparison table has corresponding silkscreen information; In response to the existence of corresponding silk-screen information for the port slot number in the port slot silk-screen comparison table, sending the silk-screen information corresponding to the port slot number to the port slot corresponding to the port slot number; In response to the port slot number in the port slot silk-screen comparison table not having corresponding silk-screen information, initiating a silk-screen information request for obtaining the port slot number in the port slot silk-screen comparison table to the controller; In response to the absence of a port slot silkscreen comparison table in the basic input and output firmware, obtaining component asset information of the port slot, creating a port slot silkscreen comparison table based on the component asset information of the port slot, and initiating a silkscreen information request to the controller to obtain the port slot position number in the port slot silkscreen comparison table; Determine whether there is reply information from the controller, and in response to the existence of reply information from the controller, store the silkscreen information in the reply information in the port slot silkscreen comparison table of the basic input and output firmware, otherwise continue to wait for the reply information from the controller.

6. The method for updating the port slot silk screen information according to claim 5, characterized in that: The method further comprises: The silkscreen information of the port slot of each device is summarized into the server asset information through the basic input and output firmware, and the server asset information is transmitted to the controller.

7. The method for updating the port slot silk screen information according to claim 6, characterized in that: The step of aggregating the silkscreen information of the port slot of each device into the server asset information through the basic input and output firmware includes: In the server asset information, the devices are classified and stored according to the silkscreen information of the port slots, and the silkscreen information of the port slots of each type of device is set as the device type number; In response to the silkscreen information of the port slot of the newly added device in the server asset information, determining whether the silkscreen information of the port slot of the newly added device has a corresponding device type number; In response to the silkscreen information of the port slot of the newly added device having a corresponding device type number, the corresponding device type number is recorded for the newly added device; In response to the silkscreen information of the port slot of the newly added device not having a corresponding device type number, a new device type number is added to the server asset information, and the silkscreen information of the port slot of the newly added device is saved as the newly added device type number.

8. A device for updating port slot silk screen information, characterized in that: The device comprises: A silk screen information output processing module, used for obtaining the port slot number according to the port slot position, collecting the silk screen information of the port slot corresponding function, and allocating the silk screen information to the port slot number to form a port slot silk screen comparison table; A silk screen information judgment module is used to obtain the component asset information of the corresponding port slot based on the port slot number, extract the available silk screen data of the port slot from the asset information of the port slot, and verify whether the silk screen information corresponding to the port slot number in the port slot silk screen comparison table meets the preset conditions according to the available silk screen data corresponding to the port slot number; A compliance silk screen information management module, for storing the silk screen information corresponding to the port slot number in the port slot silk screen comparison table in the basic input and output firmware in response to the silk screen information corresponding to the port slot number in the port slot silk screen comparison table meeting a preset condition, otherwise prompting that the silk screen information corresponding to the port slot number in the port slot silk screen comparison table fails to be verified; The silk screen information sending module is used to send the silk screen information corresponding to the port slot number in the port slot silk screen comparison table stored in the basic input and output firmware to the port slot corresponding to the port slot number.

9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Screen printing information matching method and device, electronic equipment and expansion card

    CN120743817A

  • Matching method and device for screen printing information, electronic equipment and expansion card

    CN120743817B