A computer system, bandwidth configuration method, product, server and medium

By designing slots and connectors for expansion cards and server motherboards in the server system, and defining the configuration information of the target bandwidth type according to the preset protocol, the compatibility problem of sharing multiple bandwidth types is solved, and the seamlessness of different bandwidth types is achieved Compatible and efficient data transmission.

CN118672367BActive Publication Date: 2024-11-19INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411149166.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2024-11-19
Estimated Expiration
2044-08-21

AI Technical Summary

Technical Problem

When the existing server motherboard is connected to external devices, multiple bandwidth types under the same protocol cannot be shared, resulting in poor compatibility and cannot meet the diverse Internet application needs.

Method used

Design a computer system to connect through slots and connectors between the expansion card and the server motherboard. The slots predefined configuration information of the target bandwidth type according to the preset protocol. The connector is used to send the device's storage information to the server motherboard. , the server motherboard allocates corresponding configuration information according to the target bandwidth type to achieve compatibility of different bandwidth types.

Benefits of technology

The hardware compatibility of expansion cards is improved, allowing devices of different bandwidth types to share a set of expansion cards, achieving seamless compatibility of each network card type, reducing signal loss and interference, and meeting the power supply needs of smart network cards and ordinary network cards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118672367B_ABST
    Figure CN118672367B_ABST
Patent Text Reader

Abstract

The present invention discloses a computer system, a bandwidth configuration method, a product, a server and a medium, and relates to the field of computer technology. It includes an expansion card, which includes a slot and a connector; the slot predefines configuration information corresponding to the target bandwidth type according to a first preset protocol; the connector is used to connect the slot to a server motherboard; and the slot is connected to a corresponding device. The slot predefines the configuration information corresponding to the target bandwidth type according to the first preset protocol. The first preset protocol in the conventional bandwidth configuration has the limitation of only one bandwidth type, and its target bandwidth type can be set to different bandwidth types to improve the hardware compatibility of the expansion card. By setting the configuration information of each target bandwidth type, devices under different bandwidth types can share a set of expansion cards under the computer system, achieve compatibility with different target bandwidth types, and further achieve seamless compatibility of various network card types.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a computer system, a bandwidth configuration method, a product, a server and a medium. Background Art

[0002] The connection between the server motherboard and external devices is achieved through a series of interfaces and slots, which support different types of external devices and network connections.

[0003] For external devices supporting the same protocol, a traditional server motherboard uses one interface for connection, and the corresponding slots support different bandwidth types. In fact, multiple bandwidth types of external devices under the same protocol cannot be shared, resulting in poor compatibility of bandwidth types.

[0004] Therefore, how to improve the compatibility of multiple bandwidth types is an urgent problem to be solved by those skilled in the art. Summary of the invention

[0005] The purpose of the present invention is to provide a computer system, a bandwidth configuration method, a product, a server and a medium to solve the limitation and poor compatibility of the first preset protocol corresponding to only one bandwidth type in the conventional bandwidth configuration.

[0006] To solve the above technical problems, the present invention provides a computer system, including an expansion card, wherein the expansion card includes a slot and a connector;

[0007] The slot predefines configuration information corresponding to the target bandwidth type according to the first preset protocol;

[0008] The connector is used to connect the slot to the server mainboard;

[0009] The slot is connected to a corresponding device and is used to send the storage information of the device to the server mainboard;

[0010] The server mainboard is used to identify the target bandwidth type according to the storage information of the device, and allocate the configuration information corresponding to the device according to the target bandwidth type.

[0011] On the one hand, the connector is connected to the slot in the expansion card through a welding pad of a welding wire.

[0012] On the other hand, the connector includes a male connector and a female connector; the male connector is located in the expansion card; the female connector is located in the server motherboard;

[0013] The server mainboard is connected to the slot of the expansion card by plugging the female connector in the server mainboard with the male connector in the expansion card.

[0014] On the other hand, when the target bandwidth type is an N×M bandwidth type, the number of the connectors is N, and the slot pins of the slots respectively predefine configuration information of the N×M bandwidth type; wherein N and M are positive integers.

[0015] On the other hand, the slot pins of the slot include a reference clock pin, an independent reset pin, and a channel information pin corresponding to a target bandwidth type based on a first preset protocol.

[0016] On the other hand, the number of the devices is the same as the number of bandwidth types of the target bandwidth type.

[0017] On the other hand, the expansion card also includes a first component and a first processor;

[0018] The first component is connected to the first processor and to the server mainboard;

[0019] The first processor is connected to the socket.

[0020] On the other hand, the expansion card also includes a connector;

[0021] The connector is connected to the slot.

[0022] On the other hand, the connector is also connected to the first processor.

[0023] On the other hand, the number of the connectors is the same as the number of bandwidth types of the target bandwidth type.

[0024] In another aspect, a second processor is included;

[0025] The second processor is connected to the socket and the connector, and is connected to the first processor.

[0026] On the other hand, the expansion card further includes a power connector; the power signal of the power connector includes a smart network card power supply signal and a common network card power supply signal;

[0027] The power connector is connected to the slot.

[0028] On the other hand, the device is a network card, and the bandwidth type of the network card includes an intelligent network card bandwidth type and a common network card bandwidth type; the expansion card also includes a first component and a first processor;

[0029] The first component is connected to the first processor and to the first controller in the server motherboard;

[0030] The first processor is connected to the slot;

[0031] The first controller is connected to the logic unit.

[0032] In order to solve the above technical problems, the present invention also provides a bandwidth configuration method based on an expansion card, which is applied to an expansion card of a computer system; the expansion card includes a slot and a connector, the slot predefines configuration information corresponding to a target bandwidth type according to a first preset protocol; the connector is used to connect the slot to a server motherboard; the slot is connected to a corresponding device; the bandwidth configuration method includes:

[0033] Acquire storage information of the device connected by the slot;

[0034] The storage information is sent to the server mainboard.

[0035] On the one hand, the expansion card further includes a first component and a first processor; the first component is connected to the first processor and to the server mainboard; the first processor is connected to the slot; and obtaining storage information of the device connected to the slot includes:

[0036] The storage information of the device stored in the first component is obtained through the system management bus and the first processor.

[0037] In order to solve the above technical problems, the present invention also provides a bandwidth configuration method based on a server motherboard, which is applied to a server motherboard of a computer system. The bandwidth configuration method includes:

[0038] Acquire storage information of a device sent by an expansion card; wherein the expansion card includes a slot and a connector, the slot predefines configuration information corresponding to a target bandwidth type according to a first preset protocol; the connector is used to connect the slot to the server mainboard; the slot is connected to a corresponding device;

[0039] identifying the target bandwidth type according to the storage information of the device;

[0040] Configuration information corresponding to the device is allocated according to the target bandwidth type.

