A PCIE device, an electronic device and a method for implementing NCSI characteristics

By introducing a network interface and NCSI link selector module into the PCIe device, an independently powered MAC unit is realized, solving the problems of high power consumption and heat dissipation in the PCIe device in shutdown mode, and realizing low-power NCSI function and silent heat dissipation.

CN117827717BActive Publication Date: 2026-03-20HENAN KUNLUN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-27
Publication Date
2026-03-20

AI Technical Summary

Technical Problem

Existing PCIe devices consume high power and have difficulty dissipating heat when maintaining NCSI functionality in shutdown mode, which necessitates modifications to the server's power supply logic and generates noise.

Method used

Design a PCIe device that uses a network interface link selector module and an NCSI link selector module. The NCSI interface provides power in the power-off state, enabling an independently powered MAC unit. This provides NCSI features, reduces power consumption, and eliminates the need for fan cooling.

Benefits of technology

NCSI functionality continues to be provided in shutdown mode with minimal power consumption of only 3 watts, eliminating the need for fan cooling, saving energy and producing no noise pollution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117827717B_ABST
    Figure CN117827717B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a PCIE device, comprising: the PCIE device comprises a network interface, a first MAC unit, a second MAC unit, a first switching unit, a second switching unit and an NCSI interface arranged on a circuit board; the network interface is connected with an external device; one end of the first switching unit is connected with the network interface, and the other end is connected with the first MAC unit and the second MAC unit; one end of the second switching unit is connected with the first MAC unit and the second MAC unit, and the other end is connected with the NCSI interface; when the PCIE device is in a normal working state, the first switching unit is used for turning on the network interface and the first MAC unit; the second switching unit is used for turning on the first MAC unit and the NCSI interface; when the PCIE device is in a power-off state, the NCSI interface supplies power for the second MAC unit, the first switching unit and the second switching unit; the first switching unit turns on the network interface and the second MAC unit, and the second switching unit turns on the second MAC unit and the NCSI interface.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the technical field of computer communication, and particularly relate to a PCIE device, an electronic device and a method for implementing NCSI characteristics. BACKGROUND

[0002] With the development of cloudification and virtualization technologies, servers / storage devices or storage devices need higher bandwidth, lower latency, safer network IO and storage IO processing. With the slowing down of Moore's Law, the CPU processing IO method cannot meet the customer and business development needs. Under this background, peripheral component interconnect express (PCIE) devices / cards, including data processing units (DPU), infrastructure processing units (IPU) or smart network interface cards (SNIC), cooperate with servers / storage devices to begin to undertake more and more data processing tasks and greatly reduce the pressure on CPUs. The baseboard manager controller (BMC) of the server / storage device is connected to the PCIE device / PCIE card through the network controller sideband interface (NCSI). The NCSI interface provides an out-of-band management network port for the BMC to connect to an external network.

[0003] In the field of computers, the S5 Shutdown mode is a mode in which all devices including power are completely turned off, i.e., a shutdown mode, and the power consumption is 0.

[0004] The server / storage device needs to use the NCSI interface to implement the NCSI function whether in a normal working state or in a shutdown mode. The PCIE device / card, including the DPU, IPU or SNIC, also needs to use the NCSI interface to implement the NCSI function. SUMMARY

[0005] To solve the above problems, embodiments of the present application provide a PCIE device and a method for implementing NCSI characteristics thereof.

[0006] In a first aspect, the present application provides a PCIE device, which comprises a network interface, a first MAC unit, a second MAC unit, a first switching unit, a second switching unit and an NCSI interface arranged on a circuit board; the network interface is connected with an external device; one end of the first switching unit is connected with the network interface, and the other end is connected with the first MAC unit and the second MAC unit; one end of the second switching unit is connected with the first MAC unit and the second MAC unit, and the other end is connected with the NCSI interface; the NCSI interface is connected with an NCSI power supply on a mainboard; when the PCIE device is in a normal working state, the first switching unit is used to turn on the network interface and the first MAC unit; the second switching unit is used to turn on the first MAC unit and the NCSI interface; when the PCIE device is in a power-off state, the NCSI interface supplies power for the second MAC unit, the first switching unit and the second switching unit; the first switching unit turns on the network interface and the second MAC unit, and the second switching unit turns on the second MAC unit and the NCSI interface. In this way, the second MAC unit in the embodiment of the present application is independent of the MAC unit and is separately powered by a power supply, and normal out-of-band management can be realized in a normal mode, a mode of being about to shut down or a mode of being shut down, and NCSI characteristics are provided; the design of the PCIE device provided in the embodiment of the present application has small power consumption, about 10 watts, and does not need to use a case fan for heat dissipation or a self-provided fan for heat dissipation. The power supply logic of a server / storage device does not need to be modified, energy is saved, and noise is not generated.

[0007] In some embodiments, the first switching unit at least comprises a first end, a second end and a third end, the first end is connected with the network interface, the second end is connected with the first MAC unit, and the third end is connected with the second MAC unit; in this way, the embodiment of the present application can connect the network interface and the second MAC unit to transmit the second data packet in the case that the first switching unit turns on the first end and the third end, realize network interface link two-selection, and can perform normal out-of-band management in two modes and provide NCSI characteristics.

[0008] In some embodiments, the network interface and the MAC unit are connected to transmit the first data packet in the case that the first end and the second end are electrically turned on; in this way, the embodiment of the present application can realize normal out-of-band management by using the network interface link two-selection module and provide service data transmission.

