Information synchronization method, device, equipment and medium for high-speed serial bus equipment

By obtaining and synchronizing the core physical information of the expansion card after the server is powered on, the problem of incomplete silkscreen information of Riser card is solved, and the server usage efficiency is improved.

CN118689832BActive Publication Date: 2024-11-26INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411187154.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2024-11-26
Estimated Expiration
2044-08-28

AI Technical Summary

Technical Problem

The silkscreen information of existing Riser cards is not comprehensive, which causes users to view through physical disassembly, affecting the efficiency of the server.

Method used

After the server is powered on, all core physical information on the expansion card is obtained, silk screen information is generated, and synchronously updated to the setting interface in the driver execution environment of the basic input and output system to ensure that the information printed on the chassis is consistent with the interface display.

Benefits of technology

It improves the comprehensiveness of the silk screen information of the expansion card, reduces the need for physical disassembly, and improves the efficiency of server use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118689832B_ABST
    Figure CN118689832B_ABST
Patent Text Reader

Abstract

The present invention provides a method, device, equipment and medium for synchronizing information of a high-speed serial bus device, and relates to the technical field of servers. The method comprises: for each expansion card of a server, obtaining all core physical information of each high-speed serial bus device on the expansion card after the server is powered on; generating silk screen information of the expansion card based on all core physical information of each high-speed serial bus device on the expansion card; and synchronously updating the silk screen information of each expansion card to the setting interface of the basic input and output system in the driver execution environment stage of the basic input and output system. The present invention can improve the comprehensiveness of the silk screen information of each expansion card, thereby improving the use efficiency of the server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of servers, and in particular to an information synchronization method, device, equipment and medium for high-speed serial bus equipment. Background Art

[0002] Many high-speed serial bus (Peripheral Component Interconnect Express, PCIE) devices are configured in the server, such as: network card, disk array card, graphics card, sound card, etc. Expansion card (Riser card) is a hardware device used to expand PCIE slots. It can increase the number of PCIE slots by standing vertically, allowing users to install more PCIE devices in a limited physical space.

[0003] The silkscreen information of the existing riser card includes slot information. Since the silkscreen information of the riser card is not comprehensive, the user needs to physically disassemble the machine to check it, which affects the efficiency of the server. Summary of the invention

[0004] The present invention provides an information synchronization method, device, equipment and medium for a high-speed serial bus device, which are used to solve the defect in the prior art that due to the incomplete silk screen information of the riser card, users need to physically disassemble the machine to check, thereby affecting the use efficiency of the server, and achieve the purpose of improving the comprehensiveness of the silk screen information of each expansion card, thereby improving the use efficiency of the server.

[0005] The present invention provides an information synchronization method for a high-speed serial bus device, which is applied to a basic input and output system. The method comprises:

[0006] For each expansion card of the server, after the server is powered on, all core physical information of each high-speed serial bus device on the expansion card is obtained;

[0007] Generating silk screen information of the expansion card based on all core physical information of each high-speed serial bus device on the expansion card;

[0008] In the driver execution environment stage of the basic input and output system, the silk screen information of each expansion card is synchronously updated to the setting interface of the basic input and output system.

[0009] According to a high-speed serial bus device information synchronization method provided by the present invention, the physical silk-screen information of each expansion card printed on the chassis of the server is consistent with the silk-screen information of each expansion card displayed on the setting interface of the basic input and output system; the physical silk-screen information of each expansion card printed on the chassis of the server is determined during the design stage of each expansion card.

[0010] According to a method for synchronizing information of a high-speed serial bus device provided by the present invention, all core physical information of the high-speed serial bus device includes the slot identification, position identification, bandwidth, upper limit of power consumption supported by the slot, external power consumption, transmission rate, and physical length and height of the high-speed serial bus device.

[0011] According to a method for synchronizing information of a high-speed serial bus device provided by the present invention, the method of acquiring all core physical information of each high-speed serial bus device on the expansion card after the server is powered on includes:

[0012] After the server is powered on, determining the splitting status of the peripheral component interconnection standard link of the server;

[0013] Determine bandwidth splitting information of each high-speed serial bus device on the expansion card based on the splitting status of the peripheral component interconnection standard link of the server;

[0014] For each of the high-speed serial bus devices on the expansion card, obtaining a unique identifier of the high-speed serial bus device based on the bandwidth splitting information of the high-speed serial bus device; the unique identifier includes a bus number, a device number and a function number;

[0015] Reading the peripheral component interconnection standard configuration space of the high-speed serial bus device in the peripheral component interconnection standard enumeration phase of the basic input and output system through the unique identifier; the current parameters of the peripheral component interconnection standard configuration space of the high-speed serial bus device include the slot identification, position identification, bandwidth, external power supply energy consumption, transmission rate, and physical length and height of the high-speed serial bus device;

[0016] Writing the upper limit value of power consumption supported by the slot of the high-speed serial bus device into the peripheral component interconnection standard configuration space of the high-speed serial bus device;