[0041] On the one hand, the expansion card further includes a power connector; the power signal of the power connector includes a smart network card power supply signal and a common network card power supply signal; the power connector is connected to the slot; the device is a network card, and the bandwidth type of the network card includes a smart network card bandwidth type and a common network card bandwidth type; the first component is also connected to a first controller in the server motherboard; the first controller is connected to a logic unit; before identifying the target bandwidth type according to the storage information of the device, it also includes:

[0042] Read the network card bandwidth type of the storage information of the device;

[0043] The power signal of the power connector in the expansion card is controlled to perform power supply processing according to the identified network card bandwidth type.

[0044] To solve the above technical problems, the present invention also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the above-mentioned bandwidth configuration method based on the expansion card or the bandwidth configuration method based on the server motherboard.

[0045] In order to solve the above technical problems, the present invention further provides a server, comprising:

[0046] Memory for storing computer programs;

[0047] The processor is used to implement the steps of the bandwidth configuration method based on the expansion card or the bandwidth configuration method based on the server mainboard when executing the computer program.

[0048] In order to solve the above technical problems, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the bandwidth configuration method based on the expansion card or the bandwidth configuration method based on the server motherboard as described above are implemented.

[0049] The present invention provides a computer system, comprising an expansion card, the expansion card comprising a slot and a connector; the slot predefines configuration information corresponding to a target bandwidth type according to a first preset protocol; the connector is used to connect the slot to a server mainboard; the slot is connected to a corresponding device, and is used to send storage information of the device to the server mainboard; the server mainboard is used to identify the target bandwidth type according to the storage information of the device, and allocate the configuration information corresponding to the device according to the target bandwidth type.

[0050] The beneficial effect of the present invention is that the slot predefines the configuration information corresponding to the target bandwidth type according to the first preset protocol. The first preset protocol in the conventional bandwidth configuration has the limitation of only one bandwidth type. Its target bandwidth type can be set to different bandwidth types to improve the hardware compatibility of the expansion card. By setting the configuration information of each target bandwidth type, devices under different bandwidth types can share a set of expansion cards under the computer system, achieve compatibility with different target bandwidth types, and further achieve seamless compatibility of various network card types.

[0051] Secondly, the wire pad connects the connector and the slot to ensure that data transmission is as short and direct as possible, which helps to reduce signal loss and interference. The female connector is located in the server motherboard, and the male connector is located in the expansion card. The connection is connected in a plug-in manner to achieve the slot connection between the server motherboard and the expansion card to ensure the interchangeability and flexibility between electronic devices. The setting process of the target bandwidth type and the pin information of the slot pins ensure the universality and compatibility of the target bandwidth data in the same expansion card, saving the occupied area of ​​the expansion card. The relationship between the first component and the first processor facilitates the server motherboard to receive the storage information of the device stored by the first processor and identify the corresponding target bandwidth type. The connection relationship of the second processor improves the data transmission efficiency, avoids bus locking and completes the operation without interference. The compatible power-on control logic in different states realizes the power supply requirements of the expansion card in different states. The conditional limitation of the power-on control logic realizes the compatibility of the power supply of the smart network card S5 and the power supply of the ordinary network card S0, and meets the requirement of the smart network card and the ordinary PCIE device to share a hardware design.

[0052] In addition, the present invention also provides a bandwidth configuration method based on an expansion card, a bandwidth configuration method based on a server mainboard, a computer program product, a server and a computer-readable storage medium, which have the same beneficial effects as the above-mentioned computer system. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0054] Figure 1 This is a diagram of the expansion card system architecture of a common network card;

[0055] Figure 2 A schematic diagram of the structure of a computer system provided by an embodiment of the present invention;

[0056] Figure 3A flow chart of a bandwidth configuration method based on an expansion card provided in an embodiment of the present invention;

[0057] Figure 4 A flowchart of another bandwidth configuration method based on an expansion card provided by an embodiment of the present invention;

[0058] Figure 5 A schematic diagram of a bandwidth configuration method based on a server motherboard provided by an embodiment of the present invention;

[0059] Figure 6 A structural diagram of a bandwidth configuration device based on an expansion card provided in an embodiment of the present invention;

[0060] Figure 7 A structural diagram of a bandwidth configuration device based on a server mainboard provided by an embodiment of the present invention;

[0061] Figure 8 A structural diagram of a server provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0062] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0063] The core of the present invention is to provide a computer system, a bandwidth configuration method, a product, a server and a medium to solve the limitation and poor compatibility of the first preset protocol corresponding to only one bandwidth type in the conventional bandwidth configuration.

[0064] The development of the Internet has driven the continuous development of infrastructure. In today's Internet era, servers are the most important basic equipment for various Internet vendors. Different services are arranged on servers to meet the needs of different Internet users. Furthermore, different business scenarios require different components in the server to achieve. Common components include network cards, smart network cards, hard disks, and redundant array of independent disks (RAID) cards.

[0065] Corresponding to the high-speed serial computer expansion bus standard (Peripheral Component Interconnect Express, PCIE) devices, such as Graphics Processing Unit (GPU), network card, smart network card, etc., its interface form meets the card electro-mechanical specification (Peripheral Component Interconnect Express Card Electromechanical Specification, PCIECEM) of the high-speed serial computer expansion bus standard, and is connected to the PCIE standard slot on the server motherboard in the form of a gold finger. The PCIE standard slot is divided into multiple forms such as X4, X8, and X16. Here, X4, X8, and X16 refer to the PCIE bandwidth. The PCIE CEM specification is a set of detailed specifications for the physical size, shape, connector, and hot-swap characteristics of the PCIE card. It ensures compatibility between PCIE cards and slots produced by different manufacturers.

[0066] The core of Smart NIC is to assist the central processing unit (CPU) in processing network load and programming network interface functions through the field programmable gate array (FPGA). As the master device of the server, Smart NIC can release part of the resources of the server CPU and dual in-line memory module (DIMM) to ensure that it provides the maximum processing power for the application. At the same time, Smart NIC can also provide distributed computing resources, allowing users to develop their own software or provide access services to accelerate specific applications. With the exponential growth of data, enterprises and cloud providers require servers and computing resources to have higher performance in order to analyze large amounts of data in real time. In view of this, the ability of Smart NIC to release server CPU and DIMM resources is becoming more and more valuable, the role of Smart NIC in the entire data center is becoming more and more important, and the application scenarios of Smart NIC are becoming more and more diverse.

[0067] Unlike common PCIE devices, the Smart NIC contains key components such as FPGA, Baseboard Management Controller (BMC), Complex Programmable Logic Device (CPLD), etc., which ensures that the Smart NIC can run as an independent system. The FPGA inside the Smart NIC is a PCIE terminal device connected to the upstream server system. The maximum bandwidth supported by the FPGA itself is X16. At the same time, under different configurations, it can be presented to the outside as a whole X16, or two X8 devices. The implementation of the configuration here is determined by the firmware burned by the FPGA itself. When allocated as two X8 devices, a single Smart NIC can connect to two server systems at the same time, realizing the multihost function (multi-host support), further expanding the application scenarios of the Smart NIC and improving the value and efficacy of a single Smart NIC. However, the actual situation of the current server system motherboard or adapter card cannot meet this 2X8 application situation, which will inevitably limit the application scenarios of the Smart NIC, which is contrary to the increasingly diversified needs of the current Smart NIC.