[0009] In some embodiments, the number of the first MAC units is multiple, the second end of the first switching unit comprises multiple first sub-ends, each first sub-end is connected with one first MAC unit, and the first end is connected with at least one of the multiple first sub-ends; in this way, the embodiment of the present application can connect the network interface and one of the multiple first MAC units to transmit the first data packet, and provide multi-path service data transmission.

[0010] In some embodiments, the number of the first MAC units is plural, and each of the first MAC units processes the first data packets with different service characteristics. In this way, the embodiments of the present application can connect different MAC units through the network interface link selection module to provide different service data transmission and exchange.

[0011] In some embodiments, the number of the first MAC units is plural, and each of the first MAC units processes the first data packets with different service characteristics. In this way, the embodiments of the present application can implement normal in-band management to provide multi-service data transmission.

[0012] In some embodiments, the second switching module includes at least a fourth end, a fifth end and a sixth end; the fourth end is connected to the first MAC unit, the fifth end is connected to the second MAC unit, and the sixth end is connected to the NCSI interface; in this way, the second MAC unit and the NCSI interface are connected to transmit the second data packets when the fifth end and the sixth end are electrically connected, and the embodiments of the present application can implement out-of-band management through the second MAC unit to achieve data transmission.

[0013] In some embodiments, the MAC unit and the NCSI interface are connected to transmit the first data packets when the fourth end and the sixth end are electrically connected. In this way, the embodiments of the present application can implement normal in-band management to achieve data transmission.

[0014] In some embodiments, the number of the first MAC units is plural, and the fourth end of the second switching unit includes a plurality of second sub-ends, each of which is connected to one of the MAC units; the sixth end is in communication with at least one of the second sub-ends. In this way, the embodiments of the present application can connect the NCSI interface and one of the first MAC units to transmit the first data packets, implement normal in-band management, and achieve multi-service data transmission.

[0015] In some embodiments, the PCIE device further includes a power supply module arranged on the circuit board, and when the PCIE device is in a power-off state, the power supply module is electrically connected to the NCSI power supply of the mainboard through the NCSI interface to supply power to the first switching unit, the second MAC unit and the second switching unit by using the NCSI power supply of the mainboard. In this way, the NCSI interface is used as a power supply interface to provide power in the shutdown mode.

[0016] In some embodiments, the PCIE device further includes a power supply module arranged on the circuit board and a backup interface, and when the PCIE device is in a power-off state, the power supply module is electrically connected to the backup power supply of the mainboard through the backup interface to supply power to the first switching unit, the second MAC unit and the second switching unit by using the backup power supply. In this way, the backup power supply is used to provide power in the shutdown mode.

[0017] In some embodiments, the PCIE device further comprises a power supply module and a PCIE interface arranged on the circuit board, when the PCIE device is in the normal working state, the power supply module is connected with the working power supply of the mainboard through the PCIE interface, and the working power supply is used to supply power for the first switching unit, the first MAC unit and the second switching unit. In this way, the working power supply is used to provide power in the normal working state.

[0018] In a second aspect, the application provides an electronic device, which comprises a mainboard, a baseboard management controller (BMC) and a PCIE device, the BMC is arranged on the mainboard, and the PCIE device is electrically connected with the BMC; the PCIE device comprises a network interface, a first MAC unit, a second MAC unit, a first switching unit, a second switching unit and an NCSI interface; the network interface is connected with an external device; one end of the first switching unit is connected with the network interface, and the other end is connected with the first MAC unit and the second MAC unit; one end of the second switching unit is connected with the first MAC unit and the second MAC unit, and the other end is connected with the NCSI interface; the NCSI interface is connected with an NCSI power supply on the mainboard; when the PCIE device is in the normal working state, the BMC controls the first switching unit to turn on the network interface and the first MAC unit, and controls the second switching unit to turn on the first MAC unit and the NCSI interface; when the PCIE device is in the power-off state, the NCSI interface supplies power for the second MAC unit, the first switching unit and the second switching unit, the BMC controls the first switching unit to turn on the network interface and the second MAC unit, and controls the second switching unit to turn on the second MAC unit and the NCSI interface. The beneficial effects are the same as those of the first aspect, and will not be repeated here.

[0019] In a third aspect, the application provides a method for realizing the NCSI feature, which is realized based on the electronic device of the second aspect, and the method comprises the following steps: obtaining power-off information of a power supply of a mainboard; controlling the first switching unit to turn on the network interface and the second MAC unit, and controlling the second switching unit to turn on the second MAC unit and the NCSI interface. The beneficial effects are the same as those of the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS

[0020] In order to more clearly illustrate the technical solutions of the multiple embodiments disclosed in the specification, the following will briefly introduce the drawings needed to be used in the embodiment description. Obviously, the drawings in the following description are only the multiple embodiments disclosed in the specification, and other drawings can also be obtained by those skilled in the art without any creative effort on the basis of these drawings.

[0021] The following will briefly introduce the drawings needed to be used in the embodiment or prior art description.

[0022] Figure 1 The PCIE device schematic diagram provided by the embodiments of the application is shown in the figure.

[0023] Figure 2 A power supply schematic diagram of a PCIE device provided for an embodiment of the present application;

[0024] Figure 3 A power supply schematic diagram of a PCIE device provided for an embodiment of the present application through a standby power supply;

[0025] Figure 4 An electronic device schematic diagram provided for an embodiment of the present application;

[0026] Figure 5 A flowchart of a method for implementing NCSI characteristics provided for an embodiment of the present application. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described below with reference to the drawings.

