Method of adjusting power-up timing and system of adjusting power-up timing

By interacting with the CPLD, I2C lines, and expansion cards, the problem of power supply interfaces failing to power on in a timely manner when the physical location or number of smart network cards changes is solved. This achieves efficient and stable power-on timing adjustment, simplifies logic code, and improves hardware design compatibility.

CN117784906BActive Publication Date: 2026-11-24INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311774093.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-21
Publication Date
2026-11-24
Estimated Expiration
2043-12-21

AI Technical Summary

Technical Problem

When the physical location or number of smart network cards is changed, it is impossible to power on the connected power interfaces in a timely manner. Existing technologies have complex and inefficient logic codes and pose a risk of address conflicts.

Method used

By designing a system for adjusting power-on timing, the system utilizes the interaction between a complex programmable logic device (CPLD) and I2C lines and expansion cards to scan the configuration information of the board and expansion cards, determine the power-on timing of the power supply interface, and simplify the logic code by communicating with the baseboard management controller (BMC) through the I2C lines without interaction.

Benefits of technology

It improves the efficiency of power-on timing adjustment, reduces the risk of address conflicts, enhances the compatibility and stability of hardware design, and enables rapid power supply interface configuration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117784906B_ABST
    Figure CN117784906B_ABST
Patent Text Reader

Abstract

This invention relates to the field of server technology, and discloses a method and system for adjusting power-on timing. The invention includes: scanning the board information of each board in at least one network interface card (NIC) based on multiple I2C lines, and scanning the configuration information of the expansion cards corresponding to each NIC; determining the power supply interface corresponding to each NIC based on the configuration information of the expansion cards corresponding to each NIC; and adjusting the power-on timing of the power supply interface corresponding to each NIC based on the board information of each NIC. This invention can still power on the network interface card (NIC) promptly after its location has been changed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of server technology, and more specifically to a method and system for adjusting power-on timing. Background Technology

[0002] With the rapid development of technology, servers are now widely used in various fields. SmartNICs are a new type of network device that has emerged in recent years. They can be used in conjunction with servers to perform some of the work of the server's Central Processing Unit (CPU), thereby improving the performance of servers in the cloud and private data centers.

