Mainboard and computing device

Through the design of the detachable connector and control module, the fixed allocation problem of PCIE resources caused by the position of the OCP connector is solved, the flexible allocation of PCIE resources is realized, the utilization efficiency is improved, and the hot-swappable function is supported.

CN118535503APending Publication Date: 2024-08-23XFUSION DIGITAL TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410302274.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-15
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

In the existing technology, the OCP connector is located at the rear of the motherboard. As a result, PCIE resources can only be fixedly allocated to the OCP network card connected to the rear OCP connector and cannot be flexibly allocated to other PCIE devices, resulting in low PCIE resource utilization efficiency.

Method used

Through the design of detachable connectors and control modules, users are allowed to flexibly select different types of first circuit boards, and obtain the identification information of the circuit boards through the control module, dynamically allocate PCIE bandwidth and bus resources, and support hot-swappable functions.

Benefits of technology

It improves the utilization efficiency of PCIE resources, allows the CPU to flexibly allocate resources to different types of PCIE devices, enhances the flexibility and scalability of the system, and supports the hot-swappable function of OCP network cards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535503A
    Figure CN118535503A
Patent Text Reader

Abstract

The mainboard comprises a control module, a CPU (Central Processing Unit) and a connector, the connector is electrically connected with the PCIE interface of the CPU and the control module; the connector is electrically connected with the first circuit board in a detachable manner; the first circuit board can be electrically connected with at least one PCIE device; the control module is used for acquiring a first identifier of the first circuit board under the condition that the first circuit board is in place, and sending the first identifier to the CPU; and the CPU is used for determining first bandwidth information of the first circuit board according to the first identifier, and allocating PCIE bandwidth resources and PCIE bus resources to the first circuit board according to the first bandwidth information. Therefore, due to the fact that the connector and the first circuit board are detachably connected, a user can flexibly select different types of first circuit boards, the CPU can flexibly allocate PCIE resources to PCIE devices connected with the different types of first circuit boards, and the utilization efficiency of the PCIE resources can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a motherboard and a computing device. Background Art

[0002] Currently, computing devices need to install a network interface card (NIC) to enable the computing device to communicate with the external network. The network interface card is referred to as a NIC, and its main function is to provide a path for data exchange between the computing device and the external network.

[0003] The open compute project (OCP) network card can communicate with the CPU through the PCIE bus. Due to the special shape of the OCP network card and the advantage of small space occupation, it is usually installed on a computing device with tight space requirements, and the computing device can be a server. Specifically, a CPU can be provided on the motherboard of the computing device, and the CPU can include a PCIE interface, which can be connected to an OCP connector (such as a 4C+ connector) through metal traces on the motherboard. When the OCP network card is needed, the user can insert the OCP network card into the OCP connector, so that the OCP network card can communicate with the CPU through the PCIE bus.

[0004] However, in the related art, since the OCP connector is usually located at the rear of the motherboard (also the rear of the computing device chassis), it is called a rear OCP connector. On the motherboard, the metal traces between the OCP connector and the CPU's PCIE interface are fixed. It can be seen that the corresponding PCIE resources (e.g., PCIE bandwidth resources, PCIE bus resources, etc.) can only be allocated to the OCP network card connected to the rear OCP connector, and cannot be flexibly allocated to other PCIE devices, so the utilization efficiency of PCIE resources is low.

[0005] Therefore, how to improve the utilization efficiency of PCIE resources is a technical problem that needs to be solved urgently. Summary of the invention

[0006] The present application provides a motherboard and a computing device. Since the connector and the first circuit board in the motherboard are connected in a detachable manner, the user can flexibly select different types of first circuit boards, and the CPU can flexibly allocate PCIE resources to PCIE devices connected to different types of first circuit boards, thereby improving the utilization efficiency of PCIE resources.

[0007] In the first aspect, the present application provides a motherboard, the motherboard includes a control module, a central processing unit CPU and a connector; the connector is electrically connected to the PCIE interface of the CPU and the control module respectively; the connector is used to be electrically connected to a first circuit board in a detachable manner; wherein the first circuit board is used to be electrically connected to at least one PCIE device; the control module is used to obtain a first identifier of the first circuit board when the first circuit board is in place, and send the first identifier to the CPU; wherein the first identifier is used to characterize the bandwidth information of the first circuit board; the CPU is used to determine the first bandwidth information of the first circuit board according to the first identifier, and allocate PCIE bandwidth resources and PCIE bus resources to the first circuit board according to the first bandwidth information. Since the connector and the first circuit board are connected in a detachable manner, the user can flexibly select different types of first circuit boards, and the CPU can flexibly allocate PCIE resources to PCIE devices connected to different types of first circuit boards, thereby improving the utilization efficiency of PCIE resources.

[0008] In a possible implementation, the mainboard further includes a power module, and a voltage output terminal of the power module is connected to the connector; the control module is also used to obtain the type information of the first circuit board when a PCIE device is plugged into the first circuit board and the PCIE device is in place; when the type of the first circuit board is the target type, an enable signal is sent to the enable control terminal of the power module so that the voltage output terminal of the power module supplies power to the first circuit board through the connector. In this way, when the type of the first circuit board is the target type, the power module can supply power to the first circuit board so that the PCIE device connected to the first circuit board can work normally and better complete the hot plug function.

[0009] In a possible implementation, the control module is further configured to send a disabling signal to the enable control terminal of the power module when the type of the first circuit board is not the target type, so that the voltage output terminal of the power module does not supply power to the first circuit board. In this way, when the type of the first circuit board is not the target type, the first circuit board is powered by other power modules on the mainboard, and the power module may not supply power to the first circuit board.

[0010] In a possible implementation, the mainboard further includes a rear OCP connector, which is used to connect an OCP network card; the rear OCP connector is electrically connected to the PCIE interface of the CPU, the control module, and the voltage output end of the power module respectively; the control module is also used to send the second identifier of the rear OCP connector to the CPU when the first circuit board is not in place; the CPU is used to determine the second bandwidth information of the rear OCP connector according to the second identifier, and allocate PCIE bandwidth resources and PCIE bus resources to the OCP network card connected to the rear OCP connector according to the second bandwidth information; the control module is also used to send an enable signal to the enable control end of the power module when the OCP network card is in place, so that the voltage output end of the power module supplies power to the OCP network card through the rear OCP connector. In this way, the embodiment of the present application can allocate PCIE bandwidth resources and PCIE bus resources to the OCP network card connected to the rear OCP connector, and can also be allocated to the PCIE device connected to the first circuit board, thereby further improving the utilization efficiency of PCIE resources. At the same time, since the OCP network card supports hot plugging, when the control module detects that the OCP network card is in place, it can send an enable signal to the enable control terminal of the power module so that the power module can supply power to the OCP connector, thereby enabling the OCP network card to work normally.