[0068] In the conventional bandwidth configuration process, only one bandwidth type can be used. Figure 1 This is a common expansion card system architecture diagram for a common network card, such as Figure 1 As shown, the connector in the motherboard and the gold finger of the expansion card are connected by a cable to connect the PCIE signal of the X16 bandwidth in the server motherboard to the X16 slot of the PCIE of the expansion card. After the system management bus (SMBUS) signal corresponding to the inter-integrated circuit (I2C) of the server is connected to the expansion card, it is transferred to 4 I2C signals through the first processor (I2C one-to-multiprocessor, such as CA9646), which are Channel [3: 0]. The I2C after channel 0 is connected to the field replaceable unit (Field Replaceable Unit, FRU), temperature sensor (Temp Sensor), input output (IO) expansion processor (such as CA9555) and so on in the expansion card. Figure 1 In the process of using an expansion card of one bandwidth type, its corresponding function is limited, and it is impossible to implement the configuration process of multiple bandwidth types on one expansion card. The expansion card provided by the present invention can solve the above technical problems.

[0069] The compatibility of different bandwidth types usually refers to the ability of devices with different speeds or performance to work together in a computer network or data communication system. Key factors to ensure compatibility of different bandwidth types:

[0070] 1. Adaptive technology: Many devices and interfaces use adaptive technology to automatically detect the performance of the other end of the connection and adjust their own rate to match.

[0071] 2. Backward compatibility: New technologies or standards are usually designed to be backward compatible, that is, to be able to work with older versions of equipment or technologies, although possibly at a lower rate.

[0072] 3. Protocol support: The design of network protocols allows devices of different speeds to communicate through the protocol. For example, Ethernet can support speeds ranging from 10Mbps to 100Gbps.

[0073] 4. Rate Limiting: In some cases, the system may need to manually configure rate limiting to ensure that devices with different bandwidths can work together without causing data loss or overload.

[0074] 5. Switches and routers: Network switches and routers are usually designed to support multiple speeds and types of connections and can intelligently handle data streams of different bandwidths.

[0075] 6. Signal modulation: In wireless communications, different modulation techniques can be used to adapt to different bandwidth requirements. For example, more complex modulation schemes can provide higher data rates.

[0076] 7. Encoding and decoding technology: Devices compatible with different bandwidths may need to use the same encoding and decoding technology to ensure accurate data transmission.

[0077] 8. Buffering and flow control: Buffers can be used to balance data flows between devices of different rates, while flow control mechanisms can prevent data overflow or loss.

[0078] 9. Middleware: In some cases, the use of middleware or adapters can serve as a bridge between devices with different bandwidths, providing necessary conversion or adaptation functions.

[0079] 10. Standards and specifications: Following common standards and specifications helps ensure compatibility between different devices and systems.

[0080] When designing and deploying a system, it is very important to consider the bandwidth compatibility of different devices to ensure the performance and reliability of the entire system. As technology develops, new solutions and standards continue to emerge to improve compatibility between different bandwidth types.

[0081] Figure 2A schematic diagram of the structure of a computer system provided by an embodiment of the present invention is shown in FIG. Figure 2 As shown, it includes an expansion card 1, and the expansion card 1 includes a slot 4 and a connector 2;

[0082] Slot 4 predefines configuration information corresponding to the target bandwidth type according to the first preset protocol;

[0083] Connector 2, used to connect slot 4 to server motherboard 10;

[0084] Slot 4 is connected to the corresponding device 11 and is used to send the storage information of the device 11 to the server mainboard 10;

[0085] The server mainboard 10 is used to identify the target bandwidth type according to the storage information of the device, and allocate the configuration information corresponding to the device 11 according to the target bandwidth type.

[0086] Specifically, the slot in this embodiment is used in the expansion card to connect and install various expansion cards using the first preset protocol interface, allowing the user to add or upgrade hardware devices such as GPU, solid-state drive, network card, sound card, etc. as needed. There is no limitation on the corresponding transmission rates, which can be set according to the actual situation, including but not limited to:

[0087] PCIe1.0: Maximum speed up to 250MB / s (per channel);

[0088] PCIe2.0: Maximum speed can reach 500MB / s (per channel);

[0089] PCIe3.0: Maximum speed can reach 985MB / s (per channel);

[0090] PCIe4.0: Maximum speed can reach 1.98GB / s (per channel);

[0091] PCIe5.0: Maximum speed can reach 3.96GB / s (per channel);

[0092] Slots have different lengths and numbers of channels, the most common ones are X4, X8, X16, etc. The more channels a slot has, the stronger its data transmission capacity is. When choosing an expansion card, you need to ensure that the card's interface type and number of channels are compatible with the motherboard's slot. The slot predefines the configuration information corresponding to the target bandwidth type according to the first preset protocol. It can be understood that the predefined target bandwidth type is based on the configuration information of different target bandwidth types listed in the form of slots, which is at least one target bandwidth type. The specific process of predefinition can define the target bandwidth type that the reserved pins in the original slot want to be compatible with according to the first preset protocol, mainly adding the function definition of the pins.

[0093] The pre-definition is mainly based on the redefinition of the reserved pins marked in the PCIE CEM specification to be compatible with various target bandwidth types.

[0094] The function of the connector is to connect the slot of the expansion card and the server motherboard. It can be in the form of a plug or a socket and is mainly used to transmit high-speed data. In this embodiment, the specific model and type of the connector are not limited and can be set according to actual conditions, such as the Mini Cool Edge Input Output (MICO) connector, or other Slimline connectors. The MICO connector supports the transmission of high data rate signals and is commonly used in application scenarios such as servers, storage devices, data centers, and network devices.

[0095] The slot is connected to the corresponding device, where the device is mainly peripheral components, such as GPU, network card, smart network card, etc. The target bandwidth type of the device and the connector is the same. The slot and the corresponding device mainly send the storage information of the device to the server motherboard. The storage information is the specific bandwidth information of the target bandwidth, etc., to identify the target bandwidth type according to the storage information. The configuration information of the device is allocated according to the target bandwidth type to complete the configuration requirements of the target bandwidth type of the device. The identification process here can be determined by feature extraction, or by analysis, identification and determination based on register information. The target bandwidth type of the present invention can be one or more, which is not limited here, but it is the same target bandwidth type at the same time; it includes multiple bandwidth types at different times, that is, it is compatible with multiple target bandwidth types on one expansion card.