[0028] In the description of the embodiments of the present application, the words “exemplary”, “for example”, or “for instance” are used to mean serving as an example, instance or illustration. Any embodiment or design solution described as “exemplary”, “for example” or “for instance” in the embodiments of the present application should not be interpreted as being more advantageous or preferred than other embodiments or design solutions. In fact, the use of the words “exemplary”, “for example” or “for instance” is intended to present the relevant concept in a specific manner.

[0029] In the description of the embodiments of the present application, the term “and / or” merely describes an association relationship of associated objects, and means that three relationships can exist, for example, A and / or B can mean that three cases of A existing alone, B existing alone and A and B existing simultaneously. In addition, unless otherwise specified, the term “multiple” means two or more. For example, multiple systems mean two or more systems, and multiple terminals mean two or more terminals.

[0030] In addition, the terms “first” and “second” are used only for descriptive purposes, and should not be construed as indicating or implying relative importance or implicitly indicating the indicated technical features. Therefore, the features defined with “first” and “second” can explicitly or implicitly include one or more of the features. The terms “include”, “contain”, “have” and their variants mean “including but not limited to”, unless otherwise specifically emphasized.

[0031] In the description of the embodiments of the present application, "some embodiments" are related to a subset of all possible embodiments, but it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict.

[0032] In the description of the embodiments of the present application, the terms "first, second, third, etc." or modules A, B, C, etc. are used only to distinguish similar objects, and do not represent a specific order of the objects. It can be understood that the specific order or sequence can be interchanged as permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0033] Out-of-band management refers to the transmission of management control data and user service data information of the server / storage device on different links, i.e. management link and service link. The connection modes of the two links are as follows: the terminal connects the management network port or serial port of the server / storage device to manage the server / storage device; the server / storage device connects the service network port to transmit service data. The two links are independent of each other.

[0034] NCSI is an industry standard for network controller of sideband interface defined by distributed management task force (DMTF) to support out-of-band management of server / storage device. NCSI defines the electrical properties and communication protocol of the out-of-band interface between the management controller and the network controller inside the server / storage device.

[0035] PCIE device is a card with PCIE interface, which is used as an expansion port in connection. Specifically, the PCIE-based expansion card can be inserted into the PCIE slot in the mainboard of devices such as host, server / storage device, storage device and network switch. Most computer mainboards have dedicated PCIE slots corresponding to PCIE devices / cards.

[0036] The PCIE device described in the embodiments of the present application includes but is not limited to DPU card, IPU card, SNIC card, acceleration card, etc.

[0037] The media access control (Medium Access Control, MAC) unit is used to realize the switching and transmission of the packet according to the MAC source address and MAC destination address in the information packet header of the data packet.

[0038] In the description of the embodiments of the present application, the labels representing steps, such as S110, S120, etc., do not necessarily mean that the steps are executed in this order, and the order of the steps can be interchanged or executed simultaneously as permitted.

[0039] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to be limiting of this application.

[0040] The first scheme provides a method for powering PCIE devices in the shutdown mode by modifying the power supply logic of an electronic device. The electronic device can be a server, a host or other storage device, etc. In this embodiment, the electronic device is taken as a server for example. Generally, a server includes a shell, a mainboard, a CPU, a fan, a PCIE card; the mainboard is provided with a CPU, a DPU, an IPU and a PCIE slot; the PCIE slot can be inserted with a PCIE card or a SNIC card. In the case that the server is in the shutdown mode, these CPU, DPU, IPU or PCIE card, SNIC card and other PCIE devices need to continue to provide NCSI function to maintain work, in which case, the power supply logic circuit on the server mainboard needs to be greatly modified.

[0041] Since the power consumption of the existing PCIE device is generally large, from tens of watts to more than 100 watts, it will heat up in the maintenance work. In order to solve the problem of heat dissipation, the fan in the shell of the host is usually set to run continuously to dissipate heat for the PCIE device, so the power supply logic circuit of the fan on the mainboard also needs to be greatly modified to meet the use of the case fan for heat dissipation in the shutdown mode.

[0042] In addition, the first scheme will consume more electric energy for the PCIE device to maintain work and keep good heat dissipation in the shutdown mode; the heat dissipation process produces noise pollution.

[0043] The second scheme provides a method for PCIE devices to actively dissipate heat using self-fan. In the case that the server is in the shutdown mode, the power supply logic on the server mainboard can be modified to power the PCIE device, and at the same time, in order to solve the problem of heat dissipation, a fan is set on the PCIE device to actively dissipate heat using self-fan.

[0044] The second scheme also has the problems of great modification of the power supply logic on the server mainboard, waste of energy and noise.

[0045] It should be understood that the server is in the shutdown mode, and the PCIE device of the external device is not powered. In the case that the server is in the shutdown mode or other reasons cause the PCIE device connected thereto to be powered off, the PCIE device of the external device needs to realize the NCSI feature, and the power supply logic of the server needs to be greatly modified.

[0046] To solve the above problems, the embodiment of the present application provides a PCIE device which can continue to provide NCSI function when a server or other device is in shutdown mode or power-off shutdown caused by other reasons.

[0047] Figure 1 The PCIE device provided by the embodiment of the present application is shown in the schematic diagram. As shown in the figure, the PCIE device 10 is provided with a network interface 11, a network interface link two-way selection module 12, a MAC unit 13, an NCSI special MAC unit 14, an NCSI link two-way selection module 15 and an NCSI interface 16. The network interface link two-way selection module 12 can be recorded as a first switching unit, the MAC unit 13 can be recorded as a first MAC unit, the NCSI special MAC unit 14 can be recorded as a second MAC unit, and the NCSI link two-way selection module 15 can be recorded as a second switching unit. Figure 1