[0011] In a possible implementation, when executing the step of obtaining the first identification of the first circuit board when the first circuit board is in place, the control module is specifically used to detect the level value of the target pin in the connector, and determine whether the first circuit board is in place according to the level value; if the first circuit board is in place, the first identification of the first circuit board is obtained. In this way, the control module can determine whether the first circuit board is in place by detecting the level value of the target pin in the connector. And when the first circuit board is in place, the first identification of the first circuit board is obtained.

[0012] In a possible implementation, the first circuit board is a front OCP connector, or a hard disk backplane, or a riser circuit board. In this way, the CPU in the embodiment of the present application can allocate PCIE resources to the OCP network card connected to the front OCP connector, or the hard disk connected to the hard disk backplane, or the PCIE device connected to the riser circuit board.

[0013] In a possible implementation, when the type of the first circuit board is determined according to the level value of the target pin; if the first circuit board is not an OCP connector, the first identifier of the first circuit board is obtained from the storage chip; the storage chip is set on the hard disk backplane and / or the riser circuit board; if the first circuit board is an OCP connector, the preset identifier corresponding to the OCP connector is determined. In this way, the control module can determine the type of the first circuit board according to the level value of the target pin, and obtain its identifier according to the type of the first circuit board.

[0014] In a possible implementation, the mainboard further includes a baseboard management controller BMC, and the BMC is respectively connected to the control module, the connector, and the rear OCP connector. In this way, the BMC can communicate with the control module, the PCIE device connected to the first circuit board, and the network card connected to the rear OCP connector.

[0015] In a possible implementation, the mainboard is further provided with a multi-way selector, and the multi-way selector is provided with a strobe terminal; the BMC is respectively connected to the connector and the rear OCP connector through the multi-way selector, and the strobe terminal of the multi-way selector is electrically connected to the control module. In this way, the control module can select the BMC to be connected to the connector or the rear OCP connector by controlling the input signal of the strobe terminal of the multi-way selector.

[0016] In a second aspect, the present application provides a computing device, comprising the mainboard described in the first aspect or any possible implementation of the first aspect.

[0017] It can be understood that the beneficial effects of the second aspect mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a structural schematic diagram of a mainboard provided in an embodiment of the present application;

[0019] Figure 2 This is a schematic diagram of a connection between a first circuit board and a connector in an embodiment of the present application;

[0020] Figure 3 This is a schematic diagram of the connection between a riser circuit board and a connector in an embodiment of the present application;

[0021] Figure 4 is a schematic structural diagram of a connector in an embodiment of the present application;

[0022] Figure 5 is a schematic structural diagram of another connector in an embodiment of the present application;

[0023] Figure 6 It is a structural schematic diagram of another mainboard provided in an embodiment of the present application;

[0024] Figure 7 This is a structural diagram of another mainboard provided in an embodiment of the present application;

[0025] Figure 8 This is a structural diagram of another mainboard provided in an embodiment of the present application;

[0026] Fig. 9 This is a structural diagram of another mainboard provided in an embodiment of the present application;

[0027] Fig.10 is a structural schematic diagram of a multi-way connector provided in an embodiment of the present application;

[0028] Fig.11 It is a flowchart of a PCIE resource allocation method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0029] The term "and / or" in this article is a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The symbol " / " in this article indicates that the associated objects are in an or relationship, for example, A / B means A or B.

[0030] The terms "first" and "second" in the specification and claims herein are used to distinguish different objects rather than to describe a specific order of the objects. For example, a first response message and a second response message are used to distinguish different response messages rather than to describe a specific order of the response messages.

[0031] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0032] In the description of the embodiments of the present application, unless otherwise specified, "multiple" means two or more than two. For example, multiple processing units refer to two or more processing units, etc.; multiple elements refer to two or more elements, etc.

[0033] To facilitate understanding of the technical solutions in the embodiments of the present application, the terms involved in the embodiments of the present application are explained below.

[0034] OCP (Open Compute Project) NIC is a network interface card of the Open Compute Project. OCP is an open source hardware project initiated by Facebook to promote innovation and standardization of data center hardware. OCP NIC is part of the project, which provides a standardized network interface card design, allowing data centers to configure and manage network connections more flexibly.

[0035] The network controller sideband interface (NCSI) is an industrial standard for sideband interface network controllers that support out-of-band management of servers, defined by the Distributed Management Task Force (an international standardization organization). In simple terms, NCSI is the communication protocol used between the baseboard management controller (BMC) and the network card.

[0036] BIOS is a set of programs fixed on a ROM chip on the motherboard of a computing device. It stores the most important basic input and output programs of the computing device, system setting information, self-test programs after power-on, and system self-starting programs. Its most important function is to provide the computer with the most basic and direct hardware settings and control.

[0037] BMC is a control unit with independent power supply and independent I / O interface deployed on the single board of the computing device. It does not rely on the processor, BIOS or operating system of the computing device to work. It is an agentless management subsystem running independently in the computing device. BMC is the core control chip of the intelligent platform management interface (IPMI) and can be installed on the motherboard of the computing device. BMC can connect to various sensors, which are distributed on various components of the computing device. BMC manages various hardware of the computing device through these sensors. Regardless of the type or status of the processor, BIOS, and operating system of the computing device, such as failure or shutdown, it does not affect the operation of IPMI. It can be understood that IPMI is a computer with simplified functions. IPMI itself is equivalent to an operating system, BMC is equivalent to CPU, and sensors are equivalent to various interface cards, which are managed by BMC. The entire IPMI system is a simple computer attached to the computing device, which is not affected by the status of the computing device (such as failure, shutdown).