[0096] An embodiment of the present invention provides a computer system, including an expansion card, the expansion card including a slot and a connector; the slot predefines configuration information corresponding to a target bandwidth type according to a first preset protocol; the connector is used to connect the slot to a server mainboard; the slot is connected to a corresponding device, and is used to send the storage information of the device to the server mainboard; the server mainboard is used to identify the target bandwidth type according to the storage information of the device, and allocate the configuration information corresponding to the device according to the target bandwidth type. The slot predefines the configuration information corresponding to the target bandwidth type according to the first preset protocol. The first preset protocol in the conventional bandwidth configuration has the limitation of only one bandwidth type, and its target bandwidth type can be set to different bandwidth types to improve the hardware compatibility of the expansion card. By setting the configuration information of each target bandwidth type, devices under different bandwidth types can share a set of expansion cards under the computer system, achieve compatibility with different target bandwidth types, and further achieve seamless compatibility of various network card types.

[0097] In some embodiments, Figure 2 As shown, the connector 2 is connected to the slot 4 in the expansion card 1 through the pad 3 of the welding wire.

[0098] Specifically, a wire bond pad is a flat metal area used to bond wires during the electronic assembly process. A wire bond pad is a specific location designed to be bonded to the pins or terminals of an electronic component. A wire bond pad can be round, square, or any other shape, and its size and shape depends on the pin size and shape of the component to be bonded. Figure 2 As shown, the wire pad is located between the connector and the slot. Each X8 bandwidth PCIE high-speed signal in the figure corresponds to an MCIO X8 connector.

[0099] The wire pad provided in this embodiment connects the connector and the slot, ensuring that data transmission is as short and direct as possible, which helps to reduce signal loss and interference.

[0100] In some embodiments, Figure 2 As shown, the connector 2 includes a male connector and a female connector; the male connector is located in the expansion card 1; the female connector is located in the server mainboard 10;

[0101] The server mainboard 10 is connected to the slot 4 of the expansion card 1 by plugging the female connector in the server mainboard 10 and the male connector in the expansion card 1 .

[0102] Specifically, Figure 2 As shown, two MCIO x8 connectors are used as an example, corresponding to the target bandwidth type connector 1' and the target bandwidth type connector 2'. A MCIO x8 connector male head can be plugged into the MCIOx8 connector female head of the server motherboard. The male and female connectors are connected through mechanical interlocking and electrical contact. When connected, the contact pieces of the male head are aligned and tightly combined with the contact pieces of the female head to form a closed circuit.

[0103] The male connector is usually referred to as a plug, which is designed to be inserted into the female connector. The male connector has protruding contacts (pins), which can be needle-shaped, cylindrical or other shapes. When connecting, the contacts of the male connector are inserted into the corresponding holes of the female connector to achieve electrical connection.

[0104] The female connector is usually referred to as a socket, which is designed to receive the male connector. The female connector has grooves or holes inside, which match the contacts of the male connector. The female connector is usually fixed to a device or panel, such as a Universal Serial Bus (USB) port on a computer motherboard, a wall socket, etc. The female connector is designed to make it easier to maintain a stable connection because it does not need to withstand the mechanical stress of frequent plugging and unplugging.

[0105] When designing a connector, you need to consider the shape, size, spacing, and material of the contacts to ensure reliable connection and signal transmission. You also need to consider the connector's locking mechanism, such as a snap, twist lock, or push-pull lock, to prevent the connection from accidentally disconnecting during use.

[0106] The female connector in this embodiment is located in the server mainboard, and the male connector is located in the expansion card. A plug-in connection is adopted to realize the slot connection between the server mainboard and the expansion card to ensure the interchangeability and flexibility between electronic devices.

[0107] In some embodiments, when the target bandwidth type is an NxM bandwidth type, the number of connectors is N, and the slot pins of the slots are respectively predefined with configuration information of the NxM bandwidth type; wherein N and M are positive integers.

[0108] Specifically, the number of connectors is N, and the corresponding slot pins will predefine N bandwidth type configuration information; for example: when the target bandwidth type is 2X8 bandwidth type, the number of connectors is 2, and the preset slot pins of the first preset protocol slot respectively predefine the configuration information of the 2X8 bandwidth type. When the target bandwidth type is 4X4 bandwidth type, the number of connectors is 4, and the preset slot pins of the first preset protocol slot respectively predefine the configuration information of the 4X4 bandwidth type. When the target bandwidth type is 1X8 bandwidth type or 1X4 bandwidth type, the number of connectors corresponds to 1, and the preset slot pins of the first preset protocol slot correspond to the predefined 1X8 bandwidth type or 1X4 bandwidth type configuration information.

[0109] In some embodiments, the slot pins of the slot include a reference clock pin, an independent reset pin, and a channel information pin corresponding to a target bandwidth type based on a first preset protocol.

[0110] Specifically, regardless of whether it is one target bandwidth type or multiple bandwidth types, the slot pins include a reference clock pin (CLK pin), an independent reset pin (RESET pin), and a channel information pin (PCIE_Gen pin) corresponding to the target bandwidth type based on the first preset protocol. When there are slot pins of multiple bandwidth types, they need to be defined in the reserved slot pins based on the slot, and the corresponding slot pins of different groups include the above three pin names.

[0111] In some embodiments, the number of devices is the same as the number of bandwidth types of the target bandwidth type.

[0112] It is understandable that when configuring corresponding devices, the number of bandwidth types of the target bandwidth types that need to be used is the same to ensure that the corresponding configuration information is stored.

[0113] The setting process of the target bandwidth type and the pin information of the slot pins provided in this embodiment ensure the universality and compatibility of the target bandwidth data within the same expansion card, thereby saving the occupied area of ​​the expansion card.

[0114] In some embodiments, Figure 2 As shown, the expansion card 1 also includes a first component 5 and a first processor 6;

[0115] The first component 5 is connected to the first processor 6 and is connected to the server mainboard 10;

[0116] The first processor 6 is connected to the socket 4 .

[0117] Specifically, the first component is a device component that can be replaced on site or at the user's location without the need for repair or replacement of the entire system. The first component is usually stored in a non-volatile storage, and information such as the product number and manufacturer can be obtained by reading the memory of the first component. Here, the storage information is obtained to facilitate subsequent maintenance and replacement operations.

[0118] The first processor is used to convert the signal into 4-way I2C signals, the first component is connected to the first processor, the first component is connected to the server mainboard, and the first processor is connected to the slot.

[0119] The relationship between the first component and the first processor provided in this embodiment facilitates the server mainboard to receive the storage information of the device stored by the first processor and identify the corresponding target bandwidth type.

[0120] In some embodiments, Figure 2 As shown, the expansion card also includes a connector 7;

[0121] The connector 7 is connected to the slot 4 .

[0122] Specifically, the connector is used to connect the interface or pin configuration required by the second preset protocol device, and can be a physical connector for the second preset protocol communication, including a data line and a clock line, etc. The second preset protocol is distinguished from the first preset protocol, and is used for data transmission, and its specific transmission bandwidth and other allocation information. The connector is connected to the slot. The connector can be an I2C header, and can also be a connector of other protocols.