[0048] The network interface 11 is connected with an external device; one end of the network interface link two-way selection module 12 is connected with the network interface 11, and the other end is connected with the MAC unit 13 and the NCSI special MAC unit 14; one end of the NCSI link two-way selection module 15 is connected with the MAC unit 13 and the NCSI special MAC unit 14, and the other end is connected with the NCSI interface 16; the NCSI interface 16 is connected with an NCSI power supply on a mainboard; when the PCIE device is in normal working state, the network interface link two-way selection module 12 is used to turn on the network interface 11 and the MAC unit 13; the NCSI link two-way selection module 15 is used to turn on the MAC unit 13 and the NCSI interface 16.

[0049] When the PCIE device is in power-off state, the NCSI interface 16 supplies power for the NCSI special MAC unit 14, the network interface link two-way selection module 12 and the NCSI link two-way selection module 15; the network interface link two-way selection module 12 turns on the network interface 11 and the NCSI special MAC unit 14, and the NCSI link two-way selection module 15 turns on the NCSI special MAC unit 14.

[0050] The network interface 11 performs network communication and transmits first data packets and / or second data packets; the first data packets include data in the normal working state of the PCIE device, and the second data packets include NCSI data in the shutdown mode of the server.

[0051] In some embodiments, the first data packets and / or the second data packets are sent by an external network communication device and input into the PCIE device 10 through the network interface 11.

[0052] In some embodiments, the first data packets and / or the second data packets are sent by the PCIE device 10 and output to an external network communication device through the network interface 11. In some embodiments, the first data packets and / or the second data packets are sent by the PCIE device 10 and output to an external network communication device through the network interface 11.

[0053] The network interface link selector module 12 connects the network interface 11 and the MAC unit 13 to transmit the first data packet, and / or connects the network interface 11 and the NCSI dedicated MAC unit 14 to transmit the second data packet.

[0054] In some embodiments, the network interface link two-to-one module 12 includes a first end, a second end, and a third end, wherein the first end is connected to the network interface 11, the second end is connected to the MAC unit 13, and the third end is connected to the NCSI dedicated MAC unit 14.

[0055] In some embodiments, when the first end and the third end are connected, the network interface 11 and the NCSI dedicated MAC unit 14 are connected to transmit the second data packet.

[0056] In some embodiments, when the first and second ends are electrically connected, the network interface 11 and the MAC unit 13 are connected to transmit the first data packet.

[0057] In some embodiments, there are multiple MAC units 13, and the second end of the network interface link two-to-one module 12 includes multiple first sub-ends, each of which is connected to a MAC unit 13. When the first end is connected to at least one of the multiple first sub-ends, the network interface 11 and at least one of the multiple MAC units 13 are connected to transmit a first data packet.

[0058] The other end of MAC unit 13 module is connected to NCSI link two-to-one module 15.

[0059] In some embodiments, there are multiple MAC units 13, wherein one end of each MAC unit 13 is connected to the network interface link selector module 12, and the other end of each MAC unit 13 is connected to the NCSI link selector module 15, and each MAC unit processes a first data packet with different service characteristics.

[0060] In some embodiments, each of the plurality of MAC units 13 may exchange and transmit the first data packet according to the source address and destination address in a certain information packet header of the first data packet.

[0061] The NCSI dedicated MAC unit 14 processes the second data packet according to the NCSI configuration features.

[0062] In some embodiments, one end of the NCSI dedicated MAC unit 14 is connected to the network interface link selector module 12, and the other end of the NCSI dedicated MAC unit 14 is connected to the NCSI link selector module 15.

[0063] The NCSI link selection module 15 connects the MAC unit 13 with the NCSI interface 16 to transmit the first data packet, and / or connects the NCSI dedicated MAC unit 14 with the NCSI interface 16 to transmit the second data packet.

[0064] The NCSI link selection module 15 includes at least a fourth end, a fifth end and a sixth end; the fourth end is connected with the MAC unit 13, the fifth end is connected with the NCSI dedicated MAC unit 14, and the sixth end is connected with the NCSI interface 16; when the fifth end and the sixth end are in electrical communication, the NCSI dedicated MAC unit 14 is connected with the NCSI interface 16 to transmit the second data packet.

[0065] In some embodiments, when the fourth end and the sixth end are in electrical communication, the MAC unit 13 is connected with the NCSI interface 16 to transmit the first data packet.

[0066] In some embodiments, the number of MAC units 13 can be multiple, the fourth end of the NCSI link selection module 15 includes multiple second sub-ends, each second sub-end is connected with one MAC unit, and when the sixth end is in communication with any one of the multiple second sub-ends, the NCSI interface 16 is connected with one of the multiple MAC units 13 to transmit the first data packet.

[0067] The NCSI interface 16 is connected with the mainboard of the server and exchanges and transmits the first data packet and / or the second data packet with the mainboard of the server.

[0068] In some embodiments, in the normal working state of the PCIE device, the network interface link selection module 12 switches on the network interface 11 and the MAC unit 13 in response to the control instruction issued by the mainboard, and the NCSI link selection module 15 switches on the MAC unit 13 and the NCSI interface 16 in response to the control instruction issued by the mainboard to transmit and exchange the first data packet.

[0069] The first data packet and / or the second data packet can be transmitted bidirectionally between the NCSI interface 16 and the server. Exemplarily, the transmission path of the first data is as follows:

[0070] Network interface First switching unit First MAC unit Second switching unit NCSI interface