[0038] A complex programmable logic device (CPLD) is a digital integrated circuit that users can construct logic functions according to their own needs. Its basic design method is to use the integrated development software platform, schematic diagrams, hardware description languages, etc. to generate the corresponding target file, and transfer the code to the target chip through a download cable to realize the designed digital system.

[0039] Next, the technical solution provided by the embodiments of the present application is introduced.

[0040] Figure 1 FIG. 1 shows a schematic diagram of the architecture of a motherboard provided in the first embodiment of the present application. In the first embodiment of the present application, Figure 1 As shown, the motherboard 1 may include a central processing unit CPU 11, a control module 12 and a connector 14. The central processing unit CPU 11 may read and run a BIOS 13 program from a BIOS chip.

[0041] Exemplarily, the control module 12 may be a complex programmable logic device (CPLD), a microcontroller unit (MCU), or a field-programmable gate array (FPGA). The connector 14 may be a UBC connector, a Slimline connector, or an MCIO connector.

[0042] The connector 14 can be electrically connected to the PCIE interface of the CPU 11 and the general purpose input and output GPIO interface of the control module 12 respectively.

[0043] For example, Figure 1 As shown, the CPU 11 has two PCIE interfaces, namely, a P0 interface and a P1 interface. The P0 interface is electrically connected to the first part of the pins of the connector 14 through the line a on the motherboard 1. The control module 12 may have a plurality of GPIO interfaces, some of which may be electrically connected to the second part of the pins of the connector 14 through the line b on the motherboard 1.

[0044] In addition, the above use of the P0 interface to connect to the connector 14 is only for exemplary purposes. Users can also electrically connect the P1 interface (rather than the P0 interface) to the first part of the pins of the connector 14 through the metal traces on the motherboard according to actual needs. Users can also electrically connect the P1 interface and the P0 interface to the first part of the pins of the connector 14 through the metal traces on the motherboard. The user can connect the connector 14 to the connector 22, so that the first circuit board 21 can be electrically connected to the PCIE interface of the CPU 11 and the general input and output GPIO interface of the control module 12. The details will be introduced below.

[0045] like Figure 2 As shown, the first circuit board 21 can be electrically connected to one or more PCIE devices, and the first circuit board 21 is also electrically connected to the connector 22. Specifically, the first circuit board 21 is electrically connected to the connector 22 through the line c and the line d, wherein the line c corresponds to the aforementioned line a, and the line d corresponds to the aforementioned line b. In this way, the PCIE device connected to the first circuit board 21 can be electrically connected to the connector 22. When the user connects the connector 22 to the connector 14, the line c is electrically connected to the aforementioned line a, and the line d is electrically connected to the aforementioned line b. Therefore, the PCIE device connected to the first circuit board 21 can be electrically connected to the CPU 11 and the control module 12 through the first circuit board 21, the connector 22 and the connector 14.

[0046] Exemplarily, the first circuit board 21 may be a 4C+ connector, which includes a slot with a bandwidth of 16 lanes, in which an OCP network card with a bandwidth of 16 lanes may be inserted. When the user inserts the OCP network card in the 4C+ connector, the OCP network card may be electrically connected to the connector 22. The channel here is called a PCIE channel, which is specifically composed of two pairs of copper wires, allowing bidirectional data transmission, one pair for sending data and the other pair for receiving data.

[0047] The first circuit board 21 may also be a riser circuit board, and one or more slots may be provided on the riser circuit board, and a PCIE device may be inserted in each slot. For example, the riser circuit board may include a slot with a bandwidth of 16 channels, or two slots with a bandwidth of 8 channels, namely slot 1 and slot 2. Figure 3 When a PCIE device (such as a standard PCIE network card) is inserted into the slot of the Riser circuit board, the PCIE device can be electrically connected to the connector 22. More channels means higher bandwidth and longer slots.

[0048] The first circuit board 21 may also be a hard disk backplane, and one or more slots may be provided in the hard disk backplane, and a hard disk may be inserted in each slot, so that the hard disk can be electrically connected to the connector 22. More specifically, the hard disk backplane may be a non-volatile memory express (NVME) hard disk backplane, and may include four 4-channel slots, or eight 2-channel slots.

[0049] The connector 22 can be electrically connected to the connector 14 in a detachable manner. Specifically, the user can select a certain type of first circuit board 21, such as a riser circuit board, according to actual needs, and connect the connector 22 electrically connected to the riser circuit board to the connector 14. When the connector 22 is electrically connected to the connector 14, the PCIE device connected to the riser circuit board can be connected to the PCIE interface of the CPU 11 and the GPIO interface of the control module 12 respectively, so that the PCIE device connected to the riser circuit board can communicate with the CPU 11, and the control module 12 can also check the position of the riser circuit board.

[0050] Exemplarily, the connector 14 may include three MCIO female connectors, namely a female connector 141, a female connector 142 and a female connector 143. Figure 4 The female connector 141 and the female connector 142 are electrically connected to the PCIE interface of the CPU 11 through line a, and the female connector 143 is electrically connected to the general purpose input and output GPIO interface of the control module 12 through line b.

[0051] Accordingly, the connector 22 may include three MCIO connector males, namely a male connector 221, a male connector 222 and a male connector 223. Figure 5 As shown. Among them, the male connector 221 and the male connector 222 are electrically connected to the first circuit board 21 through the line c, and the male connector 223 is electrically connected to the first circuit board 21 through the line d. When the user needs to communicate the PCIE device connected to the first circuit board 21 with the CPU 11, the male connector 221 can be inserted into the female connector 141, the male connector 222 can be inserted into the female connector 142, and the male connector 223 can be inserted into the female connector 143, so that the first circuit board 21 can be electrically connected to the CPU 11 and the control module 12 on the mainboard 1.

[0052] Exemplarily, female connector 141, female connector 142, male connector 221, and male connector 222 can be used to transmit high-speed signals, such as PCIE signals; female connector 143 and male connector 223 can be used to transmit low-speed signals, such as PG power signals of PCIE cards, SGPIO (General Purpose Input Output) signals, etc.

[0053] First, the control module 12 can obtain the identification of the first circuit board 21 when the first circuit board 21 is in place. Exemplarily, the first circuit board 21 can be an OCP connector, or a riser circuit board, or a hard disk backplane. It should be noted that the first circuit board 21 being in place means that the first circuit board 21 is electrically connected to the connector 14.