[0123] It should be noted that the number of connectors is the same as the number of bandwidth types of the target bandwidth type. Figure 2In the example, two X8 target bandwidth types are used, which correspond to two connectors, connector 1' and connector 2'. For example, two I2C Headers are placed in the expansion card, which can be connected to the server motherboard through cables. When using a x16 bandwidth smart NIC or a common NIC, only one I2C Header needs to be connected. When using a 2x8 bandwidth smart NIC, two I2C Headers are connected to two server motherboards respectively.

[0124] In some embodiments, the connector 7 is also connected to the first processor 6 .

[0125] The connector is connected to the first processor, where the storage information is stored in the first processor so that the first processor can provide it to the server motherboard through the first component, that is, the devices exchange information through the second preset protocol to which the connector belongs, so as to facilitate subsequent power-on control logic and bandwidth allocation requirements.

[0126] In some embodiments, further comprising a second processor;

[0127] The second processor is connected to the socket and the connector and is connected to the first processor.

[0128] Specifically, Figure 2 As shown, the second processor 8 is connected to the slot 4 and the connector 7, and is connected to the first processor 6. The second processor plays an arbitration function and is converted to a dual-master I2C bus application design that requires high reliability. It has an intelligent arbitration function and can select a master as the winner when two masters compete for the use of the bus, so that it can complete the operation without interference, and the failed master takes over the bus control after the winning master completes the operation or the retention time expires. Software reset is also supported, allowing the master to send a reset command through the I2C bus. Reset the registers of the second processor to the power-on reset state. In addition, the device ID number (Identity Document, ID) of the second processor can be read by the master, including manufacturer, device type and version information. After an inactive period of more than 100 milliseconds, the second processor can automatically disconnect the downstream bus from the two masters to avoid bus lock.

[0129] The second processor also provides an interrupt output to indicate which master has control of the bus and which master has lost access to the downstream bus. In addition, the second processor also has bus initialization and recovery functions, allowing remote recovery when the I2C bus hangs.

[0130] In terms of electrical characteristics, the second processor supports voltage level conversion, allowing 1.8V, 2.3V, 2.5V and 3.3V devices to communicate with 3.3V devices without additional protection. In addition, all I / O pins of the processor are tolerant to 3.6V, and the design takes into account hot insertion and low on-resistance switches to support high data rate transmission.

[0131] Applications for the second processor include, but are not limited to, high reliability systems, I2C bus applications with dual masters, bus initialization and recovery, and allowing masters without arbitration logic to share resources.

[0132] The connection relationship of the second processor provided in this embodiment improves data transmission efficiency, avoids bus locking, and completes operations without interference.

[0133] It is understandable that the reserved slot pins are defined in Table 1 as the function table of the reserved pins. As shown in Table 1, the reserved pins A19, A32, A33, A50, and B82 marked in the PCIE CEM specification are redefined. On the basis of compatible specifications, the design goal of being compatible with 2X8 smart NICs, X16 smart NICs, and ordinary NICs is achieved. The latest function definitions of each pin, combined with Figure 2 , define its pins, and the differences with the PCIE CEM specification are listed in Table 1:

[0134] Table 1

[0135]

[0136] like Figure 2As shown, combined with Table 1, some newly predefined pin information is displayed, wherein the two pins A13 and A14 corresponding to the target bandwidth type connector 1' and the slot connection are used for the transmission of clock signals; the A11 pin is used for the reset signal of the target bandwidth type connector 1'; the two pins A32 and A33 corresponding to the target bandwidth type connector 2' and the slot connection are used for the transmission of clock signals; the A50 pin is used for the reset signal of the target bandwidth type connector 2'; the two pins B5 and B6 corresponding to the connector 1' and the slot connection are used for the transmission of the system management bus; the two pins A19 and B82 corresponding to the connector 2' and the slot connection are used for connecting the system management bus. An expansion card compatible with X16 and 2X8 bandwidth smart network cards and ordinary PCIE devices. The expansion card uses a solder wire pad. Each X8 bandwidth PCIE high-speed signal corresponds to an MCIO X8 connector male head, which can be plugged into the MCIO X8 connector female head of the server motherboard; two I2C Headers are placed in the expansion card, which can be connected to the server motherboard through cables. When using an X16 bandwidth smart network card or an ordinary network card, only one I2C Header needs to be connected. When using a 2X8 bandwidth smart network card, the two I2C Headers are connected to two server motherboards respectively.

[0137] The BMC and BIOS identify the memory of the adapter card through the I2C link and learn that the current adapter card is a specially defined adapter card. Then, the BMC and BIOS exchange information with the device behind the PCIE Slot through the I2C link to obtain whether the currently inserted device is a smart network card or a common network card. After identifying the device type, the BMC and BIOS inform the CPLD respectively, and the CPLD automatically selects the corresponding power-on control logic.

[0138] After BIOS communicates with the device behind the PCIE Slot, it confirms whether the device type is a x16 bandwidth smart network card, a 2x8 bandwidth smart network card, or a common smart network card, and automatically allocates the required PCIE bandwidth. When the subsequent device type is a x16 bandwidth smart network card or a common network card, BIOS allocates 1x16 bandwidth. When the device type is a 2x8 bandwidth smart network card, BIOS allocates 2x8 bandwidth to meet the PCIE bandwidth requirements of different devices.

[0139] In addition, Figure 1In the system, the voltage regulator (VR) inside the server motherboard supplies P12V power to the expansion card, and the corresponding P12V potential system is the power in the S0 state, that is, the power generated after the server motherboard is powered on. The S0 state here is the standard working state in the computer system. In this state, all components of the computer are in full operation and response, and users can use the computer normally for work and entertainment. The S5 state is called the "soft shutdown" state or the "completely shut down" state. It is a defined state in computer power management. It means that the computer has been completely shut down and does not consume power except for maintaining the real-time clock and other basic monitoring functions.

[0140] exist Figure 1 Only one state can be supported in the system. To solve this problem, in some embodiments of the present invention, Figure 2 As shown, the expansion card 1 also includes a power connector 9; the power signal of the power connector 9 includes a smart network card power supply signal and a common network card power supply signal;

[0141] The power connector 9 is connected to the slot 4 .

[0142] Specifically, the power signal of the power connector in this embodiment includes a smart network card power supply signal and a common network card power supply signal, which corresponds to the power supply signal for the common network card in the S0 state and the power supply signal for the smart network card in the S5 state. Figure 2 As shown, the three power signals of the power connector correspond to the three power signals of the connection slot, namely P12V_SNIC_STBY, P3V3_SNIC_STBY and P3V3_STBY.

[0143] The compatible power-on control logic in different states provided in this embodiment realizes the power supply requirements of the expansion card in different states.

[0144] In some embodiments, the device is a network card, and the bandwidth type of the network card includes an intelligent network card bandwidth type and a common network card bandwidth type; the expansion card also includes a first component and a first processor;

[0145] The first component is connected to the first processor and to the first controller in the server mainboard;

[0146] The first processor is connected to the socket;