[0071] Or: NCSI interface Second switching unit First MAC unit Second switching unit Network interface

[0072] In some embodiments, in the normal working state of the PCIE device, the network interface link two-way switching module 12 turns on the network interface 11 and the NCSI special MAC unit 14 in response to the control instruction issued by the mainboard, and the NCSI link two-way switching module 15 turns on the NCSI special MAC unit 14 and the NCSI interface 16 in response to the control instruction issued by the mainboard, so as to transmit the second data packet.

[0073] Exemplarily, the transmission path of the second data is: the network interface The first switching unit The second MAC unit The second switching unit The NCSI interface

[0074] Or: the NCSI interface The second switching unit The second MAC unit The first switching unit The network interface.

[0075] In some embodiments, the NCSI interface 16 can provide power supply.

[0076] In some embodiments, in the power-off state of the PCIE device, the NCSI interface 16 can introduce the NCSI power supply dedicated to the BMC on the mainboard to supply power to the network interface link two-way switching module, the NCSI special MAC unit 14 and the NCSI link two-way switching module 15; the network interface link two-way switching module 12 turns on the network interface 11 and the NCSI special MAC unit 14 in response to the control instruction, and the NCSI link two-way switching module turns on the second MAC unit and the NCSI interface in response to the control instruction, so as to continue to transmit the second data packet.

[0077] In some embodiments, the PCIE device further comprises a power supply module 17, which utilizes the external NCSI power supply or standby power supply to supply power to the network interface link two-way switching module 12, the NCSI special MAC unit 14 and the NCSI link two-way switching module 15 in the power-off state of the PCIE device. In the power-off state of the PCIE device, the external NCSI power supply or standby power supply is converted into a required power supply, thereby maintaining the NCSI function.

[0078] The standby power supply, i.e. the uninterruptible power supply, is a system device that connects a battery to a server and converts direct current into commercial power supply through a module circuit such as a host inverter. It is mainly used to provide stable and uninterrupted power supply for a single computer, a computer network system or other power electronic devices (such as solenoid valves, pressure transmitters, etc.).

[0079] The power supply module 17 uses two or more power supply inputs simultaneously, one of which is powered by the NCSI power supply provided by the BMC of the mainboard through the NCSI interface 16 or by the standby power supply through the standby interface, and the other is powered by the working power supply provided by the mainboard through the PCIE slot. As long as any one of the above two power supplies is normal, it can work normally and realize the NCSI function.

[0080] The output end of the power supply module 17 is connected with the NCSI special MAC unit 14, the network interface link two selection module 12 and the NCSI link two selection module 15 respectively, and the input end is connected with the NCSI interface 16 or the standby interface.

[0081] It should be noted that the PCIE device in the normal working state is the state that the working power supply of the mainboard normally supplies power to the PCIE device, and the PCIE device in the power-off state is the state that the working power supply of the mainboard cannot supply power to the PCIE device.

[0082] Figure 2 The PCIE device provided by the embodiment of the application is powered through the NCSI interface. As shown in Figure 2 In the PCIE device power-off state, the power supply module 17 is electrically connected with the NCSI interface, an auxiliary power supply is introduced, and the auxiliary power supply is used to supply power to the network interface link two selection module 12, the second MAC unit 14 and the NCSI link two selection module 15. In order to transmit the second data packet according to the control instruction issued by the mainboard BMC in the PCIE device power-off state.

[0083] The external power supply includes the NCSI power supply or the standby power supply provided by the BMC module of the mainboard of the server.

[0084] Figure 3 The PCIE device provided by the embodiment of the application is powered through the standby power supply. As shown in Figure 3 In the PCIE device power-off state, the power supply module 17 is electrically connected with the standby power supply of the server, and the standby power supply is used to supply power to the network interface link two selection module 12, the second MAC unit 14 and the NCSI link two selection module 15. In order to transmit the second data packet according to the control instruction issued by the mainboard in the PCIE device power-off state.

[0085] In some embodiments, in the PCIE device power-off state, the network interface link two selection module 12 and the NCSI link two selection module 15 are switched to the NCSI special MAC module 14 according to the control instruction to transmit the second data packet.

[0086] The PCIE device provided by the embodiment of the present application can solve the power supply and heat dissipation problem of the card when the card works as a whole in order to use the NCSI feature of the PCIE peripheral such as the DPU card in the power-off state of the prior art.

[0087] When the server / storage and the like switches from the normal working state to the shutdown mode, or the PCIE device connected thereto is in the power-off state due to other reasons, the PCIE device provided by the embodiment of the present application can continue to provide the NCSI service function, and the power consumption of the PCIE peripheral is extremely small at this time, which can be only 3 watts, and the chassis fan cooling or self-fan cooling is not needed.