[0054] In one implementation, the user can pre-design the hardware circuit of the first circuit board 21, so that when the connector 14 is connected to the first circuit board 21, the level value of the target pin in the connector 14 changes. In this way, the control module 12 can obtain the level value of the target pin in the connector 14, and determine whether the first circuit board 21 is in place according to the level value. The hardware design method can refer to the description in the following example.

[0055] In one example, following the previous example, the connector 14 includes three MCIO female connectors, wherein the three pins bp_type3, bp_type2, and bp_type1 in the female connector 143 can be used as target pins. These three pins are connected to a high level (e.g., a 3.3V level) through a pull-up resistor (usually a resistor with a large resistance value). When the user does not connect the connector 14 to the connector 22, the level values ​​of the pins bp_type1, bp_type2, and bp_type3 are all high levels.

[0056] In the OCP connector, the pins corresponding to the pins bp_type3, bp_type2 and bp_type1 are bp_typeA1, bp_typeA2 and bp_typeA3 respectively. Among these three pins, a pull-down resistor (usually a resistor with a smaller resistance) can be connected to bp_typeA1 to connect it to a low level (for example, a 0V level). In this way, when the OCP connector is in place, the level value of the pin bp_type1 is pulled down to a low level, and the level values ​​of bp_type2 and bp_type3 are still maintained at a high level. Among them, the OCP connector is in place here, which means that the OCP connector is electrically connected to the motherboard 1 through the connector 22 and the connector 14. Among them, the OCP connector here is a front OCP connector, which is the same in physical structure as the rear OCP connector described below, except that the two are located in different positions.

[0057] Similarly, in the Riser circuit board, the pins bp_type3, bp_type2 and bp_type1 correspond to the pins bp_typeB1, bp_typeB2 and bp_typeB3 respectively. These three pins can be connected to a pull-down resistor (usually a resistor with a small resistance) on bp_typeB2 and connected to a low level (such as 0V potential). In this way, when the Riser circuit board is in place, the level value of the pin bp_type2 is pulled down to a low level, and the level values ​​of bp_type1 and bp_type3 are still maintained at a high level.

[0058] Similarly, in the hard disk backplane, the pins bp_type3, bp_type2 and bp_type1 are connected to the pins bp_typeC1, bp_typeC2 and bp_typeC3 respectively. These three pins can be connected to a pull-down resistor (usually a resistor with a small resistance) on bp_typeC3 and connected to a low level (such as 0V potential). In this way, when the hard disk backplane is used, the level value of the pin bp_type3 is pulled down to a low level, and the level values ​​of bp_type1 and bp_type2 are still maintained at a high level.

[0059] With the above design, since the level value of the target pin is different when the first circuit board 21 is in place and when it is not in place, the control module 12 can determine whether the first circuit board 21 is in place by detecting the level value of the target pin of the connector 14, and can determine the type of the first circuit board by the level value of the target pin of the connector 14, specifically, whether it is a 4C+ connector, a riser circuit board or a hard disk backplane.

[0060] In one example, the three GPIOs of the control module 12 can be electrically connected to the pins bp_type3, bp_type2 and bp_type1 respectively, and the level values ​​of the three pins can be detected by setting the GPIO to input mode. Then, the control module 12 can determine whether the first circuit board 21 is in place according to the level values.

[0061] In one implementation, when the first circuit board 21 is in place, the control module 12 can obtain the first identification of the first circuit board 21 in the following manner. For example, the first circuit board can be a hard disk backplane, a riser circuit board, or an OCP connector. Among them, a storage chip can be provided on the riser circuit board, and the first identification of the riser circuit board can be stored in the storage chip, and the identification can represent the bandwidth information of the riser circuit board. The same is true for the hard disk backplane, which will not be described in detail here. Unlike the previous two, a storage chip cannot be provided on the OCP connector, but the bandwidth information corresponding to the OCP connector only has 1*16 channels. That is, there can only be one slot in the OCP connector, and there can only be 16 channels in the slot.

[0062] In one example, if the riser circuit board includes a slot with a bandwidth of 16 channels, the user can store the first identifier of the riser circuit board at a specific storage address of the storage chip in advance, and the identifier can represent the bandwidth information of 1*16 channels. For example, the identifier can be a storage value of 001. If the riser circuit board includes two 8-channel slots, the user can store the first identifier of the riser circuit board at a specific storage address of the storage chip in advance, and the identifier can represent the bandwidth information of 2*8 channels. For example, the identifier can be a storage value of 010. A storage chip for storing the first identifier of the first circuit board 21 can also be provided in the hard disk backplane, and its implementation method is the same as the above description, which will not be repeated here.

[0063] On this basis, using the previous example, since the first circuit board 21 is in place, the level value of the target pin is different when the type of the first circuit board 21 is different. Therefore, the control module 12 can determine whether the first circuit board 21 is an OCP connector according to the level value of the aforementioned target pin. If it is not an OCP connector, the first identifier of the first circuit board 21 can be obtained from the storage chip. If it is an OCP connector, the preset identifier can be used as the first identifier of the first circuit board 21. For example, the preset identifier is 001.

[0064] In one example, the control module 12 can determine the type of the first circuit board 21 according to the level values ​​of the pins bp_type3, bp_type2 and bp_type1. If the first circuit board 21 is an OCP connector, a preset identifier (eg, 001) is used as the identifier of the first circuit board 21.

[0065] If the first circuit board 21 is a riser circuit board or a hard disk backplane, the control module 12 can read the identifier of the riser circuit board or the hard disk backplane from the storage chip via the communication connection line.

[0066] For example, the two GPIO interfaces of the control module 12 can be electrically connected to the integrated circuit bus (IIC) interface of the storage chip on the Riser circuit board or the hard disk backplane via the communication line. The two GPIO interfaces of the control module 12 can read the first identifier representing the bandwidth information from the storage chip by simulating the data line (SDA line) and the clock line (SCL line) of the IIC interface.

[0067] In addition, in another implementation, a storage chip may also be provided on the OCP connector. In this way, the control module 12 does not need to determine the type of the first circuit board 21, and can directly read the first identifier representing the bandwidth information of the first circuit board 21 from the storage chip on the first circuit board 21.