[0017] By reading the peripheral component interconnection standard configuration space of the high-speed serial bus device, the slot identification, position identification, bandwidth, upper limit value of power consumption supported by the slot, external power consumption, transmission rate, physical length and height of the high-speed serial bus device are confirmed and the values ​​are obtained.

[0018] According to a method for synchronizing information of a high-speed serial bus device provided by the present invention, the step of determining the splitting status of the peripheral component interconnection standard link of the server comprises:

[0019] Reading a register of a general purpose input / output chip through an internal integrated circuit bus to obtain the status of each general purpose input / output signal pin from the register;

[0020] The splitting status of the peripheral component interconnection standard link of the server is determined based on the status of each general input and output signal pin.

[0021] According to a method for synchronizing information of a high-speed serial bus device provided by the present invention, the step of determining the splitting status of the peripheral component interconnection standard link of the server comprises:

[0022] Receiving the status of each general input and output signal pin sent by the baseboard management controller through the intelligent platform management interface protocol; the status of each general input and output signal pin is read by the baseboard management controller through the internal integrated circuit bus;

[0023] The splitting status of the peripheral component interconnection standard link of the server is determined based on the status of each general input and output signal pin.

[0024] According to a method for synchronizing information of a high-speed serial bus device provided by the present invention, the step of determining the splitting status of the peripheral component interconnection standard link of the server comprises:

[0025] Acquiring information of field replaceable components through intelligent platform management interface commands; the information of the field replaceable components is updated by a baseboard management controller through a tool;

[0026] A splitting condition of a peripheral component interconnect standard link of the server is determined based on the information of the field replaceable component.

[0027] According to a method for synchronizing information of a high-speed serial bus device provided by the present invention, the method of writing the upper limit value of power consumption supported by the slot of the high-speed serial bus device into the peripheral component interconnection standard configuration space of the high-speed serial bus device comprises:

[0028] Determine whether there is an upper limit value of power consumption supported by the original slot in the peripheral component interconnection standard configuration space of the high-speed serial bus device;

[0029] When it is determined that the upper limit value of power consumption supported by the original slot does not exist in the peripheral component interconnection standard configuration space of the high-speed serial bus device, the upper limit value of power consumption supported by the slot of the high-speed serial bus device is written into the peripheral component interconnection standard configuration space of the high-speed serial bus device.

[0030] According to the present invention, a method for synchronizing information of a high-speed serial bus device further comprises:

[0031] In the case of determining that the upper limit value of power consumption supported by the original slot exists in the peripheral component interconnection standard configuration space of the high-speed serial bus device, determining whether the upper limit value of power consumption supported by the original slot is correct;

[0032] When it is determined that the upper limit value of power consumption supported by the original slot is incorrect, the upper limit value of power consumption supported by the slot of the high-speed serial bus device is written into the peripheral component interconnection standard configuration space of the high-speed serial bus device.

[0033] According to an information synchronization method for a high-speed serial bus device provided by the present invention, the upper limit value of power consumption supported by the slot of the high-speed serial bus device is determined based on the type of the expansion card and the physical specification of the expansion card.

[0034] According to the present invention, a method for synchronizing information of a high-speed serial bus device further comprises:

[0035] The silk-screen information of the expansion card is filled into the ninth structural type information of the system management specification information used to describe the information and configuration of the server hardware.

[0036] The present invention also provides an information synchronization device for a high-speed serial bus device, which is applied to a basic input and output system, and the device comprises:

[0037] An information acquisition module, for acquiring, for each expansion card of a server, all core physical information of each high-speed serial bus device on the expansion card after the server is powered on;

[0038] A silk screen generation module, used for generating silk screen information of the expansion card based on all core physical information of each high-speed serial bus device on the expansion card;

[0039] The synchronous updating module is used to synchronously update the silk screen information of each expansion card to the setting interface of the basic input and output system.

[0040] The present invention also provides an electronic device, 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 information synchronization method of the high-speed serial bus device as described in any one of the above is implemented.

[0041] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the information synchronization method of the high-speed serial bus device as described in any one of the above is implemented.

[0042] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the information synchronization method of the high-speed serial bus device as described in any one of the above is implemented.

[0043] The information synchronization method, device, equipment and medium of the high-speed serial bus device provided by the present invention, first, for each expansion card of the server, all the core physical information of each high-speed serial bus device on the expansion card is obtained after the server is powered on; then, the silk screen information of the expansion card is generated based on all the core physical information of each high-speed serial bus device on the expansion card, which can improve the comprehensiveness of the silk screen information of the expansion card; finally, in the driver execution environment stage of the basic input and output system, the silk screen information of each expansion card is synchronously updated to the setting interface of the basic input and output system, which is convenient for viewing the silk screen information of each expansion card, and there is no need to view it by physically disassembling the machine, which can improve the use efficiency of the server. Therefore, the present invention can improve the comprehensiveness of the silk screen information of each expansion card, thereby improving the use efficiency of the server. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0045] Figure 1 This is one of the flow charts of the information synchronization method of the high-speed serial bus device provided by the embodiment of the present invention.