[0003] In practical applications, unlike other cards, smart network cards still require operation when the server is in standby mode (i.e., the server's S5 state). Generally, the server's Complex Programming Logic Device (CPLD) specifies the power-on sequence for each power supply interface.

[0004] However, when the physical location or number of smart network cards is changed, the power supply interface connected to the smart network card cannot be powered on in a timely manner. Summary of the Invention

[0005] In view of this, the present invention provides a method and a system for adjusting the power-on sequence to solve the problem that the power supply interface connected to the smart network card cannot be powered on in a timely manner when the physical location or number of smart network cards is changed.

[0006] In a first aspect, the present invention provides a method for adjusting power-on timing, the method being applied to a power-on timing adjustment system, the power-on timing adjustment system including a complex programmable logic device (CPL), multiple I2C lines, multiple power supply interfaces, and multiple expansion cards; the method is executed by the CPL and includes: Based on the multiple I2C lines, scan the board information of each of the boards in at least one board, and scan the configuration information of the expansion card corresponding to each board. Based on the configuration information of the expansion card corresponding to each of the boards, determine the power supply interface corresponding to each of the boards; Based on the board information of each board, the power-on timing of the power supply interface corresponding to each board is adjusted.

[0007] The method for adjusting power-on timing provided by this invention has the following advantages: The design board can connect to an expansion card, which in turn connects to a power supply interface, which in turn connects to a complex programmable logic device (CPL) via an I2C line. This allows the CPL to interact with the expansion card through the I2C line and power supply interface to obtain the expansion card's configuration information, thus revealing the power supply interface connected to the board. Furthermore, the CPL can interact with the board through the I2C line, power supply interface, and expansion card to obtain the board's configuration information. This system eliminates the need for the CPL to interact with a BMC (Browser Control Center), simplifying the logic code. Moreover, the CPL only needs a few seconds to scan the board's configuration information, compared to several minutes for the BMC, improving the efficiency of adjusting power-on timing. The logic code of the CPL can be modified more freely, thus resolving address conflict issues. Furthermore, this improves the compatibility and stability of the hardware design.

[0008] In one optional implementation, adjusting the power-on timing of the power supply interface corresponding to each board based on the board information of each board includes: Based on the board information of the target board, the type of the target board is determined, wherein the target board is any one of at least one of the boards; When the target board is determined to be a smart network card, the power-on sequence of the P12V power supply interface corresponding to the target board is adjusted to power supply in standby mode. or, When it is determined that the target board type is not the smart network card, the power-on sequence of the P12V power supply interface corresponding to the target board is adjusted to power supply in the power-on state.

[0009] Specifically, due to the unique power-on sequence of smart network cards (NICs) under P12V power, related technologies have pre-set the physical location of the NIC slots. Complex programmable logic devices (CPLs) only need to pre-set the power-on sequence for that physical location under P12V power. If the physical location of the NIC slots is changed or the number of NICs is increased, the P12V power-on operation for the NICs cannot be performed in a timely manner. This solution, however, can determine the card type by scanning the configuration information, allowing for greater flexibility in adjusting the power-on sequence for each physical location based on actual conditions. Even when the physical location of the NIC slots is changed or the number of NICs is increased, the P12V power-on operation for the NICs can still be completed.

[0010] In one optional implementation, after adjusting the power-on timing of the power supply interface corresponding to each board based on the board information of each board, the method further includes: Disconnect the communication connection between the complex programmable logic device and each of the boards; And through multiple I2C lines and the expansion card corresponding to each board, a communication connection is created between each board and the baseboard management controller, wherein the expansion card is a Riser card; Alternatively, when the first communication signal transmitted by the basic input / output system is received, the communication connection between the baseboard management controller and each of the boards is disconnected, and a communication connection between each board and the basic input / output system is created through multiple I2C lines and the expansion card corresponding to each board. Alternatively, when the second communication signal transmitted by the basic input / output system is received, the communication connection between the basic input / output system and each of the boards is disconnected, and a communication connection between each board and the baseboard management controller is created through multiple I2C lines and the expansion card corresponding to each board.

[0011] Specifically, after the complex programmable logic device (CPL) is powered on, it typically occupies multiple I2C lines 20 initially because it can quickly scan the board's configuration information and perform related data processing. Furthermore, since other hosts also need to process data from the board, the use of multiple I2C lines can be transferred to other hosts after the CPL has finished scanning the board's configuration information and processing the data. The CPL allows for rapid switching of I2C lines.

[0012] In one optional implementation, the first communication signal is the power-on signal of the basic input / output system chip, and the second communication signal is the end signal of the data loading process of the basic input / output system chip.

[0013] Specifically, since the basic input / output system chip typically uses the I2C line for data processing after power-on, and generally does not use it again afterward, it is more accurate to transfer the right to use the I2C line by specifically identifying the communication signal.

[0014] In an optional implementation, the method further includes: Based on the configuration information of the expansion card corresponding to each of the boards, the physical location corresponding to each board is determined.

[0015] Specifically, by obtaining the physical location of the board insertion card, when a problem is detected on the board, its location can be found and inspected in a timely manner, which is highly efficient.

[0016] Secondly, the present invention provides a system for adjusting power-on timing, the system comprising a complex programmable logic device, multiple I2C lines, multiple power supply interfaces, and multiple expansion cards, wherein: The complex programmable logic device is electrically connected to each of the multiple I2C lines and the power supply interface corresponding to each of the multiple I2C lines, and each of the multiple expansion cards is electrically connected to the power supply interface corresponding to each of the multiple expansion cards; The complex programmable logic device is used to execute the method for adjusting the power-on timing as described in any one of claims 1-5.

[0017] The system for adjusting power-on timing provided by this invention has the following advantages: The design board can connect to an expansion card, which in turn connects to a power supply interface, which in turn connects to a complex programmable logic device (CPL) via an I2C line. This allows the CPL to interact with the expansion card through the I2C line and the power supply interface to obtain the expansion card's configuration information, thus revealing the power supply interface connected to the board. Furthermore, the CPL can interact with the board through the I2C line, power supply interface, and expansion card to obtain the board's configuration information. This system eliminates the need for the CPL to interact with the baseboard management controller, simplifying the logic code. Moreover, the CPL only needs a few seconds to scan the board's configuration information, compared to several minutes for the baseboard management controller, improving the efficiency of adjusting power-on timing. The logic code of the CPL can be modified more freely, thus resolving address conflict issues.

[0018] In one alternative implementation, the system further includes multiple PCIe interfaces, a processor, and multiple PCIe lines, wherein each expansion card is electrically connected to one of the multiple PCIe interfaces, and the multiple PCIe lines are used to establish connections between the multiple PCIe interfaces and the processor.

[0019] Specifically, expansion cards and expansion cards can interact with the processor through corresponding PCIe interfaces and PCIe lines, allowing the processor to easily obtain configuration information from the expansion cards and expansion cards in a timely manner, thereby facilitating the processor to perform corresponding data processing.

[0020] In one optional implementation, the number of power supply interfaces is twice the number of expansion cards, and the two power supply interfaces electrically connected to the same expansion card include a standby power supply interface and a power-on power supply interface, wherein: The standby power supply interface is used to provide power or transmit information when the target server is in standby mode. The power supply interface is used to supply power or transmit information when the target server is powered on.

[0021] Specifically, by providing two types of power supply interfaces, complex programmable logic devices (CPLs) can easily select one of the two power supply interfaces connected to the expansion card to power the circuit after determining the type of the board, thus completing the power supply operation for the board. This simplifies the code logic of the CPL. Furthermore, this configuration allows for flexible changes to the physical location and number of smart network cards, enabling timely power-on operations for the smart network cards.

[0022] In one alternative implementation, the system further includes multiple power supply lines for establishing a connection between the board and the complex programmable logic device, or for supplying power to the board.

[0023] Specifically, multiple power supply circuits can be used to power on different boards separately, which can avoid mutual interference during the power-on process of different boards.

[0024] In one alternative implementation, the system further includes a plurality of electronic fuses, wherein: Each of the plurality of electronic fuses is electrically connected to the complex programmable logic device, and each of the electronic fuses is electrically connected to one of the plurality of power supply interfaces; Each of the electronic fuses is configured to supply power to the power supply interface electrically connected to each of the electronic fuses when an enable signal transmitted by the complex programmable logic device is received.

[0025] Specifically, because electronic fuses have a wide range of functions, such as protecting chips, managing power, and calibrating circuits, adding electronic fuses to this system can improve the lifespan of each chip and enhance safety. Attached Figure Description

[0026] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0027] Figure 1 This is a schematic diagram of the server's back window based on related technologies; Figure 2 It is based on the motherboard block diagram of the relevant technology; Figure 3 This is another motherboard block diagram based on related technologies; Figure 4 This is a schematic diagram of the structure of a system for adjusting power-on timing according to an embodiment of the present invention; Figure 5 This is a schematic diagram of another system for adjusting power-on timing according to an embodiment of the present invention; Figure 6 This is a schematic diagram of the structure of another system for adjusting power-on timing according to an embodiment of the present invention; Figure 7 This is a schematic diagram of the structure of a system for further adjusting the power-on timing according to an embodiment of the present invention; Figure 8 This is a schematic diagram of the structure of a system for further adjusting the power-on timing according to an embodiment of the present invention; Figure 9 This is a schematic diagram of the partitioning of the server back window according to an embodiment of the present invention; Figure 10 This is a motherboard block diagram according to an embodiment of the present invention; Figure 11 This is yet another motherboard block diagram according to an embodiment of the present invention; Figure 12 This is a flowchart illustrating a method for adjusting power-on timing according to an embodiment of the present invention; Figure 13 This is a flowchart illustrating another method for adjusting the power-on timing according to an embodiment of the present invention. Detailed Implementation