[0068] The control module 12 may be connected to the CPU 11 via a communication line. For example, the communication line may be an IIC communication connection line or a serial general purpose input / output (SGPIO) communication connection line. After acquiring the first identifier of the first circuit board 21, the control module 12 may send the first identifier to the CPU 11 via the communication line.

[0069] Next, after receiving the identification of the first circuit board 21 sent by the control module 12, the CPU 11 may call the BIOS 13 to query the base table stored internally to obtain the bandwidth information of the first circuit board 21. Then the CPU 11 may call the BIOS 13 to perform PCIE bandwidth resource allocation and PCIE bus resource allocation, wherein the bandwidth information may be used to indicate the number of slots in the first circuit board 21 and the number of PCIE channels included in each slot.

[0070] Exemplarily, the P0 interface of CPU11 includes 16 channels, and the first circuit board 21 is a riser circuit board, including two slots, each of which includes 8 channels. After receiving the identifier of the aforementioned riser circuit board (for example, the identifier is 010), CPU11 can call BIOS13 and query in the base table according to the identifier to obtain the bandwidth information of the riser circuit board, such as 2*8 channels. Then, after obtaining the bandwidth information, CPU11 can allocate the 16 channels corresponding to the P0 interface into 2 groups of 8 channels by setting the corresponding register bit value of the configuration register in BIOS13. CPU11 can also allocate the PCIE bus resources corresponding to the riser circuit board by setting the corresponding register bit value of the configuration register in BIOS13.

[0071] Compared with the prior art, which uses a fixed rear OCP connector, the CPU 11 can only allocate PCIE resources to the OCP network card corresponding to the rear OCP connector. The connector 22 and the connector 14 in the embodiment of the present application are connected in a detachable manner, and the user can flexibly select different types of first circuit boards 21 according to actual needs, and different types of first circuit boards 21 can be connected to different PCIE devices. In this way, the CPU 11 can flexibly allocate PCIE bandwidth resources and PCIE bus resources to different PCIE devices, thereby improving the utilization efficiency of PCIE resources.

[0072] The second embodiment of the present application provides a main board 2. The following will focus on the differences between the main board 2 and the main board 1 in the first embodiment. Figure 6 As shown, compared with the mainboard 1 of the first embodiment, the mainboard 2 of the second embodiment further includes a power module 15. Exemplarily, the power module 15 may be a switching power module.

[0073] The voltage output terminal of the power module 15 can be electrically connected to the connector 14. The connector 22 can be electrically connected to the first circuit board 21. The user can connect the connector 14 to the connector 22 so that the power module 15 can supply power to the PCIE device connected to the first circuit board 21.

[0074] After BIOS 13 allocates PCIE resources to the first circuit board 21, the control module 12 can also detect whether the PCIE device in the slot of the first circuit board 21 is in place. If it is in place, it indicates that the PCIE device may need to be powered by the power module 15, and the details will be described below.

[0075] Exemplarily, the type of the first circuit board 21 may be a riser circuit board, an OCP connector, or a hard disk backplane. The user may insert a PCIE device (e.g., a standard PCIE network card) in the slot of the riser circuit board, or insert an OCP network card in the slot of the OCP connector, or insert a hard disk in the slot of the hard disk backplane according to actual needs. The control module 12 may be electrically connected to the connector 14 through a metal trace, and correspondingly, the connector 22 may be electrically connected to the slot of the first circuit board 21 through a connecting line. The control module 12 may detect whether a PCIE device is inserted into the first circuit board 21 through a connector 14, for example, a PCIE device in-place signal pin in a female connector 143. When the PCIE device in the slot of the first circuit board 21 is in an out-of-place state and in-place state, the level value of the in-place signal pin of the PCIE device on the connector 14 is different. Therefore, the control module 12 may determine whether the PCIE device in the first circuit board 21 is in place by detecting the level value of the in-place signal pin of the PCIE device.

[0076] Next, after the control module 12 detects that a PCIE device is inserted into the slot of the first circuit board 21 and the PCIE device is in place, the type of the first circuit board 21 can be obtained.

[0077] In one implementation, following the previous example, if the type of the first circuit board 21 is different, the level values ​​of the target pins bp_type3, bp_type2, and bp_type1 are also different. Therefore, the control module 12 can determine the type of the first circuit board 21 according to the level values ​​of the target pins. For example, if the control module 12 detects that the level values ​​of the target pins bp_type3, bp_type2, and bp_type1 are high level, low level, and high level, respectively, the control module 12 can determine that the first circuit board 21 is a riser circuit board.

[0078] Since there are many types of first circuit boards 21, some types (referred to as first types) of first circuit boards 21 are connected to PCIE devices that support hot plugging. The first type of first circuit boards 21 require an independent power module 15 on the mainboard to supply power to them, so as to better realize the hot plugging function of the PCIE devices on the first circuit boards 21.

[0079] Specifically, the control module 12 can perform a power-on operation when it is detected that the type of the first circuit board 21 is the first type and the PCIE device on the first circuit board is in place, and perform a power-off operation after detecting that the PCIE device on the first circuit board 21 of the first type is unplugged. The PCIE device connected to the first circuit board 21 of other types (recorded as the second type) does not support hot plugging, and the first circuit board 21 of the second type is powered by other power modules on the motherboard, without the need for the power module 15 to power it. The user can set the first circuit board 21 of the first type to the target type in advance according to the actual situation.

[0080] Exemplarily, the type of the first circuit board 21 can be a riser circuit board, an OCP connector, or a hard disk backplane. Among the three, only the OCP network card connected to the OCP connector supports hot plugging, while the PCIE devices connected to the other two do not support hot plugging. The user can set the OCP connector as the target type.

[0081] After obtaining the type of the first circuit board 21, the control module 12 can determine whether the type of the first circuit board 21 is the target type. If the control module 12 determines that the type of the first circuit board 21 currently in place is the target type, the control module 12 can control its GPIO to send an enable signal (e.g., a high-level signal) to the enable control terminal of the power module 15, so that the voltage output terminal of the power module 15 supplies power to the first circuit board 21 through the connector 14 and the connector 22 (e.g., the supply voltage can be 12V), thereby enabling the PCIE device connected to the first circuit board 21 to work normally. If the type of the first circuit board 21 is not the target type, the control module 12 can control its GPIO to send a disable signal (e.g., a low-level signal) to the enable control terminal of the power module 15, so that the voltage output terminal of the power module 15 does not supply power to the first circuit board 21.