[0046] Figure 2 It is a schematic diagram of a server mainboard provided by an embodiment of the present invention.

[0047] Figure 3 It is a schematic diagram of the silk-screen information of the riser card 1 provided by an embodiment of the present invention.

[0048] Figure 4 It is a schematic diagram of the silk-screen information of the riser card 2 provided by an embodiment of the present invention.

[0049] Figure 5 The figure is a schematic diagram of the correspondence between the riser card information and the Type 9 information provided by the embodiment of the present invention.

[0050] Figure 6 This is the second flow chart of the information synchronization method of the high-speed serial bus device provided by the embodiment of the present invention.

[0051] Figure 7 This is the third flow chart of the information synchronization method of the high-speed serial bus device provided by the embodiment of the present invention.

[0052] Figure 8 It is a schematic diagram of the structure of an information synchronization device for a high-speed serial bus device provided by an embodiment of the present invention.

[0053] Fig. 9 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0055] Combine the following Figure 1-Figure 6 The information synchronization method of the high-speed serial bus device of the present invention is described.

[0056] Please refer to Figure 1 , Figure 1 FIG. 1 is a flow chart of an information synchronization method for a high-speed serial bus device provided by an embodiment of the present invention. The method is applied to a basic input and output system, such as Figure 1 As shown, the method may include steps 101 to 103.

[0057] Step 101: For each expansion card of the server, obtain all core physical information of each high-speed serial bus device on the expansion card after the server is powered on.

[0058] Specifically, Figure 2 As shown, the server motherboard is installed with N riser cards, and each riser card has multiple slots. Each slot of the riser card can be plugged with high-speed serial bus devices such as network cards, disk array cards, graphics cards, and sound cards. Among them, LPC stands for Low Pin Count Bus, SPI stands for Serial Peripheral Interface, QSPI stands for Quad SPI, CCIX stands for Accelerator Cache Coherent Interconnect, UPI stands for Ultra Path Interconnect, GMI stands for Global Memory Interconnect, and OCP stands for Open Compute Project.

[0059] For each riser card, obtain all core physical information of each high-speed serial bus device on the riser card after the server is powered on. Optionally, all core physical information of the high-speed serial bus device includes a slot identifier, a position identifier, a bandwidth, an upper limit value of power consumption (PWR) supported by the slot, an external power consumption (Ext), a transmission rate, and a physical length and height of the high-speed serial bus device.

[0060] In one embodiment, step 101 may include the following sub-steps:

[0061] Step 1011: after the server is powered on, determine the splitting status of the peripheral component interconnect (PCI) link of the server;

[0062] Step 1012: Based on the splitting status of the PCI link of the server, determine the bandwidth splitting information of each high-speed serial bus device on the expansion card;

[0063] Step 1013: for each high-speed serial bus device on the expansion card, obtain a unique identifier of the high-speed serial bus device based on the bandwidth splitting information of the high-speed serial bus device; the unique identifier includes a bus number, a device number and a function number (BDF number);

[0064] Step 1014: read the PCI configuration space of the high-speed serial bus device in the PCI enumeration phase of the basic input / output system through the unique identifier; the current parameters of the PCI configuration space of the high-speed serial bus device include the slot identification, position identification, bandwidth, external power supply energy consumption, transmission rate, and physical length and height of the high-speed serial bus device;

[0065] Step 1015, writing the upper limit value of power consumption supported by the slot of the high-speed serial bus device into the PCI configuration space of the high-speed serial bus device;

[0066] Step 1016: by reading the PCI configuration space of the high-speed serial bus device, the slot identification, location identification, bandwidth, upper limit of power consumption supported by the slot, external power consumption, transmission rate, physical length and height of the high-speed serial bus device are confirmed and the values ​​are obtained.

[0067] In step 1011, the splitting status of the PCI link of the server may be determined through the following three possible implementations.

[0068] 1) Read the register of the general-purpose input / output (GPIO) chip through the inter-integrated circuit (I2C) bus to obtain the status of each GPIO signal pin from the register; determine the splitting status of the PCI link of the server based on the status of each GPIO signal pin.

[0069] In this implementation, the BIOS obtains the status of each GPIO signal pin through the I2C bus, thereby determining the splitting status of the PCI link of the server.

[0070] 2) Receive the status of each GPIO signal pin sent by the baseboard management controller through the Intelligent Platform Management Interface (IPMI) protocol; the status of each GPIO signal pin is read by the baseboard management controller through the I2C bus; determine the splitting status of the PCI link of the server based on the status of each GPIO signal pin.