[0028] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0029] like Figure 1 The diagram shown is a schematic of a server rear window, including 8 physical locations (SLOTs) and 2 power supply unit (PSU) areas.

[0030] In related technologies, the identification and power-on control of smart network interface cards (NICs) mainly rely on baseboard manager controllers (BMCs) and complex programmable logic devices (CPLDs). For example... Figure 2The motherboard block diagram shown illustrates the connections between the various components on the motherboard. The black Conn interfaces (Conn1 to Conn6) are Peripheral Component Interconnect Express (PCIe) interfaces, while the gray Conn interfaces (PWR Conn1 to PWRConn4) are power supply interfaces. Each PCIe interface is electrically connected to the Central Processing Unit (CPU) via PCIe lines, and also electrically connected to the 9641 chip via I2C lines. An Ultra Path Interconnect (UPI) is established between the two CPUs, with one CPU connected to the Platform Controller Hub (PCH) via a Direct Media Interface (DMI) bus. The Basic Input Output System (BIOS) is embedded on the PCH, enabling interaction between itself and the CPU. The PCH and BMC can interact via interconnect signals.

[0031] After powering on, the CPLD defaults to setting the P12V power supply of the external card to S0 state (i.e., powering on the external card when the server is powered on). In this connection, the BMC scans the Field Replaceable Unit (FRU) information of the external card via the 9641 chip and multiple I2C lines, determines the type of the external card based on the FRU information, and sends the external card type to the CPLD via the I2C lines. The CPLD can then adjust the power-on sequence of the P12V power supply to the power interface connected to that external card (the identification process for the power interface will be explained later) based on the received external card type. Specifically, when the external card type is a smart network card, the power-on sequence of the P12V power supply to the power interface connected to that external card can be changed to S5 state (i.e., powering on the external card when the server is in standby mode).

[0032] like Figure 3The motherboard block diagram shown illustrates the specific interfaces of the PCIe interfaces (PCIe Conn1 to PCIe ConnN) and the connection relationship between the PCIe interfaces and the Riser card. The PCIe interfaces can include multiple address lines and corresponding interfaces for I2C lines. The multiple address lines can include CPU ADD and VPP ADD, where CPU ADD refers to the CPU's address line, and VPP ADD refers to the programming voltage's address line. The external card can be electrically connected to the CPU via CPU ADD. The Riser card can specifically include an I2C SW chip, a FRU chip, an IO Expander chip, and a SLOT slot. The I2C SW chip can be electrically connected to the FRU chip, IO Expander chip, and SLOT slot via multiple I2C lines. The Riser card can be electrically connected to the interfaces corresponding to CPU ADD and VPP ADD in the PCIe interface via its internal IO Expander chip, and to the interfaces corresponding to the I2C lines in the PCIe interface via the I2C SW chip. The external card can be electrically connected to the Riser card via the SLOT slot. Under this connection, the BMC can scan information in the Riser card (including FRU information and IO Expander information; the FRU information can record PCIe interface information, SLOT slot information, and power supply interface information, while the IO Expander can record CPU Port information) via the I2C line and the 9641 chip, as well as scan the FRU information (external card type) in the external card via the I2C line, the 9641 chip, and the Riser card. In this way, the BMC can obtain the location information, SLOT slot information, power supply interface information, and external card type of each external card connected to the Riser, thus identifying the physical location of the external card.