[0082] The third embodiment of the present application provides a main board 3, and the following will focus on the differences between the main board 3 and the main board 2 in the second embodiment.

[0083] Compared with the mainboard 2 of the second embodiment, the mainboard 3 of the second embodiment is further provided with an OCP connector 16 at the rear position. Figure 7 As shown. Therefore, the OCP connector 16 can be called a rear OCP connector. The OCP connector 16 can be electrically connected to the PCIE interface of the CPU 11, the general input and output GPIO interface of the control module 12, and the voltage output end of the power module 15 through metal wiring, so that the OCP network card connected to the OCP connector 16 communicates with the CPU 11, and it is also convenient for the GPIO interface of the control module 12 to detect whether the OCP network card is in place.

[0084] If the control module 12 detects that the first circuit board 21 is not in place, it indicates that only the OCP connector 16 is currently available, so a preset identifier (for example, identifier 001) representing 1*16 channel bandwidth information can be used as the identifier of the OCP connector 16, and the identifier is sent to the CPU 11. Specifically, the method for the control module 12 to detect whether the first circuit board 21 is in place has been described in detail in the first embodiment, and will not be repeated here.

[0085] After receiving the identifier of the OCP connector 16, the CPU 11 may call the BIOS 13 to query the base table to obtain the bandwidth information of the OCP connector 16. Then, the CPU 11 may call the BIOS 13 to allocate PCIE bandwidth resources and PCIE bus resources to the OCP connector 16 according to the bandwidth information.

[0086] The specific allocation method can refer to the first embodiment, in which the CPU 1 allocates PCIE bandwidth resources and PCIE bus resources to the first circuit board 21, and will not be described in detail here.

[0087] In the embodiment of the present application, the mainboard 3 includes both an OCP connector 16 and a connector 14. The connector 14 can be connected to different types of first circuit boards 21 through a connector 22, and the first circuit board 21 can be plugged with different types of PCIE devices. Therefore, the embodiment of the present application can allocate PCIE bandwidth resources and PCIE bus resources to the OCP network card connected to the OCP connector 16, and can also be allocated to the PCIE device connected to the first circuit board 21, thereby further improving the utilization efficiency of PCIE resources. At the same time, since the OCP network card supports hot plugging, the control module 12 can send an enable signal to the enable control terminal of the power module 15 when detecting that the OCP network card is in place, so that the power module 15 can supply power to the OCP connector 16, so that the OCP network card can work normally.

[0088] In addition, the mainboard 3 may not include the power module 15, and its content will not be described in detail here.

[0089] The fourth embodiment of the present application provides a main board 4, and the following description focuses on the differences between the main board 4 and the main board 3 in the third embodiment. Figure 8 As shown, compared with the main board 3, the main board 4 is further provided with a BMC 17, and the BMC 17 can be connected to the control module 12 through a communication line. In this way, when the control module 12 detects a fault signal, it can send the fault signal to the BMC 17. The BMC 17 can also be connected to a remote client, and after receiving the fault information, the BMC 17 can display the fault information on the web page of the remote client, so that the user can timely understand the current fault of the main board 4.

[0090] In addition, BMC17 can also be electrically connected to OCP connector 16, and BMC17 can perform out-of-band management on motherboard 4. In this way, the user can insert an OCP network card in OCP connector 16, and the OCP network card can perform out-of-band management on motherboard 4 by accessing BMC17, so as to monitor the working status of motherboard 4. Exemplarily, BMC17 can communicate with the OCP network card connected to OCP connector 16 using NCSI communication protocol.

[0091] Similarly, BMC17 can also be electrically connected to connector 14. When the user connects connector 22 to connector 14, the PCIE device inserted in the first circuit board 21 can access BMC17 to perform out-of-band management of the mainboard 4, thereby monitoring the working status of the mainboard 4. Exemplarily, BMC17 can communicate with the PCIE device connected to the first circuit board 21 using the NCSI communication protocol.

[0092] In addition, the mainboard 4 may not include the OCP connector 16 and / or the power module 15, and their contents will not be described in detail here.

[0093] The fifth embodiment of the present application provides a main board 5, and the following will focus on the differences between the main board 5 and the main board 4 in the fourth embodiment. Fig. 9 As shown, compared with the main board 4, the main board 5 is also provided with a multi-way selector 18. Fig.10 As shown, the multiplexer 18 may include three ports, namely port 181, port 182 and port 183. The BMC 17 may be electrically connected to the port 181, the OCP connector 16 may be electrically connected to the port 182, and the connector 14 may be electrically connected to the port 183. The multiplexer 18 may also include a strobe terminal 184, which may be electrically connected to a GPIO port of the control module 12.

[0094] When the control module 12 detects that the first circuit board 21 is in place, it can control its GPIO port to send a first signal (e.g., a high-level signal) to the strobe terminal 184. At this time, the port 181 in the multiplexer 18 is connected to the port 182, so that the BMC 17 is connected to the OCP connector 16. When the control module 12 cannot detect the in-place signal of the first circuit board 21, it can control its GPIO port to send a second signal (e.g., a low-level signal) to the strobe terminal 184. At this time, the port 181 in the multiplexer 18 is connected to the port 183, so that the BMC 17 is connected to the connector 14. This connection method can effectively reduce the radiation generated during the communication process and improve the quality of signal transmission.

[0095] In addition, the mainboard 5 may not include the power module 15, and its content will not be described in detail here.

[0096] It is to be understood that the structure of the motherboard illustrated in the embodiment of the present application does not constitute a specific limitation on the motherboard. In other embodiments of the present application, the motherboard may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0097] The above is an introduction to the motherboard provided in the embodiment of the present application. Next, based on the above content, the embodiment of the present application also provides a computing device, which may include any of the motherboards described in the aforementioned embodiments, and the computing device may be a server, and the server may be a rack server, a blade server, a cabinet server, an AI server, etc. The AI ​​server may be a GPU server. Therefore, the CPU in the computing device can flexibly allocate PCIE resources to PCIE devices connected to different types of first circuit boards, thereby improving the utilization efficiency of PCIE resources.