[0071] In this embodiment, the BMC obtains the status of each GPIO signal pin through the I2C bus and sends it to the BIOS, so that the BIOS determines the splitting status of the PCI link of the server, without the need for the BIOS to obtain the status of each GPIO signal pin through the I2C bus.

[0072] 3) Obtaining Field Replace Unit (FRU) information through IPMI commands; FRU information is updated by the baseboard management controller through a tool; determining the splitting status of the PCI link of the server based on the FRU information.

[0073] In this embodiment, the BMC updates the FRU information through a tool, and the BIOS obtains the FRU information through an IPMI command, thereby determining the splitting status of the PCI link of the server without obtaining the status of each GPIO signal pin.

[0074] In step 1015, the upper limit of power consumption supported by the slot of the high-speed serial bus device is determined based on the type of the expansion card and the physical specification of the expansion card.

[0075] In one embodiment, it is determined whether there is an upper limit value of power consumption supported by the original slot in the PCI configuration space of the high-speed serial bus device; if it is determined that there is no upper limit value of power consumption supported by the original slot in the PCI configuration space of the high-speed serial bus device, the upper limit value of power consumption supported by the slot of the high-speed serial bus device is written into the PCI configuration space of the high-speed serial bus device. In this way, the upper limit value of power consumption supported by the slot of the high-speed serial bus device that is missing in the PCI configuration space of the high-speed serial bus device can be supplemented.

[0076] In another embodiment, when it is determined that the original upper limit value of power consumption supported by the slot exists in the PCI configuration space of the high-speed serial bus device, it is determined whether the original upper limit value of power consumption supported by the slot is correct; when it is determined that the original upper limit value of power consumption supported by the slot is incorrect, the upper limit value of power consumption supported by the slot of the high-speed serial bus device is written into the PCI configuration space of the high-speed serial bus device. In this way, the incorrect original upper limit value of power consumption supported by the slot in the PCI configuration space of the high-speed serial bus device can be corrected to the upper limit value of power consumption supported by the slot of the high-speed serial bus device.

[0077] In step 1016, illustratively, by reading the PCI configuration space of the high-speed serial bus device, the slot identifier (SlotX (X is from 1 to 6 by default)), the position identifier (PCIEX (X is from 1 by default)), the bandwidth (X16, X8, X4, X2, X1), the upper limit of the power consumption supported by the slot (125W, 75W, 25W), the external power consumption (22.5W, 75W), the transmission rate (Gen5-32GT / S, Gen4-16GT / S, Gen3-8GT / S, Gen2-5GT / S, Gen1-2.5GT / S), and the physical length and height (full-height full-length (FH FL), half-height half-length (HH HL), full-height half-length (FH HL), half-height full-length (HH FL), multiple combinations of numerator / denominator height-numerator / denominator length, etc.) of the high-speed serial bus device are confirmed and the values ​​are obtained.

[0078] Step 102: Generate silk screen information of the expansion card based on all core physical information of each high-speed serial bus device on the expansion card.

[0079] For example, Figure 3As shown, for Riser card 1, the silk screen information of Riser card 1 generated based on all core physical information of each high-speed serial bus device of Riser card 1 includes information of PCIE1 device and PCIE2 device. Among them, the information of PCIE1 device is: Slot1 / 4, PCIE1, X16 (X8, X4, X2, X1), PWR: 125W (75W, 25W), Ext: 22.5W (75W), Gen5 (Gen4, Gen3, Gen2, Gen1), 32GT / S (16GT / S, 8GT / S, 5GT / S, 2.5GT / S), FH (HH), FL (HL). The information of PCIE2 device is: Slot2 / 5, PCIE2, X8 (X4, X2, X1), PWR: 75W (25W), Ext: 22.5W, Gen5 (Gen4, Gen3, Gen2, Gen1), 16GT / S (8GT / S, 5GT / S, 2.5GT / S), HH, FL (HL).

[0080] like Figure 4 As shown, for Riser card 2, the silk screen information of Riser card 2 generated based on all core physical information of each high-speed serial bus device of Riser card 2 includes information of PCIE3 device, PCIE4 device and PCIE5 device. Among them, the information of PCIE3 device is: Slot3 / 6, PCIE3, X16 (X8, X4, X2, X1), PWR: 125W (25W), Ext: 22.5W (75W), Gen5 (Gen4, Gen3, Gen2, Gen1), 32GT / S (16GT / S, 8GT / S, 5GT / S, 2.5GT / S), FH, FL. The PCIE4 device information is: Slot4 / 7, PCIE4, X16 (X8, X4), PWR: 125W (25W), Ext: 75W, Gen4 (Gen3, Gen2, Gen1), 16GT / S (8GT / S, 5GT / S, 2.5GT / S), HH, HL. The PCIE5 device information is: Slot8 / 9, PCIE5, X8 (X4, X1), PWR: 25W, Ext: 22.5W, Gen5 (Gen4, Gen3, Gen2, Gen1), 32GT / S (16GT / S, 8GT / S, 5GT / S, 2.5GT / S), FH (HH), FL (HL).