[0033] The disadvantages of the aforementioned technologies are explained in detail below: First, because the BMC and CPLD need to interact, that is, the BMC needs to transmit the FRU information of the external card or the relevant information recorded in the Riser card to the CPLD, the code logic of the CPLD is relatively complex.

[0034] Secondly, the BMC scans the information of the external card very slowly, taking about minutes, which poses a risk of crashing and affecting subsequent power-on timing adjustments.

[0035] Third, all Riser cards' I2C buses are connected to the 9641 chip, and given the wide variety of I2C devices on the market, the likelihood of identical I2C addresses is high, easily leading to address conflicts. When an address conflict occurs, the logic code of the 9641 chip needs to be modified to handle the situation. However, the 9641 chip's own logic code is not easily modified, meaning that related technologies cannot handle address conflicts.

[0036] like Figure 4 As shown, this embodiment provides a system for adjusting power-on timing. The system includes a complex programmable logic device (CPL) 10, multiple I2C lines 20, multiple power supply interfaces 30, and multiple expansion cards 40. The CPL 10 is electrically connected to each of the multiple I2C lines 20 and its corresponding power supply interface 30. Each of the multiple expansion cards 40 is electrically connected to its corresponding power supply interface 30.

[0037] Complex programmable logic device 10, used for: First, adjust the power-on sequence of the board. Specifically, this can be done by: First, based on the multiple I2C lines 20, the board information of each board in at least one board, as well as the configuration information of the expansion card 40 corresponding to each board, are scanned. Then, based on the configuration information of the expansion card 40 corresponding to each board, the power supply interface 30 corresponding to each board is determined. Finally, based on the board information of each board, the power-on sequence of the power supply interface 30 corresponding to each board is adjusted. The board can be inserted into the expansion card 401.

[0038] In some optional implementations, the specific process by which the complex programmable logic device 10 adjusts the power-on timing of the power supply interface corresponding to each board based on the board information of each board can be as follows: Based on the target board's board information, determine the type of the target board. The target board can be any of at least one board. When the target board is determined to be a smart network card, adjust the power-on sequence of the P12V power supply of the power supply interface 30 corresponding to the target board to power on in standby mode; or, when the target board is not determined to be a smart network card, adjust the power-on sequence of the P12V power supply of the power supply interface 30 corresponding to the target board to power on in power-on mode.

[0039] Specifically, due to the unique power-on sequence of smart network cards under P12V power, related technologies have pre-set the physical location of the smart network card slots. The complex programmable logic device 10 only needs to pre-set the power-on sequence of this physical location under P12V power. However, if the physical location of the smart network card slots is changed or the number of smart network cards is increased, it becomes impossible to perform the P12V power-on operation on the smart network cards in a timely manner. This solution, however, can determine the card type by scanning the configuration information, and can adjust the power-on sequence of each physical location according to the actual situation, offering greater flexibility. Even when the physical location of the smart network card slots is changed or the number of smart network cards is increased, the P12V power-on operation on the smart network cards can still be completed.

[0040] Second, the host switches control of each board. The host can be a complex programmable logic device 10, a baseboard management controller, or a basic input / output system, all of which are fixed on the server's motherboard. The specific process of switching the host's control over each board can be as follows: First, the communication connection between the complex programmable logic device 10 and each board is disconnected. Then, a communication connection is established between each board and the baseboard management controller via multiple I2C lines 20 and the corresponding expansion card 40. Next, upon receiving a first communication signal from the basic input / output system (PIS), the communication connection between the baseboard management controller and each board is disconnected. Finally, upon receiving a second communication signal from the PIS, the communication connection between the PIS and each board is disconnected. The first communication signal is the power-on signal of the PIS chip, such as a signal transmitted via the Enhanced Serial Peripheral Interface (eSPI). The second communication signal is the end signal of the data loading process of the PIS chip, such as POST_COMPLETE.

[0041] Third, determine the physical location of each board (e.g., SLOT number), which can be specifically: Based on the configuration information of the expansion card 40 corresponding to each board, determine the physical location of each board.

[0042] Multiple expansion cards 40 can be Riser cards. Each expansion card 40 can be used to store information about the PCIe interface it is connected to (or SLOT number) and information about the power supply interface 30 it is connected to (e.g., the number of the power supply interface 30).