[0098] The PCIE resource allocation method provided in the embodiment of the present application can be applied to the mainboard in the above embodiment. Fig.11 As shown, the PCIE resource allocation method may include the following steps:

[0099] S1101, the control module 12 detects whether the first circuit board 21 is in place. If it is in place, execute step S1102.

[0100] In this step, the control module 12 can detect whether the first circuit board 21 is connected to the mainboard 1. If so, it indicates that PCIE bandwidth resources and PCIE bus resources need to be allocated to the first circuit board 21 in subsequent steps. Exemplarily, the first circuit board 21 can be an OCP connector, a hard disk backplane, or a riser circuit board.

[0101] S1102 , the control module 12 obtains a first identifier of the first circuit board 21 , and sends the first identifier to the CPU 11 .

[0102] In this step, the control module 12 can obtain the identifier of the first circuit board 21 and send the identifier to the CPU 11. The identifier represents the bandwidth information of the first circuit board 21, that is, the number of slots included in the first circuit board 21 and the number of PCIE channels included in each slot.

[0103] S1103 . The CPU 11 determines the first bandwidth information of the first circuit board according to the first identifier, and allocates PCIE bandwidth resources and PCIE bus resources to the first circuit board 21 .

[0104] In this step, the CPU 11 can call the BIOS 13, and query in the base table according to the identification of the first circuit board 21 to obtain the bandwidth information of the first circuit board 21. The CPU 11 can call the BIOS 13, and perform configuration operations in the configuration register according to the bandwidth information of the first circuit board 21, so as to allocate PCIE bandwidth resources and PCIE bus resources to the first circuit board 21. In this way, after the PCIE device is inserted into the slot of the first circuit board 21, the CPU 11 can communicate with these PCIE devices using the PCIE bus.

[0105] Compared with the prior art, which uses a fixed rear OCP connector, the CPU 11 can only allocate PCIE resources to the OCP network card corresponding to the rear OCP connector. The connector 22 and the connector 14 in the embodiment of the present application are connected in a detachable manner, and the user can flexibly select different types of first circuit boards 21 according to actual needs, and different types of first circuit boards 21 can be connected to different PCIE devices. In this way, the BIOS 13 can flexibly allocate PCIE bandwidth resources and PCIE bus resources to different PCIE devices, thereby improving the utilization efficiency of PCIE resources.

[0106] In some embodiments, the PCIE resource allocation method provided in the embodiments of the present application may further include the following steps:

[0107] The control module 12 detects whether a PCIE device is inserted into the slot of the first circuit board 21 and the PCIE device is in place. If so, the type information of the first circuit board 21 is obtained;

[0108] In this step, the control module 12 can detect whether a PCIE device is inserted into the slot of the first circuit board 21 and the PCIE device is in place according to the method described in the above embodiment. If so, it indicates that the PCIE device may need to be powered.

[0109] The control module 12 determines whether the type of the first circuit board 21 is the target type. If so, the control module 12 sends an enable signal to the enable control terminal of the power module 15 so that the voltage output terminal of the power module 15 supplies power to the first circuit board 21 through the connector.

[0110] In this step, the control module 12 can determine whether the type of the first circuit board 21 is the target type. If so, it indicates that the PCIE device connected to the first circuit board 21 needs to obtain power from the power module 15. Therefore, the control module 12 can send an enable signal to the enable control terminal of the power module 15, so that the control module 12 supplies power to the first circuit board 21, thereby ensuring that the PCIE device connected to the first circuit board 21 can work normally.

[0111] In some embodiments, the PCIE resource allocation method provided in the embodiments of the present application may further include the following steps:

[0112] If the type of the first circuit board 21 is not the target type, the control module 12 sends a disable signal to the enable control terminal of the power module 15, so that the voltage output terminal of the power module 15 does not supply power to the first circuit board 21. At this time, the first circuit board 21 is powered by other power modules on the mainboard.

[0113] In this step, if the control module 12 detects that the type of the first circuit board 21 is not the target type, it indicates that the PCIE device connected to the first circuit board 21 does not need to obtain power from the power module 15. Therefore, the control module 12 can send a disable signal to the enable control terminal of the power module 15 so that the voltage output terminal of the power module 15 does not supply power to the first circuit board 21.

[0114] In some embodiments, the PCIE resource allocation method provided in the embodiments of the present application may further include the following steps:

[0115] When the control module 12 cannot detect the presence signal of the first circuit board 21 , the control module 12 sends the second identification of the OCP connector 16 to the CPU 11 .

[0116] In this step, the OCP connector 16 is a rear OCP connector, which includes 16 PCIE channels. When the control module 12 detects that the first circuit board 21 is not connected to the connector 14, it indicates that only the OCP connector 16 is currently available, so the preset identifier (for example, the identifier is 001) representing the 1*16 channel bandwidth information can be used as the second identifier of the OCP connector 16, and the second identifier is sent to the BIOS 13 through the communication connection line.

[0117] The CPU 11 may call the BIOS 13 to determine the second bandwidth information of the rear OCP connector according to the second identifier, and allocate PCIE bandwidth resources and PCIE bus resources to the OCP connector 16 according to the second bandwidth information.

[0118] In this step, after receiving the identifier of the OCP connector 16, the CPU 11 may call the BIOS 13 to query the base table to obtain the bandwidth information of the OCP connector 16. Then, the CPU 11 may call the BIOS 13 to allocate PCIE bandwidth resources and PCIE bus resources to the OCP connector 16 by configuring the configuration register according to the bandwidth information, so as to facilitate the communication between the OCP network card and the CPU 11.

[0119] When the OCP network card in the OCP connector 16 is in place, the control module 12 may send an enable signal to the enable control terminal of the power module 15 so that the voltage output terminal of the power module 15 supplies power to the OCP connector 16 .

[0120] In this step, the control module 12 can also detect whether an OCP network card is inserted into the slot of the OCP connector 16. Since the OCP network card supports hot plugging, if the OCP network card is in place, the control module 12 sends an enable signal to the enable control terminal of the power module 15, so that the power module 15 can supply power to the OCP network card connected to the OCP connector 16, so that the OCP network card can communicate with the CPU 11.