[0081] It should be noted that the above Figure 3 and Figure 4 The silk screen information is only used to teach those skilled in the art how to use the present invention, and the present invention is not limited thereto.

[0082] Step 103 : In the driver execution environment stage of the basic input / output system, the silk screen information of each expansion card is synchronously updated to the setting interface of the basic input / output system.

[0083] In one embodiment, the physical silk-screen information of each expansion card printed on the chassis of the server is consistent with the silk-screen information of each expansion card displayed on the setting interface of the basic input and output system; the physical silk-screen information of each expansion card printed on the chassis of the server is determined during the design stage of each expansion card.

[0084] Specifically, during the design phase of each expansion card, the physical silk-screen information of each expansion card needs to be uniquely identified, and then the physical silk-screen information of each expansion card is printed on the chassis of the server. During the Driver Execution Environment (DXE) phase of the BIOS, the silk-screen information of each expansion card is synchronously updated to the BIOS Setup interface, so that the silk-screen information of each expansion card displayed on the BIOS Setup interface is consistent with the physical silk-screen information of each expansion card printed on the chassis of the server.

[0085] The information synchronization method of the high-speed serial bus device provided by the embodiment of the present invention first obtains all the core physical information of each high-speed serial bus device on the expansion card after the server is powered on for each expansion card of the server; then, based on all the core physical information of each high-speed serial bus device on the expansion card, the silk screen information of the expansion card is generated, which can improve the comprehensiveness of the silk screen information of the expansion card; finally, in the driver execution environment stage of the basic input and output system, the silk screen information of each expansion card is synchronously updated to the setting interface of the basic input and output system, which is convenient for viewing the silk screen information of each expansion card, and there is no need to view it by physically disassembling the machine, which can improve the use efficiency of the server. Therefore, the embodiment of the present invention can improve the comprehensiveness of the silk screen information of each expansion card, thereby improving the use efficiency of the server.

[0086] In one embodiment, the method further includes: filling the silkscreen information of the expansion card into the ninth structure type (Type 9) information of the system management specification (System Management BIOS, SMBIOS) information used to describe the information and configuration of the server hardware. In this way, the silkscreen information of each expansion card in the SMBIOS information is also consistent with the physical silkscreen information of each expansion card printed on the chassis of the server.

[0087] Specifically, when the silkscreen information of the riser card is filled into the Type 9 information of the SMBIOS information, it needs to be filled in according to the format of the riser card information and the Type 9 information of the SMBIOS information. The riser card information may include the silkscreen information of the riser card and the BDF number of the PCIE device.

[0088] The format of Type 9 information of SMBIOS information is shown in Table 1.

[0089] Table 1 Type9 information

[0090]

[0091] Table 2 shows the format of the riser card information.

[0092] Table 2 Riser card information

[0093]

[0094] like Figure 5 As shown in the figure, SlotX, PCIEX, PWR: 125W (75W, 25W), Ext: 22.5W (75W), Gen5 (Gen4, Gen3, Gen2, Gen1), 32GT / S (16GT / S, 8GT / S, 5GT / S, 2.5GT / S), FH (HH), FL (HL) of the riser card are filled in the PCIE device position information in the Type9 information, X16 (X8, X4, X2, X1) of the riser card is filled in the PCIE device bandwidth and PCI protocol number in the Type9 information, and the BDF number of the PCIE device of the riser card is filled in the PCIE device BDF number in the Type9 information.

[0095] Then, if Figure 6 and Figure 7 As shown, the server continues to start. After entering the operating system, the PCIE device location information in the Type9 information of the SMBIOS information can be viewed through system commands. The PCIE device's SlotX, PCIEX, PWR: 125W (75W, 25W), Ext: 22.5W (75W), Gen5 (Gen4, Gen3, Gen2, Gen1), 32GT / S (16GT / S, 8GT / S, 5GT / S, 2.5GT / S), FH (HH), and FL (HL) can be displayed in detail. The PCIE device bandwidth and PCI protocol number in the Type9 information of the SMBIOS information can be viewed through system commands. The X16 (X8, X4, X2, X1) of the PCIE device can be displayed, and it is consistent with the physical silk-screen information. Through the command, it can be viewed that the upper limit of the power consumption supported by the slot of the PCIE device is consistent with the physical silk-screen information of the Riser card, especially the slot identification of the PCIE device is consistent with the slot where the PCIE device is located, so that the location information is accurate and unique.

[0096] The information synchronization device of the high-speed serial bus device provided by the present invention is described below. The information synchronization device of the high-speed serial bus device described below and the information synchronization method of the high-speed serial bus device described above can be referred to each other.

[0097] Please refer to Figure 8 , Figure 8 1 is a schematic diagram of the structure of an information synchronization device for a high-speed serial bus device provided by an embodiment of the present invention. The device is applied to a basic input and output system, such as Figure 8 As shown, the device may include:

[0098] The information acquisition module 801 is used to acquire all core physical information of each high-speed serial bus device on each expansion card of the server after the server is powered on;

[0099] The silk screen generation module 802 is used to generate silk screen information of the expansion card based on all core physical information of each high-speed serial bus device on the expansion card;

[0100] The synchronous updating module 803 is used to synchronously update the silk screen information of each expansion card to the setting interface of the basic input and output system.

[0101] In one embodiment, the physical silk-screen information of each expansion card printed on the chassis of the server is consistent with the silk-screen information of each expansion card displayed on the setting interface of the basic input and output system; the physical silk-screen information of each expansion card printed on the chassis of the server is determined during the design stage of each expansion card.

[0102] In one embodiment, all core physical information of the high-speed serial bus device includes the slot identification, location identification, bandwidth, upper limit of power consumption supported by the slot, external power consumption, transmission rate, and physical length and height of the high-speed serial bus device.

[0103] In one embodiment, the information acquisition module 801 includes:

[0104] A first determining unit is used to determine the splitting status of the peripheral component interconnection standard link of the server after the server is powered on;

[0105] A second determining unit is used to determine bandwidth splitting information of each high-speed serial bus device on the expansion card based on the splitting status of the peripheral component interconnection standard link of the server;

[0106] An acquisition unit, for obtaining a unique identifier of the high-speed serial bus device based on the bandwidth splitting information of the high-speed serial bus device for each high-speed serial bus device on the expansion card; the unique identifier includes a bus number, a device number and a function number;

[0107] The first reading unit is used to read the peripheral component interconnection standard configuration space of the high-speed serial bus device in the peripheral component interconnection standard enumeration phase of the basic input and output system through the unique identifier; the current parameters of the peripheral component interconnection standard configuration space of the high-speed serial bus device include the slot identification, position identification, bandwidth, external power supply energy consumption, transmission rate, and physical length and height of the high-speed serial bus device;

[0108] A writing unit, used for writing the upper limit value of power consumption supported by the slot of the high-speed serial bus device into the peripheral component interconnection standard configuration space of the high-speed serial bus device;

[0109] The second reading unit is used to confirm and obtain the values ​​of the slot identification, position identification, bandwidth, upper limit value of power consumption supported by the slot, external power consumption, transmission rate, physical length and height of the high-speed serial bus device by reading the peripheral component interconnection standard configuration space of the high-speed serial bus device.

[0110] In one embodiment, the first determining unit is specifically configured to:

[0111] Read the register of the general purpose input and output chip through the internal integrated circuit bus to obtain the status of each general purpose input and output signal pin from the register;

[0112] The splitting status of the peripheral component interconnect standard link of the server is determined based on the status of each general purpose input and output signal pin.

[0113] In one embodiment, the first determining unit is specifically configured to:

[0114] receiving the status of each general input and output signal pin sent by the baseboard management controller through the intelligent platform management interface protocol; the status of each general input and output signal pin is read by the baseboard management controller through the internal integrated circuit bus;

[0115] The splitting status of the peripheral component interconnect standard link of the server is determined based on the status of each general purpose input and output signal pin.

[0116] In one embodiment, the first determining unit is specifically configured to:

[0117] The information of the field replaceable components is obtained through the intelligent platform management interface command; the information of the field replaceable components is updated by the baseboard management controller through the tool;

[0118] A splitting condition of a peripheral component interconnect standard link of the server is determined based on the information of the field replaceable component.

[0119] In one embodiment, the writing unit is specifically used for:

[0120] Determine whether there is an upper limit value of power consumption supported by the original slot in the peripheral component interconnection standard configuration space of the high-speed serial bus device;

[0121] When it is determined that the power consumption upper limit value supported by the original slot does not exist in the peripheral component interconnection standard configuration space of the high-speed serial bus device, the power consumption upper limit value supported by the slot of the high-speed serial bus device is written into the peripheral component interconnection standard configuration space of the high-speed serial bus device.

[0122] In one embodiment, the writing unit is further configured to:

[0123] In the case where it is determined that there is an upper limit value of power consumption supported by the original slot in the peripheral component interconnection standard configuration space of the high-speed serial bus device, determining whether the upper limit value of power consumption supported by the original slot is correct;

[0124] When it is determined that the upper limit value of power consumption supported by the original slot is incorrect, the upper limit value of power consumption supported by the slot of the high-speed serial bus device is written into the peripheral component interconnection standard configuration space of the high-speed serial bus device.

[0125] In one embodiment, the upper limit of power consumption supported by the slot of the high-speed serial bus device is determined based on the type of the expansion card and the physical specification of the expansion card.

[0126] In one embodiment, the apparatus further comprises:

[0127] The filling module is used to fill the silk-screen information of the expansion card into the ninth structure type information of the system management specification information used to describe the information and configuration of the server hardware.