[0043] The system for adjusting power-on timing provided in this embodiment is designed so that the board can be connected to the expansion card 40, the expansion card 40 is connected to the power supply interface 30, and the power supply interface 30 is connected to the complex programmable logic device 10 via the I2C line 20. In this way, the complex programmable logic device 10 can interact with the expansion card 40 through the I2C line 20 and the power supply interface 30 to obtain the configuration information of the expansion card 40, thus obtaining the power supply interface to which the board is connected. Furthermore, the complex programmable logic device 10 can interact with the board through the I2C line 20, the power supply interface 30, and the expansion card 40 to obtain the board's configuration information. Through this system, the complex programmable logic device 10 does not need to interact with the baseboard management controller, simplifying the logic code. Moreover, the complex programmable logic device 10 only needs a few seconds to scan the board's configuration information, while the baseboard management controller needs several minutes, improving the efficiency of adjusting the power-on timing. The logic code of the complex programmable logic device 10 can be modified more freely, thus resolving address conflict issues. Furthermore, this improves the compatibility and stability of the hardware design scheme.

[0044] In some alternative implementations, the system for adjusting power-on timing may further include multiple PCIe interfaces 50, a processor 60, and multiple PCIe lines 70, such as... Figure 5 As shown, each expansion card 40 is electrically connected to one of the multiple PCIe interfaces 50, and multiple PCIe lines 70 are used to establish communication connections between the multiple PCIe interfaces 50 and the processor 60.

[0045] Specifically, the board and expansion card 40 can interact with the processor 60 through the corresponding PCIe interface 50 and PCIe line 70, which makes it convenient for the processor 60 to obtain the configuration information in the expansion card 40 and the board configuration information in a timely manner, and further facilitates the processor 60 to perform corresponding data processing.

[0046] In some alternative implementations, the number of power supply interfaces 30 can be twice the number of expansion cards 40. Two power supply interfaces 30 electrically connected to the same expansion card 40 may include a standby power supply interface 301a and a power-on power supply interface 301b, such as... Figure 6 As shown, where: The standby power supply interface 301a is used to supply power or transmit information in the standby state of the target server; The power supply interface 301b is used to supply power or transmit information when the target server is powered on.

[0047] Specifically, by providing two types of power supply interfaces 30, the complex programmable logic device 10 can easily select one of the two power supply interfaces 30 connected to the expansion card 40 to power the circuit after determining the type of the board, thus completing the power supply to the board. This simplifies the code logic of the complex programmable logic device 10. Furthermore, with this configuration, the physical location and number of smart network cards can be freely changed, allowing for timely power-on operations of the smart network cards.

[0048] In some optional implementations, when the target server is in standby mode, if the complex programmable logic device 10 detects a fault in the standby power supply interface 301a, it can perform corresponding power supply or information transmission operations through the power-on power supply interface 301b. When the target server is in power-on mode, if the complex programmable logic device 10 detects a fault in the power-on power supply interface 301b, it can perform corresponding power supply or information transmission operations through the power-on power supply interface 301a. This can greatly reduce the possibility of board power-on failure.

[0049] In some alternative implementations, the system for adjusting the power-on timing may also include multiple power supply lines 80, such as... Figure 7 As shown, the power supply line 80 can be used to establish a connection between the board and the complex programmable logic device 10, or to supply power to the board.

[0050] Specifically, multiple power supply circuits 80 can power on different boards separately, avoiding mutual interference during the power-on process of different boards.

[0051] In some alternative implementations, the system for adjusting the power-on timing may also include multiple electronic fuses 90, such as Figure 8 As shown, each of the plurality of electronic fuses 90 is electrically connected to a complex programmable logic device 10, and each electronic fuse 90 is electrically connected to one of the plurality of power supply interfaces 30. Upon receiving an enable signal transmitted from the complex programmable logic device 10, each electronic fuse 90 supplies power to the power supply interface electrically connected to it. The electronic fuses can be eFuses, which can be used for power management.

[0052] Specifically, since the electronic fuse 90 has a wide range of functions, such as protecting chips, managing power, and calibrating circuits, adding the electronic fuse 90 to this system can improve the lifespan of each chip and enhance safety.

[0053] The following example, using a specific server motherboard block diagram, will provide a detailed explanation of how to adjust the power-on timings.

[0054] like Figure 9 The diagram shown is a schematic of a 2U server rear window provided in this embodiment, including eight physical locations (SLOTs) and two power supply unit (PSU) areas. The server rear window is divided into three areas: A, B, and C. Correspondingly, the Riser card can also record the area corresponding to the PCIe interface it is connected to.

[0055] exist Figure 10 In this context, it should be noted that: First, this solution still retains the connection relationship between the PCH and BMC and multiple PCIe interfaces via I2C lines as in related technologies (see [link to relevant documentation]). Figure 2 ), Figure 10 This connection relationship is not shown in the diagram. Secondly, this solution does not improve the internal structure of the CPLD; it merely presents the functionality of the improved CPLD logic code through some functional components. For example, Figure 6 The I2C CTL can enable the selection of I2C lines between the PCH and CPLD or between the BMC and CPLD. Figure 10 and Figure 2 The difference is that each power supply interface needs to be connected to the CPLD via an I2C line.