[0147] The first controller is connected to the logic unit.

[0148] Specifically, when the device is a network card, the bandwidth type of the corresponding network card includes an intelligent network card bandwidth type and an ordinary network card bandwidth type; the expansion card also includes a first component and a first processor. The first component is connected to the first processor and is also connected to the first controller in the server motherboard, the first processor is connected to the slot, and the first controller is connected to the logic unit. It can be understood that the first controller and the logic unit identify the storage information of the device in the expansion card through the second preset protocol, and the first controller and the logic unit exchange information to identify what kind of network card the current device is. After identifying the device type, the first controller informs the logic unit, and the logic unit automatically selects the corresponding power-on control logic.

[0149] The conditional limitation of the power-on control logic provided in this embodiment realizes the compatibility of the power supply of the smart network card S5 and the power supply of the ordinary network card S0, and meets the requirement of the smart network card and the ordinary PCIE device sharing the same hardware design.

[0150] In addition, about Figure 2 The third resistor R3 is located between the power source Vcc and the first processor, the fourth resistor R4 is located between the connector and the ground, and the fifth resistor R5 is located between the connector and the ground.

[0151] Furthermore, the present invention also provides a bandwidth configuration method based on an expansion card, an expansion card of a computer system; the expansion card includes a slot and a connector, the slot predefines configuration information corresponding to a target bandwidth type according to a first preset protocol; the connector is used to connect the slot to a server motherboard; the slot is connected to a corresponding device; Figure 3 A flow chart of a bandwidth configuration method based on an expansion card provided by an embodiment of the present invention, such as Figure 3 As shown, the bandwidth configuration method includes:

[0152] S11: Obtain storage information of the device connected to the slot;

[0153] S12: Send the storage information to the server mainboard.

[0154] Specifically, the storage information of the device connected to the slot is obtained, and the storage information is sent to the server mainboard, so that the server mainboard can identify the target bandwidth type according to the storage information and subsequently allocate the corresponding configuration information. The identification process here can be the same as the conventional bandwidth configuration process, or it can be different, which is not limited here. The identification process here can be feature extraction, or it can be the identification of register information, etc.

[0155] The present embodiment provides a bandwidth configuration method based on an expansion card, which obtains storage information of a device connected by a slot; and sends the storage information to a server mainboard. The slot predefines configuration information corresponding to a target bandwidth type according to a first preset protocol. The first preset protocol in conventional bandwidth configuration has the limitation of only one bandwidth type. Its target bandwidth type can be set to different bandwidth types to improve the hardware compatibility of the expansion card. By setting the configuration information of each target bandwidth type, devices under different bandwidth types can share a set of expansion cards of the computer system, achieve compatibility with different target bandwidth types, and further achieve seamless compatibility of various network card types.

[0156] In some embodiments, the expansion card further includes a first component and a first processor; the first component is connected to the first processor and to the server mainboard; the first processor is connected to the slot; and obtaining storage information of a device connected to the slot includes:

[0157] The storage information of the device stored in the first component is obtained through the system management bus and the first processor.

[0158] like Figure 2 As shown, the storage information is obtained through the system management bus (SMBUS bus) and the first processor to facilitate the subsequent server motherboard to identify. The system management bus is a serial communication bus based on the I2C protocol, which is mainly used for the management and control of temperature, power supply voltage, fan monitoring, etc. in computer motherboards and embedded systems. The SMBUS protocol is a subset of the I2C protocol and has some specific functions and stricter requirements, such as fixed logic level thresholds, a maximum clock frequency of 100 kHz, a timeout function, and a packet error check (Packet Error Code, PEC).

[0159] Figure 4 A flow chart of another bandwidth configuration method based on an expansion card provided by an embodiment of the present invention, such as Figure 4 As shown, including:

[0160] S21: The system is plugged into the power supply;

[0161] S22: Power on and start up, the network card storage is powered on;

[0162] S23: The first controller reads the state of the network card memory and determines the type of the network card;

[0163] S24: Determine whether it is a smart network card; if so, proceed to step S25; if not, proceed to step S26;

[0164] S25: The first controller notifies the logic unit to control the power supply processor to supply power to the smart network card;

[0165] S26: The logic unit receives a power-on signal;

[0166] S27: Determine whether the network card power supply has been turned on; if so, proceed to step S28, if not, return to step S25;

[0167] S28: The first firmware reads the network card memory information;

[0168] S29: Determine whether it is a 2X8 bandwidth smart network card; if so, proceed to step S30; if not, proceed to step S31;

[0169] S30: The first firmware allocates 2X8 bandwidth;

[0170] S31: The first firmware allocates 1X16 bandwidth;

[0171] S32: System power-on is completed.

[0172] It can be understood that the first firmware of this embodiment can be a Basic Input Output System (BIOS) or other firmware; the first controller can be a BMC or other controller; the logic unit can be a CPLD or other logic unit, which is not limited here.

[0173] The power-on requirements in different states provided in this embodiment can be met at the same time, thereby achieving compatibility between the power supply of the smart network card S5 and the power supply of the ordinary network card S0.

[0174] Furthermore, the present invention also provides a bandwidth configuration method based on a server motherboard, which is applied to a server motherboard of a computer system. Figure 5 A schematic diagram of a bandwidth configuration method based on a server motherboard provided by an embodiment of the present invention is shown in FIG. Figure 5 As shown, the bandwidth configuration method includes:

[0175] S41: Acquire storage information of the device sent by the expansion card;

[0176] The expansion card includes a slot and a connector, wherein the slot predefines configuration information corresponding to the target bandwidth type according to a first preset protocol; the connector is used to connect the slot to the server motherboard; and the slot is connected to the corresponding device;

[0177] S42: Identify the target bandwidth type according to the storage information of the device;

[0178] S43: Allocate configuration information corresponding to the device according to the target bandwidth type.

[0179] In some embodiments, the expansion card further includes a power connector; the power signal of the power connector includes a smart network card power supply signal and a common network card power supply signal; the power connector is connected to the slot; the device is a network card, and the bandwidth type of the network card includes a smart network card bandwidth type and a common network card bandwidth type; the first component is further connected to a first controller in a server motherboard; the first controller is connected to the logic unit; before identifying the target bandwidth type according to the storage information of the device, it also includes:

[0180] The network card bandwidth type for reading the storage information of the device;

[0181] The power signal of the power connector in the expansion card is controlled to perform power supply processing according to the identified network card bandwidth type.

[0182] Specifically, by using the type and startup status of the network card as judgment conditions in the startup logic, the server system can be compatible with 1X16 bandwidth smart network cards, 2X8 bandwidth smart network cards and ordinary network cards. When the subsequent device is identified as a smart network card, the first controller informs the logic unit to launch P12V_SNIC_STBY in the system S5 state to meet the power supply requirements of the smart network card S5. If it is an ordinary network card device, the first controller informs the logic unit to launch P12V in the system S0 state to meet the power supply requirements of the ordinary network card S0.