[0128] Fig. 9 An example of a physical structure diagram of an electronic device is shown in FIG. Fig. 9 As shown, the electronic device may include: a processor 910, a communication interface 920, a memory 930 and a communication bus 940, wherein the processor 910, the communication interface 920 and the memory 930 communicate with each other through the communication bus 940. The processor 910 may call the logic instructions in the memory 930 to execute the information synchronization method of the high-speed serial bus device, the method comprising: for each expansion card of the server, obtaining all the core physical information of each high-speed serial bus device on the expansion card after the server is powered on; generating the silk screen information of the expansion card based on all the core physical information of each high-speed serial bus device on the expansion card; in the driver execution environment stage of the basic input and output system, synchronously updating the silk screen information of each expansion card to the setting interface of the basic input and output system.

[0129] In addition, the logic instructions in the above-mentioned memory 930 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0130] On the other hand, the present invention also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the information synchronization method of the high-speed serial bus device provided by the above-mentioned method embodiments, the method including: for each expansion card of the server, obtaining all core physical information of each high-speed serial bus device on the expansion card after the server is powered on; generating silk screen information of the expansion card based on all core physical information of each high-speed serial bus device on the expansion card; in the driver execution environment stage of the basic input and output system, synchronously updating the silk screen information of each expansion card to the setting interface of the basic input and output system.

[0131] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute the information synchronization method of the high-speed serial bus device provided by the above-mentioned method embodiments. The method includes: for each expansion card of the server, obtaining all core physical information of each high-speed serial bus device on the expansion card after the server is powered on; generating silk screen information of the expansion card based on all core physical information of each high-speed serial bus device on the expansion card; in the driver execution environment stage of the basic input and output system, synchronously updating the silk screen information of each expansion card to the setting interface of the basic input and output system.

[0132] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.

[0133] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0134] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for synchronizing information of a high-speed serial bus device, characterized in that: Applied to a basic input and output system, the method comprises: For each expansion card of the server, after the server is powered on, all core physical information of each high-speed serial bus device on the expansion card is obtained; Generating silk screen information of the expansion card based on all core physical information of each high-speed serial bus device on the expansion card; In the driver execution environment stage of the basic input and output system, the silk screen information of each expansion card is synchronously updated to the setting interface of the basic input and output system; the silk screen information of each expansion card includes the slot identification, position identification, bandwidth, upper limit value of power consumption supported by the slot, external power consumption, transmission rate, and physical length and height of each high-speed serial bus device on each expansion card; The step of obtaining all core physical information of each high-speed serial bus device on the expansion card after the server is powered on includes: After the server is powered on, determining the splitting status of the peripheral component interconnection standard link of the server; Determine bandwidth splitting information of each high-speed serial bus device on the expansion card based on the splitting status of the peripheral component interconnection standard link of the server; For each of the high-speed serial bus devices on the expansion card, obtaining a unique identifier of the high-speed serial bus device based on the bandwidth splitting information of the high-speed serial bus device; the unique identifier includes a bus number, a device number and a function number; Reading the peripheral component interconnection standard configuration space of the high-speed serial bus device in the peripheral component interconnection standard enumeration phase of the basic input and output system through the unique identifier; the current parameters of the peripheral component interconnection standard configuration space of the high-speed serial bus device include the slot identification, position identification, bandwidth, external power supply energy consumption, transmission rate, and physical length and height of the high-speed serial bus device; Writing the upper limit value of power consumption supported by the slot of the high-speed serial bus device into the peripheral component interconnection standard configuration space of the high-speed serial bus device; By reading the peripheral component interconnection standard configuration space of the high-speed serial bus device, the slot identification, position identification, bandwidth, upper limit value of power consumption supported by the slot, external power consumption, transmission rate, physical length and height of the high-speed serial bus device are confirmed and the values ​​are obtained.

2. The information synchronization method of a high-speed serial bus device according to claim 1, characterized in that: The physical silk-screen information of each expansion card printed on the chassis of the server is consistent with the silk-screen information of each expansion card displayed on the setting interface of the basic input / output system; the physical silk-screen information of each expansion card printed on the chassis of the server is determined during the design stage of each expansion card.

3. The information synchronization method of high-speed serial bus equipment according to claim 2, characterized in that: All core physical information of the high-speed serial bus device includes the slot identification, position identification, bandwidth, upper limit of power consumption supported by the slot, external power consumption, transmission rate, and physical length and height of the high-speed serial bus device.

4. The information synchronization method of high-speed serial bus equipment according to claim 3, characterized in that: The determining of the splitting status of the peripheral component interconnection standard link of the server includes: Reading a register of a general purpose input / output chip through an internal integrated circuit bus to obtain the status of each general purpose input / output signal pin from the register; The splitting status of the peripheral component interconnection standard link of the server is determined based on the status of each general input and output signal pin.