[0056] Figure 11 The motherboard shown includes 8 PCIe interfaces and 16 power connectors. The CPLD is connected to one power connector via an I2C line. A riser card is connected to two power connectors. Figure 11The CPLD includes a decoder, I2CCTL, I2C SW1, I2C SW2, and I2C SW3 structure. The decoder decodes data transmitted from the PCH. I2CCTL maintains status and control registers, allowing the BMC and BIOS to actively query the I2C line usage and switch the I2C line usage rights between the PCH, BMC, and the CPLD itself. This also allows for adjustments to the I2C line usage rules based on user needs. I2C SW1 includes multiple I2C channels, each enabling interaction between the PCH and a specific board. I2C SW2 and I2C SW3 also include multiple I2C channels, each enabling interaction between the CPLD and a specific board. PWR_ON, PWR_OFF, PWR_GD, and PWR_EN indicate power-related controller information. For detailed explanations of other structures, please refer to [link to documentation / reference]. Figure 3 The specific explanation is as follows.

[0057] Combination Figure 9 and Figure 10 As we can see, Conn1 to Conn8 correspond to SLOT1 to SLOT8 respectively. Combined with... Figure 9 and Figure 11 As you can see, Conn1 to Conn8 can correspond to Riser_1 to Riser_8 respectively.

[0058] According to an embodiment of the present invention, a method embodiment for adjusting the power-on timing is provided. It should be noted that although the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than that shown here.

[0059] This embodiment provides a method for adjusting power-on timing, which can be used in the aforementioned system for adjusting power-on timing. The system includes a complex programmable logic device 10, multiple I2C lines 20, multiple power supply interfaces 30, and multiple expansion cards 40. Specifically, this method can be executed by the complex programmable logic device 10. Figure 12 This is a flowchart of a method for adjusting power-on timing according to an embodiment of the present invention, such as... Figure 12 As shown, the process includes the following steps: Step S1201: Based on the multiple I2C lines 20, scan the board information of each board in at least one board, and scan the configuration information of the expansion card 40 corresponding to each board.

[0060] Specifically, after powering on, the complex programmable logic device 10 can first acquire control of multiple I2C lines 20. Furthermore, the complex programmable logic device 10 can connect all I2C lines 20 simultaneously to perform the scanning process, or it can connect only one I2C line 20 at a time to scan the configuration information of one board and the expansion card 40 connected to that board. The configuration information of the board may include the board type, and the configuration information of the expansion card 40 may include the identification information of its corresponding power supply interface.

[0061] Step S1202: Determine the power supply interface corresponding to each board based on the configuration information of the expansion card 40 corresponding to each board.

[0062] Specifically, for the information scanned from each I2C line 20, the complex programmable logic device 10 can extract the identification information of the power supply interface 30 connected to the expansion card 40 from the configuration information of the expansion card 40. Alternatively, the complex programmable logic device 10 can record the correspondence between the power supply interface 30 and the PCIe interface 50. In this way, after extracting the identification information of the PCIe interface 50 connected to the expansion card 40 from the configuration information of the expansion card 40, the power supply interface 30 connected to the expansion card 40 can be determined according to the identification information of the PCIe interface 50 and the correspondence.

[0063] Step S1203: Adjust the power-on sequence of the power supply interface corresponding to each board according to the board information of each board.

[0064] Specifically, for the information scanned from each I2C line 20, the complex programmable logic device 10 can extract the board type from the board's configuration information and determine the corresponding power-on timing adjustment code based on the board type and the identification information of the power supply interface 30. Further, based on the identification information of the power supply interface 30 extracted in step S1202, the corresponding power-on timing adjustment code is modified.

[0065] In some possible implementations, the complex programmable logic device 10 may record the correspondence between the identification information of the I2C line 20 and the identification information of the power supply interface 30. In this way, the complex programmable logic device 10 can obtain the identification information of the power supply interface 30 without performing step S1202.

[0066] The method for adjusting power-on timing provided in this embodiment involves a board that can connect to an expansion card 40, which in turn connects to a power supply interface 30. The power supply interface 30 is connected to a complex programmable logic device (CPLD) 10 via an I2C line 20. This allows the CPLD 10 to interact with the expansion card 40 via the I2C line 20 and the power supply interface 30 to obtain the configuration information of the expansion card 40, thus revealing the power supply interface to which the board is connected. Furthermore, the CPLD 10 can also interact with the board via the I2C line 20, the power supply interface 30, and the expansion card 40 to obtain the board's configuration information. This system eliminates the need for the CPLD 10 to interact with the baseboard management controller, simplifying the logic code. Moreover, the CPLD 10 only needs a few seconds to scan the board's configuration information, while the baseboard management controller requires several minutes, improving the efficiency of adjusting the power-on timing. The logic code of the CPLD 10 can be modified more freely, thus resolving address conflict issues. Furthermore, this improves the compatibility and stability of the hardware design.