[0121] In some embodiments, when the first circuit board 21 is in place, obtaining the first identification of the first circuit board 21 may include: detecting the level value of the target pin in the connector, and determining whether the first circuit board 21 is in place based on the level value; if so, obtaining the first identification of the first circuit board 21.

[0122] In this embodiment, since the level value of the target pin in the connector 14 is different when the first circuit board 21 is in place and when it is not in place, the control module 12 can detect the level value of the target pin in the connector 14 and determine whether the first circuit board 21 is in place according to the level value. If it is in place, the control module 12 can obtain the first identification of the first circuit board 21.

[0123] In some embodiments, the control module 12 obtains the identifier of the first circuit board 21, which may include: the control module 12 determines the type of the first circuit board 21 according to the level value of the target pin; if the first circuit board 21 is not an OCP connector, obtains the first identifier of the first circuit board 21 from the storage chip; if the first circuit board 21 is an OCP connector, determines a preset identifier (second identifier) ​​corresponding to the OCP connector, and the preset identifier can be pre-stored in the control module.

[0124] In this embodiment, the first circuit board 21 can be an OCP connector, or a hard disk backplane, or a riser circuit board. Among them, the hard disk backplane and the riser circuit board can be provided with a memory chip, while the OCP connector cannot be provided with a memory chip.

[0125] Since the level values ​​of the target pins are different when the connector 14 is connected to different types of first circuit boards 21, the control module 12 can determine the type of the first circuit board 21 according to the level value of the target pin. If the type of the first circuit board 21 is not an OCP connector, the control module 12 can obtain the identifier of the first circuit board 21 from the storage chip. If the first circuit board 21 is an OCP connector, the preset identifier can be used as the identifier of the OCP connector. For example, the preset identifier can be 001, which is used to represent a 1*16 channel.

[0126] In addition, in another implementation, a storage chip may also be provided on the OCP connector. In this way, the control module 12 does not need to determine the type of the first circuit board 21, and can directly read the first identifier representing the bandwidth information of the first circuit board 21 from the storage chip on the first circuit board 21. It can be understood that the size of the serial number of each step in the above embodiment does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. In addition, in some possible implementations, the steps in the above embodiment can be selectively executed according to actual conditions, and can be partially executed or fully executed, which is not limited here.

[0127] The control module 12 in the embodiment of the present application is a processor, and the processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. The general-purpose processor can be a microprocessor or any conventional processor.

[0128] The method steps in the embodiments of the present application can be implemented by hardware or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, CD-ROMs, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC.

[0129] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions may be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.

[0130] It should be understood that the various numerical numbers involved in the embodiments of the present application are only used for the convenience of description and are not used to limit the scope of the embodiments of the present application.

Claims

1. A motherboard, characterized in that: The mainboard includes a control module, a central processing unit (CPU) and a connector; the connector is electrically connected to the PCIE interface of the CPU and the control module respectively; the connector is used to be electrically connected to the first circuit board in a detachable manner; wherein the first circuit board is used to be electrically connected to at least one PCIE device; The control module is used to obtain a first identifier of the first circuit board when the first circuit board is in place, and send the first identifier to the CPU; wherein the first identifier is used to represent bandwidth information of the first circuit board; The CPU is used to determine first bandwidth information of the first circuit board according to the first identifier, and allocate PCIE bandwidth resources and PCIE bus resources to the first circuit board according to the first bandwidth information.

2. The mainboard according to claim 1, characterized in that: The mainboard further comprises a power module, and a voltage output terminal of the power module is connected to the connector; The control module is also used to obtain the type information of the first circuit board when a PCIE device is inserted into the first circuit board and the PCIE device is in place; when the type of the first circuit board is the target type, send an enable signal to the enable control end of the power module so that the voltage output end of the power module supplies power to the first circuit board through the connector.

3. The mainboard according to claim 2, characterized in that: The control module is further configured to send a disable signal to the enable control terminal of the power module when the type of the first circuit board is not the target type, so that the voltage output terminal of the power module does not supply power to the first circuit board.

4. The mainboard according to any one of claims 1 to 3, characterized in that: The mainboard further includes a rear OCP connector, which is used to connect an OCP network card; the rear OCP connector is electrically connected to a PCIE interface of the CPU, the control module, and a voltage output end of the power module respectively; The control module is further configured to send the second identifier of the rear OCP connector to the CPU when the first circuit board is not in place; The CPU is used to determine the second bandwidth information of the rear OCP connector according to the second identifier, and allocate PCIE bandwidth resources and PCIE bus resources to the OCP network card connected to the rear OCP connector according to the second bandwidth information; The control module is further configured to send an enable signal to the enable control terminal of the power module when the OCP network card is in place, so that the voltage output terminal of the power module supplies power to the OCP network card through the rear OCP connector.

5. The mainboard according to any one of claims 1 to 4, characterized in that: When executing the step of obtaining the first identifier of the first circuit board when the first circuit board is in place, the control module is specifically used to detect the level value of the target pin in the connector, and determine whether the first circuit board is in place according to the level value; if so, obtain the first identifier of the first circuit board.

6. The mainboard according to any one of claims 1 to 5, characterized in that: The first circuit board is a front OCP connector, or a hard disk backplane, or a riser circuit board.

7. The mainboard according to claim 6, characterized in that: When executing the step of obtaining the first identifier of the first circuit board, the control module is specifically configured to: determining the type of the first circuit board according to the level value of the target pin; If the first circuit board is not an OCP connector, obtaining a first identifier of the first circuit board from a storage chip; the storage chip is arranged on the hard disk backplane and / or the riser circuit board; If the first circuit board is an OCP connector, a preset identifier corresponding to the OCP connector is determined.

8. The mainboard according to any one of claims 4 to 7, characterized in that: The mainboard further includes a baseboard management controller BMC, and the BMC is communicatively connected with the control module, the connector and the rear OCP connector respectively.

9. The mainboard according to claim 8, characterized in that: The main board is also provided with a multi-way selector, and the multi-way selector is provided with a gating terminal; The BMC is respectively connected to the connector and the rear OCP connector through the multiplexer for communication, and the selection end of the multiplexer is electrically connected to the control module.

10. A computing device, characterized in that The computing device comprises the mainboard according to any one of claims 1-9.

Citation Information

Cited By

  • Cable riser cable assembly and design method

    CN122195907A