5. The information synchronization method of high-speed serial bus equipment according to claim 3, characterized in that: The determining of the splitting status of the peripheral component interconnection standard link of the server includes: Receiving the status of each general input and output signal pin sent by the baseboard management controller through the intelligent platform management interface protocol; the status of each general input and output signal pin is read by the baseboard management controller through the internal integrated circuit bus; The splitting status of the peripheral component interconnection standard link of the server is determined based on the status of each general input and output signal pin.

6. The information synchronization method of high-speed serial bus equipment according to claim 3, characterized in that: The determining of the splitting status of the peripheral component interconnection standard link of the server includes: Acquiring information of field replaceable components through intelligent platform management interface commands; the information of the field replaceable components is updated by a baseboard management controller through a tool; A splitting condition of a peripheral component interconnect standard link of the server is determined based on the information of the field replaceable component.

7. The information synchronization method of high-speed serial bus equipment according to claim 3, characterized in that: The step of writing the upper limit value of power consumption supported by the slot of the high-speed serial bus device into the peripheral component interconnection standard configuration space of the high-speed serial bus device comprises: Determine whether there is an upper limit value of power consumption supported by the original slot in the peripheral component interconnection standard configuration space of the high-speed serial bus device; When it is determined that the upper limit value of power consumption supported by the original slot does not exist in the peripheral component interconnection standard configuration space of the high-speed serial bus device, the upper limit value of power consumption supported by the slot of the high-speed serial bus device is written into the peripheral component interconnection standard configuration space of the high-speed serial bus device.

8. The information synchronization method of high-speed serial bus equipment according to claim 7, characterized in that: Also includes: In the case of determining that the upper limit value of power consumption supported by the original slot exists in the peripheral component interconnection standard configuration space of the high-speed serial bus device, determining whether the upper limit value of power consumption supported by the original slot is correct; When it is determined that the upper limit value of power consumption supported by the original slot is incorrect, the upper limit value of power consumption supported by the slot of the high-speed serial bus device is written into the peripheral component interconnection standard configuration space of the high-speed serial bus device.

9. The information synchronization method of a high-speed serial bus device according to any one of claims 1, 7 and 8, characterized in that: The upper limit value of power consumption supported by the slot of the high-speed serial bus device is determined based on the type of the expansion card and the physical specification of the expansion card.

10. The information synchronization method of a high-speed serial bus device according to any one of claims 1 to 8, characterized in that: Also includes: The silk-screen information of the expansion card is filled into the ninth structural type information of the system management specification information used to describe the information and configuration of the server hardware.

11. An information synchronization device for a high-speed serial bus device, characterized in that: Applied to a basic input and output system, the device comprises: An information acquisition module, for acquiring, for each expansion card of a server, all core physical information of each high-speed serial bus device on the expansion card after the server is powered on; A silk screen generation module, used for generating silk screen information of the expansion card based on all core physical information of each high-speed serial bus device on the expansion card; A synchronous update module, used for synchronously updating the silkscreen information of each expansion card to the setting interface of the basic input and output system; the silkscreen information of each expansion card includes the slot identification, position identification, bandwidth, upper limit value of power consumption supported by the slot, external power consumption, transmission rate, and physical length and height of each high-speed serial bus device on each expansion card; The information acquisition module includes: A first determining unit, configured to determine a splitting condition of a peripheral component interconnection standard link of the server after the server is powered on; A second determining unit is used to determine bandwidth splitting information of each high-speed serial bus device on the expansion card based on the splitting status of the peripheral component interconnection standard link of the server; an acquisition unit, configured to obtain, for each of the high-speed serial bus devices on the expansion card, a unique identifier of the high-speed serial bus device based on the bandwidth splitting information of the high-speed serial bus device; the unique identifier includes a bus number, a device number and a function number; A first reading unit is used to read the peripheral component interconnection standard configuration space of the high-speed serial bus device in the peripheral component interconnection standard enumeration phase of the basic input and output system through the unique identifier; the current parameters of the peripheral component interconnection standard configuration space of the high-speed serial bus device include the slot identification, position identification, bandwidth, external power supply energy consumption, transmission rate, and physical length and height of the high-speed serial bus device; A writing unit, used for writing the upper limit value of power consumption supported by the slot of the high-speed serial bus device into the peripheral component interconnection standard configuration space of the high-speed serial bus device; The second reading unit is used to confirm and obtain the values ​​of the slot identification, position identification, bandwidth, upper limit value of power consumption supported by the slot, external power consumption, transmission rate, physical length and height of the high-speed serial bus device by reading the peripheral component interconnection standard configuration space of the high-speed serial bus device.

12. An electronic device 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 information synchronization method of the high-speed serial bus device according to any one of claims 1 to 10 is implemented.

13. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the information synchronization method of a high-speed serial bus device according to any one of claims 1 to 10 is implemented.

14. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the information synchronization method of a high-speed serial bus device according to any one of claims 1 to 10 is implemented.