[0088] Figure 4 A structural schematic diagram of an electronic device provided by the embodiment of the present application is shown in FIG. 1. Figure 4 As shown in the figure, it comprises a mainboard 50, a baseboard management controller (BMC) module 52 and a PCIE device 10, the BMC module 52 is arranged on the mainboard 50, and the PCIE device 10 is electrically connected with the BMC module 52; the PCIE device 10 comprises a network interface 11, a MAC unit 13, an NCSI special MAC unit 14, a network interface link two-choice module 12, an NCSI link two-choice module 15 and an NCSI interface 16; the network interface 11 is connected with an external device; one end of the network interface link two-choice module 12 is connected with the network interface 11, and the other end is connected with the MAC unit 13 and the NCSI special MAC unit 14; one end of the NCSI link two-choice module 15 is connected with the MAC unit 13 and the NCSI special MAC unit 14, and the other end is connected with the NCSI interface 16; the NCSI interface 16 is connected with the NCSI power supply on the mainboard; when the PCIE device is in the normal working state, the BMC module 52 controls the network interface link two-choice module 12 to turn on the network interface 11 and the MAC unit 13, and controls the NCSI link two-choice module 15 to turn on the MAC unit 13 and the NCSI interface 16; when the PCIE device is in the power-off state, the NCSI interface 16 supplies power to the NCSI special MAC unit 14, the network interface link two-choice module 12 and the NCSI link two-choice module 15, the BMC module 52 controls the network interface link two-choice module 12 to turn on the network interface 11 and the NCSI special MAC unit 14, and controls the NCSI link two-choice module 15 to turn on the NCSI special MAC unit 14 and the NCSI interface 16.

[0089] In some embodiments, the PCIE plug 18 of the PCIE device 10 is electrically connected with the PCIE slot 53 on the mainboard; the NCSI interface 16 of the PCIE device 10 is connected with the NCSI interface 51 on the mainboard; when the server is about to be shut down and the PCIE device is in the power-off state, the NCSI power supply of the NCSI interface 51 supplies power to the PCIE device; the BMC module 52 on the mainboard sends a control instruction to the PCIE device through the I2C bus, and the PCIE device controls the network interface link two-choice module 12 to turn on the network interface 11 and the NCSI special MAC unit 14, and controls the NCSI link two-choice module 15 to turn on the NCSI special MAC unit 14 and the NCSI interface 16.2 The C bus is transmitted to the network interface link selection module 12, the NCSI link selection module 15, the NCSI dedicated MAC unit 14 and / or the power supply module 17; the PCIE device 10 switches the network interface link selection module 12 and the NCSI link selection module 15 to the NCSI dedicated MAC unit 14 at the same time according to the control instruction, so that the PCIE device 10 continues to transmit the second data packet, and NCSI data transmission is realized.

[0090] Figure 5 A flowchart of a method for realizing the NCSI characteristic is provided for the embodiment of the present application. As shown in the figure, the method is realized based on the above electronic device, and includes the following steps. Figure 5 S51, the BMC acquires power supply off information of the mainboard; and S52, the BMC controls the first switching unit to turn on the network interface and the second MAC unit, and controls the second switching unit to turn on the second MAC unit and the NCSI interface. The power supply of the mainboard is the working power supply of the mainboard.

[0091] In some embodiments, before the power supply off information of the mainboard is acquired in step S51, the method further includes the following steps S501-S502 for transmitting service data by the PCIE device.

[0092] S501, in the normal working state of the PCIE device, the network interface link selection module 12 turns on the network interface 11 and the MAC unit 13 in response to the instruction of the BMC, and the NCSI link selection module 15 turns on the MAC unit 13 and the NCSI interface 16 in response to the control instruction of the mainboard.

[0093] S502, a first data packet is transmitted; wherein the first data packet includes data in the normal working state.

[0094] In some embodiments, in step S51, the normal working state of the PCIE device can be determined according to the state that the working power supply of the mainboard obtained by the BMC normally supplies power to the PCIE device.

[0095] For example, the power-off state of the PCIE device can be obtained according to the state that the working power supply of the mainboard obtained by the BMC is about to be powered off and cannot supply power to the PCIE device.

[0096] For example, the power-off state of the PCIE device can be determined according to the state that the working power supply of the mainboard obtained by the BMC cannot supply power to the PCIE device.

[0097] In some embodiments, step S52 can further include the following steps S521-S522.

[0098] S521, in the case that the working power supply of the mainboard is about to be powered off, the BMC issues a first instruction, the first instruction is used to instruct the network interface link two-selection module 12 to turn on the network interface 11 and the NCSI special MAC unit 14, and the NCSI link two-selection module 15 turns on the NCSI special MAC unit 14 and the NCSI interface 16 in response to the control instruction of the BMC.

[0099] S522, before the PCIE device is powered off, the network interface link two-selection module 12 turns on the network interface 11 and the NCSI special MAC unit 14 in response to the first instruction, the NCSI link two-selection module 15 turns on the NCSI special MAC unit 14 and the NCSI interface 16 in response to the control instruction of the BMC, and the second data packet is transmitted.

[0100] In some embodiments, the step S52 can further include steps S523-S524.

[0101] S523, in the case that the working power supply of the mainboard is powered off and cannot supply power to the PCIE device, the BMC issues a first instruction, the first instruction is used to instruct the network interface link two-selection module 12 to turn on the network interface 11 and the NCSI special MAC unit 14, and the NCSI link two-selection module 15 turns on the NCSI special MAC unit 14 and the NCSI interface 16 in response to the control instruction of the BMC.

[0102] S524, in the case that the PCIE device is powered off, the network interface link two-selection module 12 turns on the network interface 11 and the NCSI special MAC unit 14 in response to the control first instruction, the NCSI link two-selection module 15 turns on the NCSI special MAC unit 14 and the NCSI interface 16 in response to the control instruction of the BMC, and the second data packet is transmitted.

[0103] In some embodiments, the PCIE device further includes a power supply module 17 arranged on the circuit board, and the method further includes steps S53-S54.

[0104] S53, in the case that the working power supply of the mainboard is about to be powered off, the BMC issues a second instruction, the second instruction is used to instruct the power supply module 17 to switch to the NCSI power supply or the standby power supply.