[0067] This embodiment provides a method for adjusting power-on timing, which can be used in the aforementioned system for adjusting power-on timing. The system includes a complex programmable logic device 10, multiple I2C lines 20, multiple power supply interfaces 30, and multiple expansion cards 40. Specifically, this method can be executed by the complex programmable logic device 10. Figure 13 This is a flowchart of a method for adjusting power-on timing according to an embodiment of the present invention, such as... Figure 13 As shown, the process includes the following steps: Step S1301: Based on multiple I2C lines, scan the board information of each board in at least one board, and scan the configuration information of the expansion card corresponding to each board.

[0068] Step S1302: Determine the power supply interface corresponding to each board based on the configuration information of the expansion card corresponding to each board.

[0069] The specific processing of steps S1301 to S1302 is similar to that of steps S1201 to S1202, and will not be repeated here.

[0070] In some optional implementations, the configuration information of the expansion card 40 may also include the identification information of the PCIe interface to which the expansion card 40 is connected. In this way, the complex programmable logic device 10 can determine the physical location of each board, i.e., the SLOT number and / or region corresponding to the PCIe interface 50 to which the expansion card 40 is inserted, based on the configuration information of the expansion card corresponding to each board.

[0071] Step S1303: Adjust the power-on sequence of the power supply interface corresponding to each board according to the board information of each board.

[0072] Specifically, step S1303 includes: Step S13031: Determine the type of the target board based on the board information of the target board.

[0073] The target board is any one of at least one boards.

[0074] Specifically, since different boards have different power-on sequences under P12V power supply, the complex programmable logic device 10 can extract the type of the board from the board information of the target board.

[0075] Step S13032: When the target board type is determined to be a smart network card, the power-on sequence of the P12V power supply of the power supply interface corresponding to the target board is adjusted to power supply in standby mode.

[0076] Specifically, when the smart network card is powered by P12V power, it needs to be powered on in standby mode (S5 state). Therefore, when the type of the board is determined to be a smart network card, the power-on sequence of the power supply interface 30 connected to the board can be changed to power supply in standby mode.

[0077] Step S 13033: When it is determined that the target board is not a smart network card, adjust the power-on sequence of the P12V power supply of the power supply interface corresponding to the target board to power supply in the power-on state.

[0078] Specifically, all other cards except the smart network card are powered on in the S1 state. Therefore, when it is determined that the type of card is not a smart network card, the power-on sequence of the power supply interface 30 connected to the card can be changed to power supply in the standby state.

[0079] In some alternative implementations, after the complex programmable logic device 10 is powered on, because it completes the scanning of the board's configuration information and performs related data processing relatively quickly, it generally occupies the right to use multiple I2C lines 20 first. After completing the scanning of the board's configuration information and related data processing, it then transfers the right to use the multiple I2C lines 20 to other hosts. Specific processing may include: Step a1: Disconnect the communication connection between the complex programmable logic device 10 and each board.

[0080] Specifically, after scanning the configuration information of all boards, the complex programmable logic device 10 can disconnect itself from the communication connection between itself and all boards.

[0081] Step a2: Establish a communication connection between each board and the baseboard management controller through multiple I2C lines and expansion cards corresponding to each board.

[0082] Among them, expansion card 40 can be a Riser card.

[0083] Specifically, since the data processing is usually performed by the baseboard management controller, the complex programmable logic device 10 will first transfer the right to use multiple I2C lines 20 to the baseboard management controller after performing the relevant processing.

[0084] Step a3: When the first communication signal transmitted by the basic input / output system is obtained, disconnect the communication connection between the baseboard management controller and each board, and create a communication connection between each board and the basic input / output system through multiple I2C lines and the expansion card corresponding to each board.

[0085] Specifically, when the complex programmable logic device 10 receives the first communication signal transmitted via the eSPI bus, it can disconnect the communication connection between the baseboard management controller and all boards, and obtain the power-on code transmitted by the basic input / output system in order to monitor the data loading process of the basic input / output system. At the same time, the complex programmable logic device 10 can transfer the use of multiple I2C lines 20 to the basic input / output system.

[0086] Step a4: When the second communication signal transmitted by the basic input / output system is obtained, disconnect the communication connection between the basic input / output system and each board, and create a communication connection between each board and the baseboard management controller through multiple I2C lines and the expansion card corresponding to each board.

[0087] Specifically, when the complex programmable logic device 10 receives the second communication signal, it determines that the basic input / output system has completed the relevant data processing work. At this time, the complex programmable logic device 10 can disconnect the communication connection between the basic input / output system and all boards, and transfer the right to use multiple I2C lines 20 to the baseboard management controller.