[0183] The present embodiment provides a bandwidth configuration method based on a server motherboard, which obtains the storage information of the device sent by the expansion card; identifies the target bandwidth type according to the storage information of the device, and allocates the configuration information corresponding to the device according to the target bandwidth type. The slot predefines the configuration information corresponding to the target bandwidth type according to the first preset protocol. The first preset protocol in the conventional bandwidth configuration has the limitation of only one bandwidth type. Its target bandwidth type can be set to different bandwidth types to improve the hardware compatibility of the expansion card. By setting the configuration information of each target bandwidth type, devices under different bandwidth types can share a set of expansion cards of the computer system, achieve compatibility with different target bandwidth types, and further achieve seamless compatibility of various network card types.

[0184] The above describes in detail various embodiments corresponding to the bandwidth configuration method based on the expansion card. On this basis, the present invention also discloses a bandwidth configuration device based on the expansion card corresponding to the above method. Figure 6 A structural diagram of a bandwidth configuration device based on an expansion card provided by an embodiment of the present invention. An expansion card applied to a computer system; the expansion card includes a slot and a connector, the slot predefines configuration information corresponding to a target bandwidth type according to a first preset protocol; the connector is used to connect the slot to a server motherboard; the slot is connected to a corresponding device; such as Figure 6 As shown, the bandwidth configuration device based on the expansion card includes:

[0185] A first acquisition module 12, which acquires storage information of a device connected to the slot;

[0186] The sending module 13 is used to send the storage information to the server mainboard.

[0187] In some embodiments, the expansion card further includes a first component and a first processor; the first component is connected to the first processor and is connected to the basic input and output system of the server motherboard; the first processor is connected to the slot; the first acquisition module 12 includes:

[0188] The first acquisition submodule is used to acquire storage information of the device stored in the first component through the system management bus and the first processor.

[0189] The above describes in detail various embodiments corresponding to the bandwidth configuration method based on the server motherboard. On this basis, the present invention also discloses a bandwidth configuration device based on the server motherboard corresponding to the above method. Figure 7 A structural diagram of a bandwidth configuration device based on a server motherboard provided by an embodiment of the present invention. Applicable to a server motherboard of a computer system; Figure 7 As shown, the bandwidth configuration device based on the server motherboard includes:

[0190] The second acquisition module 14 is used to acquire the storage information of the device sent by the expansion card; wherein the expansion card includes a slot and a connector, the slot predefines the configuration information corresponding to the target bandwidth type according to the first preset protocol; the connector is used to connect the slot to the server motherboard; the slot is connected to the corresponding device;

[0191] An identification module 15, used to identify the target bandwidth type according to the storage information of the device;

[0192] The allocation module 16 is used to allocate configuration information corresponding to the device according to the target bandwidth type.

[0193] In some embodiments, the expansion card further includes a power connector; the power signal of the power connector includes a smart network card power supply signal and a common network card power supply signal; the power connector is connected to the slot; the device is a network card, and the bandwidth type of the network card includes a smart network card bandwidth type and a common network card bandwidth type; the first component is also connected to a baseboard management controller in a server motherboard; the baseboard management controller is connected to a complex programmable logic device; before the identification module 15, it also includes:

[0194] The reading submodule is used to read the network card bandwidth type of the storage information of the device;

[0195] The first control submodule is used to control the power signal of the power connector in the expansion card to perform power supply processing according to the identified network card bandwidth type.

[0196] Since the embodiments of the device part correspond to the above embodiments, please refer to the description of the embodiments of the method part for the embodiments of the device part, and will not be repeated here.

[0197] For an introduction to a device provided by the present invention, please refer to the above method embodiment, and the present invention will not be repeated here. It has the same beneficial effects as the above-mentioned bandwidth configuration method based on the expansion card or the bandwidth configuration method based on the server motherboard.

[0198] Figure 8 A structural diagram of a server provided in an embodiment of the present invention, such as Figure 8 As shown, including:

[0199] A memory 21, used for storing computer programs;

[0200] The processor 22 is used to implement the steps of the bandwidth configuration method based on the expansion card or the bandwidth configuration method based on the server mainboard when executing the computer program.

[0201] Among them, the processor 22 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 22 can be implemented in at least one hardware form of a digital signal processor (DSP), an FPGA, and a programmable logic array (PLA). The processor 22 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU; the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 22 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 22 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.

[0202] The memory 21 may include one or more computer-readable storage media, which may be non-transitory. The memory 21 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 21 is at least used to store the following computer program 211, wherein, after the computer program is loaded and executed by the processor 22, it can implement the relevant steps of the bandwidth configuration method based on the expansion card or the bandwidth configuration method based on the server motherboard disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 21 may also include an operating system 212 and data 213, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 212 may include Windows, Unix, Linux, etc. The data 213 may include but is not limited to the data involved in the bandwidth configuration method based on the expansion card or the bandwidth configuration method based on the server motherboard, etc.

[0203] In some embodiments, the server may further include a display screen 23 , an input / output interface 24 , a communication interface 25 , a power supply 26 , and a communication bus 27 .

[0204] Those skilled in the art can understand that Figure 8 The structure shown in the figure does not constitute a limitation on the server, and may include more or fewer components than shown in the figure.

[0205] The processor 22 calls the instructions stored in the memory 21 to implement the bandwidth configuration method based on the expansion card or the bandwidth configuration method based on the server mainboard provided in any of the above embodiments.

[0206] For an introduction to a server provided by the present invention, please refer to the above method embodiment, which will not be described in detail herein. It has the same beneficial effects as the above-mentioned bandwidth configuration method based on the expansion card or the bandwidth configuration method based on the server motherboard.

[0207] Furthermore, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by the processor 22, the steps of the above-mentioned bandwidth configuration method based on the expansion card or the bandwidth configuration method based on the server motherboard are implemented.

[0208] It is understandable that if the method in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium to execute all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0209] For an introduction to a computer-readable storage medium provided by the present invention, please refer to the above method embodiment, which will not be described in detail herein. It has the same beneficial effects as the above-mentioned bandwidth configuration method based on the expansion card or the bandwidth configuration method based on the server motherboard.

[0210] Furthermore, the present invention also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of a bandwidth configuration method based on an expansion card or a bandwidth configuration method for a server mainboard.

[0211] For an introduction to a computer program product provided by the present invention, please refer to the above method embodiment, which will not be described in detail herein. It has the same beneficial effects as the above-mentioned bandwidth configuration method based on the expansion card or the bandwidth configuration method based on the server motherboard.

[0212] The above is a detailed introduction to a computer system, bandwidth configuration method, product, server and medium provided by the present invention. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referenced to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the present invention.

[0213] It should also be noted that, in this specification, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

Claims