[0105] S54, the power supply module 17 switches to the NCSI power supply or the standby power supply to supply power to the network interface link two-selection module 12, the NCSI special MAC unit 14, and the NCSI link two-selection module 15 in response to the second instruction.

[0106] In some embodiments, in the case that the PCIE device is in a normal working state, the method further includes steps S55-S56.

[0107] S55, in the case of obtaining normal power supply of the working power supply of the mainboard, the BMC issues a third instruction, and the third instruction is used to instruct the power supply module 17 to switch to the working power supply.

[0108] S56, the power supply module 17 switches to supply power to the network interface link two selection module 12, the MAC unit 13, and the NCSI link two selection module 15 in response to the third instruction.

[0109] Embodiment 1

[0110] Embodiment 1 of the present application provides a method for a PCIE device to realize NCSI characteristics, comprising:

[0111] S21, the network interface link two selection module 12 switches to turn on the NCSI special MAC unit 14 in response to the control instruction of the mainboard;

[0112] S22, the NCSI link two selection module 15 switches to turn on the NCSI special MAC unit 14 in response to the control instruction of the mainboard;

[0113] S23, the NCSI special MAC unit 14 is used to transmit a second data packet carrying control information between the management controller and the network controller inside the server, and the control information is the electrical properties and communication protocol of the out-of-band interface between the management controller and the network controller inside the server.

[0114] S24, the power supply module 17 switches to the NCSI power supply or the standby power supply to supply power to the NCSI special MAC unit 14, the network interface link two selection module 12, the NCSI link two selection module 15, and the like in response to the control instruction of the mainboard, and continues to provide the NCSI characteristics.

[0115] When the server, storage, and the like are switched from the normal working state to the shutdown mode, or other reasons cause the PCIE device connected thereto to be in the power-off state, the method for a PCIE device to realize NCSI characteristics provided in Embodiment 1 of the present application can continue to provide the NCSI service function, the power consumption of the PCIE device is small, and it is also unnecessary to use the case fan for heat dissipation or the self-fan for heat dissipation.

[0116] Embodiment 2

[0117] Embodiment 1 of the present application provides a method for a PCIE device to realize NCSI characteristics, comprising:

[0118] S31, in the case that the server and the like are about to enter the shutdown mode, the BMC of the server transmits an I 2The C bus sends a control instruction to the PCIE device.

[0119] In S32, the PCIE device controls the network interface link two-way module 12 and the NCSI link two-way module 15 to switch to the NCSI special MAC unit 14 simultaneously according to the control instruction, so that the PCIE device continues to provide the NCSI feature for the server and other devices.

[0120] In S33, the power supply module 17 switches to the NCSI power supply or the standby power supply to supply power to the NCSI special MAC unit 14, the network interface link two-way module 12, the NCSI link two-way module 15, and the like, so as to continue to provide the NCSI feature. Of course, in other embodiments, the power supply module 17 can also switch according to whether the access power supply has power. For example, if the power supply of the mainboard has no power supply to the power supply module 17, the power supply module 17 is powered by the NCSI power supply or the standby power supply.

[0121] Those skilled in the art can appreciate that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether the functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of the present application.

[0122] In addition, various aspects or features of the embodiments disclosed herein can be implemented as methods, apparatuses, or articles of manufacture using standard programming and / or engineering techniques. The term "article of manufacture" used in the present application encompasses a computer program accessible from any computer-readable device, carrier, or media. For example, the computer-readable medium can include, but is not limited to, magnetic storage devices (e.g., hard disk, floppy disk, or magnetic tape), optical storage devices (e.g., compact disk (CD), digital versatile disk (DVD), etc.), smart cards, and flash memory devices (e.g., erasable programmable read-only memory (EPROM), card, stick, or key drive, etc.). In addition, the various storage media described herein can represent one or more devices and / or other machine-readable media for storing information. The term "machine-readable medium" can include, but is not limited to, wireless channels and various other media capable of storing, containing, and / or carrying instructions and / or data.

[0123] It should be understood that the size of the sequence number of each process described above does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the application.

[0124] Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

[0125] In several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or other forms.

[0126] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, that is, they can be located in one place, or can be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.

[0127] If the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application essentially or the parts that contribute to the prior art or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a plurality of instructions to make a computer device (which can be a personal computer, a server, or an access network device, etc.) execute all or part of the steps of the method described in each embodiment of the present application. The foregoing storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and various program codes that can be stored in the medium.

[0128] The above merely describes the specific implementation of the embodiments of the present application, but the protection scope of the embodiments of the present application is not limited thereto, any person skilled in the art can easily think of changes or replacements within the technical range disclosed by the embodiments of the present application, which should be covered in the protection scope of the embodiments of the present application.

Claims