[0088] This embodiment provides a method for adjusting the power-on timing. Since the power-on timing of a smart network card under P12V power is unique, related technologies pre-set the physical location of the smart network card slot. The complex programmable logic device 10 only needs to pre-set the power-on timing for that physical location under P12V power. If the physical location of the smart network card slot is changed or the number of smart network cards is increased, the P12V power-on operation for the smart network card cannot be performed in a timely manner. However, this solution can determine the card type by scanning the configuration information, and can adjust the power-on timing for each physical location according to the actual situation, offering greater flexibility. Even when changing the physical location of the smart network card slot or increasing the number of smart network cards, the P12V power-on operation for the smart network card can still be completed.

[0089] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.

Claims

1. A method for adjusting power-on timing, characterized in that, The method is applied to a system for adjusting power-on timing, the system for adjusting power-on timing includes complex programmable logic devices, multiple I2C lines, multiple power supply interfaces, and multiple expansion cards; The method is executed by the complex programmable logic device, and the method includes: Based on the multiple I2C lines, scan the board information of each of the boards in at least one board, and scan the configuration information of the expansion card corresponding to each board. Based on the configuration information of the expansion card corresponding to each of the boards, determine the power supply interface corresponding to each of the boards; Based on the board information of each board, the power-on sequence of the power supply interface corresponding to each board is adjusted; When the first communication signal transmitted by the basic input / output system is received, the communication connection between the baseboard management controller and each of the boards is disconnected, and a communication connection between each board and the basic input / output system is created through multiple I2C lines and the expansion card corresponding to each board. The basic input / output system, the baseboard management controller, and the complex programmable logic device are located on the motherboard of the server.

2. The method according to claim 1, characterized in that, The step of adjusting the power-on timing of the power supply interface corresponding to each board based on the board information of each board includes: Based on the board information of the target board, the type of the target board is determined, wherein the target board is any one of at least one of the boards; When the target board is determined to be a smart network card, the power-on sequence of the P12V power supply interface corresponding to the target board is adjusted to power supply in standby mode. or, When it is determined that the target board type is not the smart network card, the power-on sequence of the P12V power supply interface corresponding to the target board is adjusted to power supply in the power-on state.

3. The method according to claim 1 or 2, characterized in that, After adjusting the power-on timing of the power supply interface corresponding to each board based on the board information of each board, the method further includes: Disconnect the communication connection between the complex programmable logic device and each of the boards; And through multiple I2C lines and the expansion card corresponding to each board, a communication connection is created between each board and the baseboard management controller, wherein the expansion card is a Riser card; Alternatively, when the second communication signal transmitted by the basic input / output system is received, the communication connection between the basic input / output system and each of the boards is disconnected, and a communication connection between each board and the baseboard management controller is created through multiple I2C lines and the expansion card corresponding to each board.

4. The method according to claim 3, characterized in that, The first communication signal is the power-on signal of the basic input / output system, and the second communication signal is the end signal of the data loading process of the basic input / output system.

5. The method according to claim 1 or 2, characterized in that, The method further includes: Based on the configuration information of the expansion card corresponding to each of the boards, the physical location corresponding to each board is determined.

6. A system for adjusting power-on timing, characterized in that, The system includes complex programmable logic devices, multiple I2C lines, multiple power supply interfaces, and multiple expansion cards, wherein: The complex programmable logic device is electrically connected to each of the multiple I2C lines and the power supply interface corresponding to each of the multiple I2C lines, and each of the multiple expansion cards is electrically connected to the power supply interface corresponding to each of the multiple expansion cards; The complex programmable logic device is used to execute the method for adjusting the power-on timing as described in any one of claims 1-5.

7. The system according to claim 6, characterized in that, The system also includes multiple PCIe interfaces, a processor, and multiple PCIe lines. Each expansion card is electrically connected to one of the multiple PCIe interfaces, and the multiple PCIe lines are used to establish connections between the multiple PCIe interfaces and the processor.

8. The system according to claim 6, characterized in that, The number of power supply interfaces is twice the number of expansion cards. The two power supply interfaces electrically connected to the same expansion card include a standby power supply interface and a power-on power supply interface, wherein: The standby power supply interface is used to provide power or transmit information when the target server is in standby mode. The power supply interface is used to supply power or transmit information when the target server is powered on.

9. The system according to claim 8, characterized in that, The system also includes multiple power supply lines, which are used to establish a connection between the board and the complex programmable logic device, or to supply power to the board.

10. The system according to claim 8, characterized in that, The system also includes multiple electronic fuses, wherein: Each of the plurality of electronic fuses is electrically connected to the complex programmable logic device, and each of the electronic fuses is electrically connected to one of the plurality of power supply interfaces; Each of the electronic fuses is configured to supply power to the power supply interface electrically connected to each of the electronic fuses when an enable signal transmitted by the complex programmable logic device is received.

Citation Information

Patent Citations

  • High-speed serial bus configuration detection method, device and equipment and storage medium

    CN116521459A

  • Electronic device, expansion card assembly, server device and management method therefor

    US20210315115A1