1. A computer system, characterized in that: An expansion card is included, wherein the expansion card includes a slot and a connector; The slot predefines configuration information corresponding to the target bandwidth type according to the first preset protocol; wherein the slot pins of the slot predefine configuration information of NxM bandwidth types respectively; N and M are positive integers; the slot pins of the slot include a reference clock pin, an independent reset pin and a channel information pin corresponding to the target bandwidth type based on the first preset protocol; the predefined target bandwidth type is listed in a slot manner based on configuration information of different target bandwidth types, and is at least one target bandwidth type; the specific process of predefinition adds the function definition of the pin to the reserved pin in the original slot according to the first preset protocol definition of the target bandwidth type to be compatible; the reserved pin marked in the card electrical-mechanical specification based on the high-speed serial computer expansion bus standard is predefined to be compatible with each target bandwidth type; The connector is used to connect the slot to the server mainboard; The slot is connected to a corresponding device and is used to send the storage information of the device to the server mainboard; The server mainboard is used to identify the target bandwidth type according to the storage information of the device, and allocate the configuration information corresponding to the device according to the target bandwidth type.

2. The computer system according to claim 1, characterized in that: The connector is connected to the slot in the expansion card through the pads of the welding wires.

3. The computer system according to claim 2, characterized in that: The connector includes a male connector and a female connector; the male connector is located in the expansion card; the female connector is located in the server mainboard; The server mainboard is connected to the slot of the expansion card by plugging the female connector in the server mainboard with the male connector in the expansion card.

4. The computer system according to claim 1, characterized in that: When the target bandwidth type is an NxM bandwidth type, the number of the connectors is N.

5. The computer system according to claim 4, characterized in that: The number of the devices is the same as the number of bandwidth types of the target bandwidth type.

6. The computer system according to claim 1, characterized in that: The expansion card also includes a first component and a first processor; The first component is connected to the first processor and to the server mainboard; The first processor is connected to the socket.

7. The computer system according to claim 6, characterized in that: The expansion card also includes a connector; The connector is connected to the slot.

8. The computer system according to claim 7, characterized in that: The connector is also connected to the first processor.

9. The computer system according to claim 8, characterized in that: The number of the connectors is the same as the number of bandwidth types of the target bandwidth type.

10. The computer system according to claim 9, characterized in that: Also including a second processor; The second processor is connected to the socket and the connector, and is connected to the first processor.

11. The computer system according to claim 1, characterized in that: The expansion card also includes a power connector; the power signal of the power connector includes a smart network card power supply signal and a common network card power supply signal; The power connector is connected to the slot.

12. The computer system according to claim 11, characterized in that: The device is a network card, and the bandwidth type of the network card includes an intelligent network card bandwidth type and a common network card bandwidth type; the expansion card also includes a first component and a first processor; The first component is connected to the first processor and to the first controller in the server motherboard; The first processor is connected to the slot; The first controller is connected to the logic unit.

13. A bandwidth configuration method based on an expansion card, characterized in that: An expansion card for a computer system; the expansion card comprises a slot and a connector, the slot predefines configuration information corresponding to a target bandwidth type according to a first preset protocol; wherein the slot pins of the slot predefine configuration information of NxM bandwidth types respectively; N and M are positive integers; the slot pins of the slot comprise a reference clock pin, an independent reset pin and a channel information pin corresponding to a target bandwidth type based on the first preset protocol; the predefined target bandwidth type is listed in a slot manner based on configuration information of different target bandwidth types, and is at least one target bandwidth type; the specific process of predefinition defines the target bandwidth type to be compatible with the reserved pins in the original slot according to the first preset protocol definition, and adds the function definition of the pins; the reserved pins marked in the card electrical-mechanical specification based on the high-speed serial computer expansion bus standard are predefined to be compatible with each target bandwidth type; the connector is used to connect the slot to a server motherboard; the slot is connected to a corresponding device; the bandwidth configuration method comprises: Acquire storage information of the device connected by the slot; The storage information is sent to the server mainboard.

14. The bandwidth configuration method based on the expansion card according to claim 13, characterized in that: The expansion card further includes a first component and a first processor; the first component is connected to the first processor and to the server mainboard; the first processor is connected to the slot; and obtaining storage information of the device connected to the slot includes: The storage information of the device stored in the first component is obtained through the system management bus and the first processor.

15. A bandwidth configuration method based on a server motherboard, characterized in that: Applied to a server motherboard of a computer system, the bandwidth configuration method comprises: Acquire storage information of a device sent by an expansion card; wherein the expansion card comprises a slot and a connector, wherein the slot predefines configuration information corresponding to a target bandwidth type according to a first preset protocol; the connector is used to connect the slot to the server motherboard; the slot is connected to a corresponding device; the slot pins of the slot predefine configuration information of NxM bandwidth types respectively; N and M are positive integers; the slot pins of the slot comprise a reference clock pin, an independent reset pin and a channel information pin corresponding to a target bandwidth type based on the first preset protocol; the predefined target bandwidth type is listed in a slot manner based on configuration information of different target bandwidth types, and is at least one target bandwidth type; the specific process of predefinition defines the target bandwidth type to be compatible with the reserved pins in the original slot according to the first preset protocol, and adds the function definition of the pins; the reserved pins marked in the card electrical-mechanical specification based on the high-speed serial computer expansion bus standard are predefined to be compatible with each target bandwidth type; identifying the target bandwidth type according to the storage information of the device; Configuration information corresponding to the device is allocated according to the target bandwidth type.

16. The bandwidth configuration method based on the server motherboard according to claim 15, characterized in that: The expansion card further includes a power connector; the power signal of the power connector includes a smart network card power supply signal and a common network card power supply signal; the power connector is connected to the slot; the device is a network card, and the bandwidth type of the network card includes a smart network card bandwidth type and a common network card bandwidth type; the first component is also connected to the first controller in the server motherboard; The first controller is connected to the logic unit; Before identifying the target bandwidth type according to the storage information of the device, the method further includes: Read the network card bandwidth type of the storage information of the device; The power signal of the power connector in the expansion card is controlled to perform power supply processing according to the identified network card bandwidth type.

17. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instruction is executed by the processor, the steps of the bandwidth configuration method based on the expansion card as described in claim 13 or 14 or the bandwidth configuration method based on the server motherboard as described in claim 15 or 16 are implemented.

18. A server, characterized in that: include: Memory for storing computer programs; A processor is used to implement the steps of the bandwidth configuration method based on the expansion card as described in claim 13 or 14 or the bandwidth configuration method based on the server motherboard as described in claim 15 or 16 when executing the computer program.

19. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the bandwidth configuration method based on the expansion card as claimed in claim 13 or 14 or the bandwidth configuration method based on the server motherboard as claimed in claim 15 or 16 are implemented.

Citation Information

Patent Citations

  • PCIE (Peripheral Component Interface Express) equipment, device and method for enabling same PCIE slot to be compatible with different PCIE bandwidths

    CN111752871A

  • OCP adapter card, adapter system and adapter method

    CN114003528A

  • Storage server and PCIe expansion system thereof

    CN115509981A

  • Server bandwidth allocation method and device, electronic equipment and storage medium

    CN116260725A