1. A PCIe device for rapid interconnection of peripheral components, characterized in that, The PCIe device includes a network interface, a first media access control (MAC) unit, a second MAC unit, a first switching unit, a second switching unit, and a network controller sideband interface (NCSI) on a circuit board; the first / second MAC unit is used to exchange and transmit data packets based on the MAC source address and MAC destination address in the data packets; The network interface is connected to an external device; one end of the first switching unit is connected to the network interface, and the other end is connected to the first MAC unit and the second MAC unit; one end of the second switching unit is connected to the first MAC unit and the second MAC unit, and the other end is connected to the NCSI interface; the NCSI interface is connected to the NCSI power supply on the motherboard. The first and second data packets are transmitted bidirectionally between the NCSI interface and the server; When the PCIe device is in normal working condition, the first switching unit is used to switch the network interface and the first MAC unit in response to the control command issued by the motherboard. The second switching unit is used to switch the first MAC unit and the NCSI interface in response to the control command issued by the motherboard, so as to transmit and exchange the first data packet; When the PCIe device is operating normally, the transmission path of the first data packet is: Network interface First switching unit First MAC Unit Second switching unit NCSI interface; Or: NCSI interface Second switching unit First MAC Unit Second switching unit Network interface; The first MAC unit is multiple, and the first switching unit is connected to multiple first MAC units. The connection network interface and at least one of the multiple first MAC units transmit the first data packet. Each first MAC unit transmits and exchanges the first data packet. The first data packet includes data with different service characteristics. Before the PCIe device is powered off, the first switching unit is used to respond to the first instruction to turn on the network interface and the second MAC unit, and the second switching unit is used to respond to the first instruction to turn on the second MAC unit and the NCSI interface. The NCSI interface supplies power to the second MAC unit, the first switching unit and the second switching unit to transmit the second data packet. The second data packet includes NCSI data in the server shutdown mode. The transmission path of the second data packet is: network interface. First switching unit Second MAC Unit Second switching unit NCSI interface; Or: NCSI interface Second switching unit Second MAC Unit First switching unit Network interface.

2. The PCIe device according to claim 1, characterized in that, The first switching unit includes at least a first end, a second end, and a third end. The first end is connected to the network interface, the second end is connected to the first MAC unit, and the third end is connected to the second MAC unit.

3. The PCIe device according to claim 2, characterized in that, The second end of the first switching unit includes a plurality of first sub-ends, each of which is connected to one of the first MAC units, and the first end is connected to at least one of the plurality of first sub-ends.

4. The PCIe device according to claim 1, characterized in that, The second switching unit includes at least a fourth terminal, a fifth terminal, and a sixth terminal; wherein the fourth terminal is connected to the first MAC unit, the fifth terminal is connected to the second MAC unit, and the sixth terminal is connected to the NCSI interface.

5. The PCIe device according to claim 4, characterized in that, The fourth terminal of the second switching unit includes a plurality of second sub-terminals, each of which is connected to a MAC unit; the sixth terminal is connected to at least one of the plurality of second sub-terminals.

6. The PCIe device according to any one of claims 1-5, characterized in that, The PCIe device also includes a power supply module disposed on the circuit board. When the PCIe device is in a power-off state, the power supply module is connected to the NCSI power supply of the motherboard through the NCSI interface, and supplies power to the first switching unit, the second MAC unit and the second switching unit through the NCSI power supply of the motherboard.

7. The PCIe device according to claim 6, characterized in that, The PCIe device also includes a spare interface on the circuit board. When the PCIe device is in a power-off state, the power supply module is electrically connected to the backup power supply of the motherboard through the spare interface, and supplies power to the first switching unit, the second MAC unit and the second switching unit through the backup power supply.

8. The PCIe device according to any one of claims 1-5, characterized in that, The PCIe device also includes a power supply module and a PCIe interface disposed on the circuit board. When the PCIe device is in normal working condition, the power supply module is connected to the motherboard's power supply through the PCIe interface, and the power supply provides power to the first switching unit, the first MAC unit and the second switching unit.

9. An electronic device, the electronic device comprising a motherboard, a baseboard management controller (BMC), and a PCIe device, wherein the BMC is disposed on the motherboard, and the PCIe device is electrically connected to the BMC; The PCIe device includes a network interface, a first MAC unit, a second MAC unit, a first switching unit, a second switching unit, and an NCSI interface; The network interface is connected to an external device; one end of the first switching unit is connected to the network interface, and the other end is connected to the first MAC unit and the second MAC unit; one end of the second switching unit is connected to the first MAC unit and the second MAC unit, and the other end is connected to the NCSI interface; the NCSI interface is connected to the NCSI power supply on the motherboard. The first and second data packets are transmitted bidirectionally between the NCSI interface and the server; When the PCIe device is in normal working condition, the BMC controls the first switching unit to turn on the network interface and the first MAC unit, and controls the second switching unit to turn on the first MAC unit and the NCSI interface, so as to transmit and exchange the first data packet; When the PCIe device is operating normally, the transmission path of the first data packet is: Network interface First switching unit First MAC Unit Second switching unit NCSI interface; Or: NCSI interface Second switching unit First MAC Unit Second switching unit Network interface; The first MAC unit is multiple, and the first switching unit is connected to multiple first MAC units. The connection network interface and at least one of the multiple first MAC units transmit the first data packet. Each first MAC unit transmits and exchanges the first data packet. The first data packet includes data with different service characteristics. Before the PCIe device is powered off The first switching unit is used to activate the network interface and the second MAC unit in response to a first instruction. The second switching unit is used to activate the second MAC unit and the NCSI interface in response to the first instruction. The NCSI interface supplies power to the second MAC unit, the first switching unit, and the second switching unit to transmit the second data packet. The second data packet includes NCSI data in server shutdown mode. The transmission path of the second data packet is: network interface. First switching unit Second MAC Unit Second switching unit NCSI interface; Or: NCSI interface Second switching unit Second MAC Unit First switching unit Network interface.

10. A method for implementing NCSI characteristics, based on the electronic device as described in claim 9, characterized in that, The method includes: Obtain the power supply failure information of the motherboard; The first switching unit is controlled to connect the network interface and the second MAC unit, and the second switching unit is controlled to connect the second MAC unit and the NCSI interface.

Citation Information

Patent Citations

  • NCSI network card power supply system

    CN110649694A

  • Device and method for automatically adjusting whether NCSI is started or not

    CN113687706A